mirror of
https://github.com/espressif/mbedtls.git
synced 2026-06-05 21:14:47 +00:00
feat(mbedtls): adds mbedtls pre built files
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user