Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Dctr_drbg.c86 mbedtls_aes_init( &ctx->aes_ctx ); in mbedtls_ctr_drbg_seed_entropy_len()
97 mbedtls_aes_setkey_enc( &ctx->aes_ctx, key, MBEDTLS_CTR_DRBG_KEYBITS ); in mbedtls_ctr_drbg_seed_entropy_len()
123 mbedtls_aes_free( &ctx->aes_ctx ); in mbedtls_ctr_drbg_free()
150 mbedtls_aes_context aes_ctx; in block_cipher_df() local
159 mbedtls_aes_init( &aes_ctx ); in block_cipher_df()
183 mbedtls_aes_setkey_enc( &aes_ctx, key, MBEDTLS_CTR_DRBG_KEYBITS ); in block_cipher_df()
202 mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, chain, chain ); in block_cipher_df()
216 mbedtls_aes_setkey_enc( &aes_ctx, tmp, MBEDTLS_CTR_DRBG_KEYBITS ); in block_cipher_df()
222 mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, iv, iv ); in block_cipher_df()
227 mbedtls_aes_free( &aes_ctx ); in block_cipher_df()
[all …]
Dpem.c187 mbedtls_aes_context aes_ctx; in pem_aes_decrypt() local
190 mbedtls_aes_init( &aes_ctx ); in pem_aes_decrypt()
194 mbedtls_aes_setkey_dec( &aes_ctx, aes_key, keylen * 8 ); in pem_aes_decrypt()
195 mbedtls_aes_crypt_cbc( &aes_ctx, MBEDTLS_AES_DECRYPT, buflen, in pem_aes_decrypt()
198 mbedtls_aes_free( &aes_ctx ); in pem_aes_decrypt()
/net-tools-latest/mbedtls-2.4.0/programs/aes/
Daescrypt2.c88 mbedtls_aes_context aes_ctx; in main() local
100 mbedtls_aes_init( &aes_ctx ); in main()
276 mbedtls_aes_setkey_enc( &aes_ctx, digest, 256 ); in main()
296 mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, buffer, buffer ); in main()
378 mbedtls_aes_setkey_dec( &aes_ctx, digest, 256 ); in main()
395 mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_DECRYPT, buffer, buffer ); in main()
447 mbedtls_aes_free( &aes_ctx ); in main()
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dctr_drbg.h97 mbedtls_aes_context aes_ctx; /*!< AES context */ member