Searched refs:tweak (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/ |
D | aes_alt.c | 197 mbedtls_aes_init( &ctx->tweak ); in mbedtls_aes_xts_init() 206 mbedtls_aes_free( &ctx->tweak ); in mbedtls_aes_xts_free() 271 ret = mbedtls_aes_setkey_enc( &ctx->tweak, key2, key2bits ); in mbedtls_aes_xts_setkey_enc() 296 ret = mbedtls_aes_setkey_enc( &ctx->tweak, key2, key2bits ); in mbedtls_aes_xts_setkey_dec() 509 unsigned char tweak[16]; in mbedtls_aes_crypt_xts() local 529 ret = mbedtls_aes_crypt_ecb( &ctx->tweak, MBEDTLS_AES_ENCRYPT, in mbedtls_aes_crypt_xts() 530 data_unit, tweak ); in mbedtls_aes_crypt_xts() 545 memcpy( prev_tweak, tweak, sizeof( tweak ) ); in mbedtls_aes_crypt_xts() 546 mbedtls_gf128mul_x_ble( tweak, tweak ); in mbedtls_aes_crypt_xts() 550 tmp[i] = input[i] ^ tweak[i]; in mbedtls_aes_crypt_xts() [all …]
|
D | aes_alt.h | 70 mbedtls_aes_context tweak; /*!< The AES context used for tweak member
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/ |
D | aes_alt.h | 55 mbedtls_aes_context tweak; /*!< The AES context used for tweak member
|