-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] MbedTLS integration (MbedTLS as a git submodule) #4
base: master
Are you sure you want to change the base?
Commits on Mar 1, 2024
-
mbedtls: add mbedtls as a submodule
Add mbedtls as a submodule. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 0b7514c - Browse repository at this point
Copy the full SHA 0b7514cView commit details
Commits on Apr 9, 2024
-
mbedtls: switch mbedtls to v3.6.0
Take mbedtls LTS release from tag v3.6.0 Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 0691089 - Browse repository at this point
Copy the full SHA 0691089View commit details -
makefile: add git submodule init and update
Retrieve all git submodules before building Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for bfb965d - Browse repository at this point
Copy the full SHA bfb965dView commit details
Commits on Apr 10, 2024
-
mbedtls: add mbedtls into the build system
Port mbedtls with dummy libc header files. Add mbedtls default config header file. Add mbedtls kbuild makefile. Add Kconfig and mbedtls config submenu. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for c860f61 - Browse repository at this point
Copy the full SHA c860f61View commit details -
makefile: apply MbedTLS patches
Apply MbedTLS patch if any exist before building. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for ee056b7 - Browse repository at this point
Copy the full SHA ee056b7View commit details -
arm: EFI linker script text section alignment
Add text section alignment to fix sbsign signing warning 'gaps in the section table may result in different checksums' which causes a failure of efi_image_verify_diges() Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for fd7e575 - Browse repository at this point
Copy the full SHA fd7e575View commit details -
test: py: add sudo for virt-make-fs
Fix a permission issue when running virt-make-fs Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 8964813 - Browse repository at this point
Copy the full SHA 8964813View commit details -
image: remove redundant hash includes
Remove the redundant includes of u-boot/md5.h, u-boot/sha1.h, u-boot/sha256.h and u-boot/sha512.h Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for e33c1ca - Browse repository at this point
Copy the full SHA e33c1caView commit details -
efi_loader: remove redundant hash includes
Remove the redundant includes of u-boot/sha1.h, u-boot/sha256.h and u-boot/sha512.h Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 4e3da37 - Browse repository at this point
Copy the full SHA 4e3da37View commit details -
Create a hash shim layer on top of mbedtls crypto library. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for a4b7669 - Browse repository at this point
Copy the full SHA a4b7669View commit details -
hash: integrate hash on mbedtls
Integrate common/hash.c on the hash shim layer so that hash APIs from mbedtls can be leveraged by boot/image and efi_loader. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for dc76327 - Browse repository at this point
Copy the full SHA dc76327View commit details -
makefile: add mbedtls include directories
Add the mbedtls include directories into the build system. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 69839e3 - Browse repository at this point
Copy the full SHA 69839e3View commit details -
efi_loader: switch sha256 to mbedtls
When MBEDTLS_LIB_CRYPTO is enabled, use the APIs of sha256 from hash shim layer instead. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 4a1a070 - Browse repository at this point
Copy the full SHA 4a1a070View commit details -
image: switch sha256 to mbedtls
When MBEDTLS_LIB_CRYPTO is enabled, use the APIs of sha256 from hash shim layer instead. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for ef01167 - Browse repository at this point
Copy the full SHA ef01167View commit details -
mbedtls: add PKCS7 parser patches for MBedTLS
Added patches for MBedTLS PKCS7 parser to support MicroSoft Authenticate Code with Authenticate Attributes. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 67dba44 - Browse repository at this point
Copy the full SHA 67dba44View commit details -
mbedtls: add MbedTLS patch to support multiple certs
Add mbedtls patch to support multiple signer's certs in the signed data within a PKCS7 message. Update the related MbedTLS test suites. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for acc848f - Browse repository at this point
Copy the full SHA acc848fView commit details -
lib/crypto: Port public_key on MbedTLS
Integrate function public_key_verify_signature on top of MbedTLS pk library. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for fbf5173 - Browse repository at this point
Copy the full SHA fbf5173View commit details -
lib/crypto: Port x509_cert_parser on MbedTLS
Integrate x509_cert_parser on top of MbedTLS x509 library. Add API x509_populate_cert and x509_populate_pubkey for code reusability between x509 and pkcs7 parsers. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for d741390 - Browse repository at this point
Copy the full SHA d741390View commit details -
lib/crypto: port PKCS7 parser on MbedTLS
Integrate PKCS7 parser on top of MbedTLS PKCS7 library. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 663b601 - Browse repository at this point
Copy the full SHA 663b601View commit details -
lib/crypto: port MSCode parser on MbedTLS
Integrate MicroSoft Authenticate Code parser on top of MbedTLS ASN.1 decoder. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for a7ba247 - Browse repository at this point
Copy the full SHA a7ba247View commit details -
lib/crypto: remove dependence on ASN1 decoder
When building with MbedTLS, we are using MbedTLS to decode ASN1 data for x509, pkcs7 and mscode. So we can remove the dependence on ASN1 decoder when MBEDTLS_LIB_X509 is enabled. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for e769617 - Browse repository at this point
Copy the full SHA e769617View commit details -
mbedtls: disable the unused features
Disable the unused features of MbedTLS to reduce the target size. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for cc87af2 - Browse repository at this point
Copy the full SHA cc87af2View commit details -
configs: enable MbedTLS as default setting
Enable MbedTLS as default setting for qemu arm64 Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for f2deb7e - Browse repository at this point
Copy the full SHA f2deb7eView commit details