Searched refs:aes_ctx (Results 1 – 4 of 4) sorted by relevance
/mbedtls-development/library/ |
A D | ctr_drbg.c | 75 mbedtls_aes_free( &ctx->aes_ctx ); in mbedtls_ctr_drbg_free() 134 mbedtls_aes_context aes_ctx; in block_cipher_df() local 145 mbedtls_aes_init( &aes_ctx ); in block_cipher_df() 166 if( ( ret = mbedtls_aes_setkey_enc( &aes_ctx, key, in block_cipher_df() 189 if( ( ret = mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, in block_cipher_df() 207 if( ( ret = mbedtls_aes_setkey_enc( &aes_ctx, tmp, in block_cipher_df() 217 if( ( ret = mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, in block_cipher_df() 226 mbedtls_aes_free( &aes_ctx ); in block_cipher_df() 290 if( ( ret = mbedtls_aes_setkey_enc( &ctx->aes_ctx, tmp, in ctr_drbg_update_internal() 451 mbedtls_aes_init( &ctx->aes_ctx ); in mbedtls_ctr_drbg_seed() [all …]
|
A D | pem.c | 200 mbedtls_aes_context aes_ctx; in pem_aes_decrypt() local 204 mbedtls_aes_init( &aes_ctx ); in pem_aes_decrypt() 209 if( ( ret = mbedtls_aes_setkey_dec( &aes_ctx, aes_key, keylen * 8 ) ) != 0 ) in pem_aes_decrypt() 211 ret = mbedtls_aes_crypt_cbc( &aes_ctx, MBEDTLS_AES_DECRYPT, buflen, in pem_aes_decrypt() 215 mbedtls_aes_free( &aes_ctx ); in pem_aes_decrypt()
|
/mbedtls-development/tests/suites/ |
A D | test_suite_aes.function | 364 mbedtls_aes_context aes_ctx; 370 mbedtls_aes_crypt_ecb( &aes_ctx, invalid_mode, in, out ) ); 374 mbedtls_aes_crypt_cbc( &aes_ctx, invalid_mode, 16, 390 mbedtls_aes_crypt_cfb128( &aes_ctx, invalid_mode, 16, 393 mbedtls_aes_crypt_cfb8( &aes_ctx, invalid_mode, 16, 406 mbedtls_aes_context aes_ctx; 419 TEST_ASSERT( mbedtls_aes_crypt_cbc( &aes_ctx, MBEDTLS_AES_ENCRYPT, 423 TEST_ASSERT( mbedtls_aes_crypt_cbc( &aes_ctx, MBEDTLS_AES_ENCRYPT, 442 TEST_ASSERT( mbedtls_aes_crypt_cfb128( &aes_ctx, MBEDTLS_AES_ENCRYPT, 16, 449 TEST_ASSERT( mbedtls_aes_crypt_ofb( &aes_ctx, 16, &size, out, in, out )
|
/mbedtls-development/include/mbedtls/ |
A D | ctr_drbg.h | 193 mbedtls_aes_context MBEDTLS_PRIVATE(aes_ctx); /*!< The AES context. */
|
Completed in 6 milliseconds