Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20.c75 if (dupctx != NULL && dupctx->base.tlsmac != NULL && dupctx->base.alloced) { in chacha20_dupctx()
76 dupctx->base.tlsmac = OPENSSL_memdup(dupctx->base.tlsmac, in chacha20_dupctx()
78 if (dupctx->base.tlsmac == NULL) { in chacha20_dupctx()
H A Dcipher_null.c21 const unsigned char *tlsmac; member
80 ctx->tlsmac = in + inl - ctx->tlsmacsize; in null_cipher()
140 && !OSSL_PARAM_set_octet_ptr(p, ctx->tlsmac, ctx->tlsmacsize)) { in null_get_ctx_params()
H A Dciphercommon.c182 OPENSSL_free(ctx->tlsmac); in ossl_cipher_generic_reset_ctx()
184 ctx->tlsmac = NULL; in ossl_cipher_generic_reset_ctx()
319 OPENSSL_free(ctx->tlsmac); in ossl_cipher_generic_block_update()
321 ctx->tlsmac = NULL; in ossl_cipher_generic_block_update()
329 blksz, &ctx->tlsmac, &ctx->alloced, in ossl_cipher_generic_block_update()
522 ctx->tlsmac = out + *outl - ctx->tlsmacsize; in ossl_cipher_generic_stream_update()
615 && !OSSL_PARAM_set_octet_ptr(p, ctx->tlsmac, ctx->tlsmacsize)) { in ossl_cipher_generic_get_ctx_params()
H A Dcipher_aes_wrp.c78 if (dctx != NULL && dctx->base.tlsmac != NULL && dctx->base.alloced) { in aes_wrap_dupctx()
79 dctx->base.tlsmac = OPENSSL_memdup(dctx->base.tlsmac, in aes_wrap_dupctx()
81 if (dctx->base.tlsmac == NULL) { in aes_wrap_dupctx()
H A Dcipher_chacha20_poly1305.c70 if (dctx != NULL && dctx->base.tlsmac != NULL && dctx->base.alloced) { in chacha20_poly1305_dupctx()
71 dctx->base.tlsmac = OPENSSL_memdup(dctx->base.tlsmac, in chacha20_poly1305_dupctx()
73 if (dctx->base.tlsmac == NULL) { in chacha20_poly1305_dupctx()
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Dciphercommon.h75 unsigned char *tlsmac; /* tls MAC extracted from the last record */
77 * Whether the tlsmac data has been allocated or
68 unsigned char *tlsmac; /* tls MAC extracted from the last record */ global() member