Searched refs:ctx_enc (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/ |
D | crypto_internal-cipher.c | 27 void *ctx_enc; member 65 ctx->u.aes.ctx_enc = aes_encrypt_init(key, key_len); in crypto_cipher_init() 66 if (ctx->u.aes.ctx_enc == NULL) { in crypto_cipher_init() 72 aes_encrypt_deinit(ctx->u.aes.ctx_enc); in crypto_cipher_init() 123 aes_encrypt(ctx->u.aes.ctx_enc, ctx->u.aes.cbc, in crypto_cipher_encrypt() 234 aes_encrypt_deinit(ctx->u.aes.ctx_enc); in crypto_cipher_deinit()
|
D | crypto_mbedtls.c | 386 mbedtls_cipher_context_t ctx_enc; member 476 if (crypto_init_cipher_ctx(&ctx->ctx_enc, cipher_info, iv, key, in crypto_cipher_init() 500 ret = mbedtls_cipher_update(&ctx->ctx_enc, plain, len, crypt, &olen); 505 ret = mbedtls_cipher_finish(&ctx->ctx_enc, crypt + olen, &olen); 535 mbedtls_cipher_free(&ctx->ctx_enc); in crypto_cipher_deinit()
|