Home
last modified time | relevance | path

Searched refs:cipher_ctx (Results 1 – 6 of 6) sorted by relevance

/openssl/engines/
H A De_devcrypto.c106 struct cipher_ctx { struct
208 struct cipher_ctx *cipher_ctx = in cipher_init() local
244 struct cipher_ctx *cipher_ctx = in cipher_do_cipher() local
325 struct cipher_ctx *cipher_ctx = in ctr_do_cipher() local
331 (*out++) = *(in++) ^ cipher_ctx->partial[cipher_ctx->num]; in ctr_do_cipher()
333 cipher_ctx->num = (cipher_ctx->num + 1) % cipher_ctx->blocksize; in ctr_do_cipher()
349 memset(cipher_ctx->partial, 0, cipher_ctx->blocksize); in ctr_do_cipher()
354 out[cipher_ctx->num] = in[cipher_ctx->num] in ctr_do_cipher()
365 struct cipher_ctx *cipher_ctx = in cipher_ctrl() local
383 memset(&cipher_ctx->sess, 0, sizeof(cipher_ctx->sess)); in cipher_ctrl()
[all …]
/openssl/crypto/modes/
H A Dsiv128.c177 EVP_CIPHER_CTX_free(ctx->cipher_ctx); in ossl_siv128_init()
181 ctx->cipher_ctx = NULL; in ossl_siv128_init()
194 if ((ctx->cipher_ctx = EVP_CIPHER_CTX_new()) == NULL in ossl_siv128_init()
204 EVP_CIPHER_CTX_free(ctx->cipher_ctx); in ossl_siv128_init()
224 if (dest->cipher_ctx == NULL) { in ossl_siv128_copy_ctx()
225 dest->cipher_ctx = EVP_CIPHER_CTX_new(); in ossl_siv128_copy_ctx()
226 if (dest->cipher_ctx == NULL) in ossl_siv128_copy_ctx()
229 if (!EVP_CIPHER_CTX_copy(dest->cipher_ctx, src->cipher_ctx)) in ossl_siv128_copy_ctx()
317 if (!siv128_do_encrypt(ctx->cipher_ctx, out, in, len, &q) in ossl_siv128_decrypt()
373 EVP_CIPHER_CTX_free(ctx->cipher_ctx); in ossl_siv128_cleanup()
[all …]
/openssl/ssl/quic/
H A Dquic_wire_pkt.c38 hpr->cipher_ctx = EVP_CIPHER_CTX_new(); in ossl_quic_hdr_protector_init()
39 if (hpr->cipher_ctx == NULL) { in ossl_quic_hdr_protector_init()
51 if (!EVP_CipherInit_ex(hpr->cipher_ctx, hpr->cipher, NULL, in ossl_quic_hdr_protector_init()
69 EVP_CIPHER_CTX_free(hpr->cipher_ctx); in ossl_quic_hdr_protector_cleanup()
70 hpr->cipher_ctx = NULL; in ossl_quic_hdr_protector_cleanup()
92 if (!EVP_CipherInit_ex(hpr->cipher_ctx, NULL, NULL, NULL, NULL, 1) in hdr_generate_mask()
93 || !EVP_CipherUpdate(hpr->cipher_ctx, dst, &l, sample, 16)) { in hdr_generate_mask()
106 if (!EVP_CipherInit_ex(hpr->cipher_ctx, NULL, NULL, NULL, sample, 1) in hdr_generate_mask()
107 || !EVP_CipherUpdate(hpr->cipher_ctx, mask, &l, in hdr_generate_mask()
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv_hw.c65 out->siv.cipher_ctx = NULL; in aes_siv_dupctx()
/openssl/include/internal/
H A Dquic_wire_pkt.h160 EVP_CIPHER_CTX *cipher_ctx; member
/openssl/include/crypto/
H A Dmodes.h229 EVP_CIPHER_CTX *cipher_ctx; member

Completed in 22 milliseconds