Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Dbad_dtls_test.c286 EVP_CIPHER_CTX *enc_ctx = NULL; in send_record() local
335 || !TEST_ptr(enc_ctx = EVP_CIPHER_CTX_new()) in send_record()
336 || !TEST_true(EVP_CipherInit_ex(enc_ctx, EVP_aes_128_cbc(), NULL, in send_record()
338 || !TEST_int_ge(EVP_Cipher(enc_ctx, enc, enc, len), 0)) in send_record()
356 EVP_CIPHER_CTX_free(enc_ctx); in send_record()
/freebsd/sys/crypto/openssl/
H A Dossl.h70 struct ossl_cipher_context enc_ctx; member
H A Dossl_aes.c109 key = s->enc_ctx; in ossl_aes_cbc()
199 memcpy(&ctx, &s->enc_ctx, sizeof(struct ossl_gcm_context)); in ossl_aes_gcm()
H A Dossl.c267 8 * csp->csp_cipher_klen, &s->cipher.enc_ctx); in ossl_newsession_cipher()