Searched refs:MBEDTLS_AES_ENCRYPT (Results 1 – 5 of 5) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/ |
D | aes_alt.c | 318 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_ecb() 381 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cbc() 514 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_xts() 529 ret = mbedtls_aes_crypt_ecb( &ctx->tweak, MBEDTLS_AES_ENCRYPT, in mbedtls_aes_crypt_xts() 623 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cfb128() 635 ret = mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, iv, iv); in mbedtls_aes_crypt_cfb128() 649 ret = mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, iv, iv); in mbedtls_aes_crypt_cfb128() 680 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cfb8() 688 ret = mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, iv, iv); in mbedtls_aes_crypt_cfb8() 698 if (mode == MBEDTLS_AES_ENCRYPT) { in mbedtls_aes_crypt_cfb8() [all …]
|
/trusted-firmware-m-3.4.0/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() 183 if (((MBEDTLS_AES_ENCRYPT == mode) && (CRYPTO_DIRECTION_ENCRYPT != aesCtx->dir)) || in mbedtls_aes_crypt_ecb() 238 if (MBEDTLS_AES_ENCRYPT != mode && MBEDTLS_AES_DECRYPT != mode) in mbedtls_aes_crypt_cbc() 252 if (((MBEDTLS_AES_ENCRYPT == mode) && (CRYPTO_DIRECTION_ENCRYPT != aesCtx->dir)) || in mbedtls_aes_crypt_cbc() 423 return( mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, input, output) ); in mbedtls_internal_aes_encrypt()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/ |
D | aes_alt.h | 16 #define MBEDTLS_AES_ENCRYPT 1 /**< AES encryption. */ macro
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/cpak_generator/ |
D | cpak_generator.c | 106 rc = mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_ENCRYPT, state_hash, seed_buf); in generate_seed() 111 rc = mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_ENCRYPT, state_hash + 16, in generate_seed()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
D | run_integration_aes.c | 301 …RUNIT_ASSERT_API(mbedtls_aes_crypt_cbc(&ctx, MBEDTLS_AES_ENCRYPT, sizeof(buf), iv, buf, buf) == 0); in runIt_aesCbcTest() 369 RUNIT_ASSERT_API(mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_ENCRYPT, buf, buf) == 0); in runIt_aesEcbTest()
|