Home
last modified time | relevance | path

Searched refs:aes_ctx (Results 1 – 3 of 3) sorted by relevance

/reactos/dll/3rdparty/mbedtls/
H A Dctr_drbg.c102 mbedtls_aes_free( &ctx->aes_ctx ); in mbedtls_ctr_drbg_free()
130 mbedtls_aes_context aes_ctx; in block_cipher_df() local
140 mbedtls_aes_init( &aes_ctx ); in block_cipher_df()
164 if( ( ret = mbedtls_aes_setkey_enc( &aes_ctx, key, MBEDTLS_CTR_DRBG_KEYBITS ) ) != 0 ) in block_cipher_df()
186 … if( ( ret = mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, chain, chain ) ) != 0 ) in block_cipher_df()
203 if( ( ret = mbedtls_aes_setkey_enc( &aes_ctx, tmp, MBEDTLS_CTR_DRBG_KEYBITS ) ) != 0 ) in block_cipher_df()
212 if( ( ret = mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, iv, iv ) ) != 0 ) in block_cipher_df()
220 mbedtls_aes_free( &aes_ctx ); in block_cipher_df()
281 if( ( ret = mbedtls_aes_setkey_enc( &ctx->aes_ctx, tmp, MBEDTLS_CTR_DRBG_KEYBITS ) ) != 0 ) in ctr_drbg_update_internal()
425 mbedtls_aes_init( &ctx->aes_ctx ); in mbedtls_ctr_drbg_seed()
[all …]
H A Dpem.c230 mbedtls_aes_context aes_ctx; in pem_aes_decrypt() local
234 mbedtls_aes_init( &aes_ctx ); in pem_aes_decrypt()
239 if( ( ret = mbedtls_aes_setkey_dec( &aes_ctx, aes_key, keylen * 8 ) ) != 0 ) in pem_aes_decrypt()
241 ret = mbedtls_aes_crypt_cbc( &aes_ctx, MBEDTLS_AES_DECRYPT, buflen, in pem_aes_decrypt()
245 mbedtls_aes_free( &aes_ctx ); in pem_aes_decrypt()
/reactos/sdk/include/reactos/libs/mbedtls/
H A Dctr_drbg.h206 mbedtls_aes_context aes_ctx; /*!< The AES context. */ member