Searched refs:MBEDTLS_AES_DECRYPT (Results 1 – 5 of 5) sorted by relevance
| /trusted-firmware-m-latest/platform/ext/target/stm/common/hal/accelerator/ |
| D | aes_alt.c | 317 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_ecb() 332 if (mode == MBEDTLS_AES_DECRYPT) { /* AES decryption */ in mbedtls_aes_crypt_ecb() 380 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_cbc() 412 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cbc() 513 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_xts() 536 if( leftover && ( mode == MBEDTLS_AES_DECRYPT ) && blocks == 0 ) in mbedtls_aes_crypt_xts() 568 unsigned char *t = mode == MBEDTLS_AES_DECRYPT ? prev_tweak : tweak; in mbedtls_aes_crypt_xts() 622 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_cfb128() 630 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cfb128() 679 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_cfb8() [all …]
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
| D | aes_alt.c | 175 if (MBEDTLS_AES_ENCRYPT != mode && MBEDTLS_AES_DECRYPT != mode) in mbedtls_aes_crypt_ecb() 184 ((MBEDTLS_AES_DECRYPT == mode) && (CRYPTO_DIRECTION_DECRYPT != aesCtx->dir))) in mbedtls_aes_crypt_ecb() 238 if (MBEDTLS_AES_ENCRYPT != mode && MBEDTLS_AES_DECRYPT != mode) in mbedtls_aes_crypt_cbc() 253 ((MBEDTLS_AES_DECRYPT == mode) && (CRYPTO_DIRECTION_DECRYPT != aesCtx->dir))) in mbedtls_aes_crypt_cbc() 449 return( mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_DECRYPT, input, output) ); in mbedtls_internal_aes_decrypt()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/ |
| D | aes_alt.h | 17 #define MBEDTLS_AES_DECRYPT 0 /**< AES decryption. */ macro
|
| /trusted-firmware-m-latest/interface/include/mbedtls/ |
| D | aes.h | 40 #define MBEDTLS_AES_DECRYPT 0 /**< AES decryption. */ macro
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
| D | run_integration_aes.c | 321 …RUNIT_ASSERT_API(mbedtls_aes_crypt_cbc(&ctx, MBEDTLS_AES_DECRYPT, sizeof(buf), iv, buf, buf) == 0); in runIt_aesCbcTest() 385 RUNIT_ASSERT_API(mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_DECRYPT, buf, buf) == 0); in runIt_aesEcbTest()
|