mirror of https://github.com/wolfSSL/wolfBoot.git
The wolfSSL bump to master 4aa1ad7a5 wraps all of coding.h in "#ifndef NO_CODING". That block also holds the auto-enable that turns WOLFSSL_KEY_GEN into WOLFSSL_BASE64_ENCODE, so wolfBoot configurations that set both WOLFSSL_KEY_GEN (SECURE_PKCS11) and NO_CODING lost the Base64_Encode() declaration -- and coding.c compiles to nothing under NO_CODING, so the definition is gone too. settings.h still derives WOLFSSL_DER_TO_PEM from WOLFSSL_KEY_GEN, so asn.c kept compiling wc_DerToPemEx() and failed with an implicit declaration of Base64_Encode(). This broke every TrustZone and PKCS11 target. wolfBoot never emits PEM, so define WOLFSSL_NO_DER_TO_PEM whenever NO_CODING is set rather than pulling base64 back in. The check sits after the HAVE_FIPS block, which may undef NO_CODING. wolfTPM's wc_DerToPem() callers are themselves guarded by WOLFSSL_DER_TO_PEM, so they simply drop their optional PEM encoding path. Separately, the update grows wolfboot by 8-136 bytes depending on the configuration, so re-measure every test-size-all entry with the CI container and record the new sizes. |
||
|---|---|---|
| .. | ||
| MPLAB | ||
| wolfboot | ||
| x86 | ||
| c2000_stdint.h | ||
| ddr_cadence.h | ||
| delta.h | ||
| disk.h | ||
| disk_fs.h | ||
| elf.h | ||
| encrypt.h | ||
| ext4.h | ||
| fat32.h | ||
| fdt.h | ||
| gpt.h | ||
| gzip.h | ||
| hal.h | ||
| hal_fpga.h | ||
| hooks.h | ||
| image.h | ||
| keystore.h | ||
| loader.h | ||
| multiboot.h | ||
| otp_keystore.h | ||
| pci.h | ||
| printf.h | ||
| sdhci.h | ||
| spi_drv.h | ||
| spi_flash.h | ||
| stage2_params.h | ||
| target.h.in | ||
| tpm.h | ||
| uart_drv.h | ||
| uart_flash.h | ||
| ubootenv.h | ||
| user_settings.h | ||
| wolfboot_efi.h | ||
| wolfboot_smc.h | ||