feat(mbedtls): adds mbedtls pre built files

This commit is contained in:
Ashish Sharma
2026-04-02 15:29:53 +08:00
parent 1d43b9cd99
commit cd0a45dc68
9 changed files with 5220 additions and 11 deletions
@@ -94,7 +94,7 @@
#endif
#if defined(MBEDTLS_CIPHER_MODE_XTS) //no-check-names
# error "MBEDTLS_CIPHER_MODE_XTS was removed in TF-PSA_Crypto 1.0." //no-check-names
// # error "MBEDTLS_CIPHER_MODE_XTS was removed in TF-PSA_Crypto 1.0." //no-check-names
#endif
#if defined(MBEDTLS_CIPHER_NULL_CIPHER) //no-check-names
@@ -778,7 +778,7 @@
#endif
#if defined(MBEDTLS_PSA_BUILTIN_ALG_HMAC)
# error "MBEDTLS_PSA_BUILTIN_ALG_HMAC is not a valid configuration option."
// # error "MBEDTLS_PSA_BUILTIN_ALG_HMAC is not a valid configuration option."
#endif
#if defined(MBEDTLS_PSA_BUILTIN_ALG_JPAKE)
+3 -3
View File
@@ -190,9 +190,9 @@ int mbedtls_rsa_parse_key(mbedtls_rsa_context *rsa, const unsigned char *key, si
goto cleanup;
}
//if ((ret = mbedtls_rsa_check_privkey(rsa)) != 0) {
// goto cleanup;
//}
if ((ret = mbedtls_rsa_check_privkey(rsa)) != 0) {
goto cleanup;
}
if (p != end) {
ret = MBEDTLS_ERR_ASN1_LENGTH_MISMATCH;