Lines Matching refs:aes_ctx
30 aes_cbc_ctx_t aes_ctx;
66 status = aes_cbc_context_init(&aes_ctx, key, direction_encrypt);
72 status = aes_cbc_set_iv(&aes_ctx, iv);
75 status = aes_cbc_nist_encrypt(&aes_ctx, opaque, opaque_len);
104 aes_cbc_ctx_t aes_ctx;
142 status = aes_cbc_context_init(&aes_ctx, key, direction_decrypt);
148 status = aes_cbc_set_iv(&aes_ctx, iv);
151 status = aes_cbc_nist_decrypt(&aes_ctx, opaque, opaque_len);
190 aes_cbc_ctx_t aes_ctx;
231 status = aes_cbc_context_init(&aes_ctx, key, direction_encrypt);
237 status = aes_cbc_set_iv(&aes_ctx, iv);
248 status = aes_cbc_nist_encrypt(&aes_ctx, opaque, opaque_len);
301 aes_cbc_ctx_t aes_ctx;
401 status = aes_cbc_context_init(&aes_ctx, key, direction_decrypt);
403 status = aes_cbc_set_iv(&aes_ctx, iv);
412 status = aes_cbc_nist_decrypt(&aes_ctx, opaque, &ciphertext_len);