Merge pull request #8124 from yanrayw/support_cipher_encrypt_only

Support the negative option MBEDTLS_BLOCK_CIPHER_NO_DECRYPT
This commit is contained in:
Dave Rodgman
2023-11-23 17:43:00 +00:00
committed by GitHub
27 changed files with 494 additions and 121 deletions

View File

@@ -44,6 +44,13 @@ int main(void)
"MBEDTLS_CTR_DRBG_C and/or MBEDTLS_SHA1_C not defined.\n");
mbedtls_exit(0);
}
#elif defined(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT)
int main(void)
{
mbedtls_printf("MBEDTLS_BLOCK_CIPHER_NO_DECRYPT defined.\n");
mbedtls_exit(0);
}
#else