Home
last modified time | relevance | path

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

/crypto/evp/
A Devp_enc.c60 if (ctx->cipher_data && ctx->cipher->ctx_size) in OSSL_SAFE_MATH_SIGNED()
61 OPENSSL_cleanse(ctx->cipher_data, ctx->cipher->ctx_size); in OSSL_SAFE_MATH_SIGNED()
63 OPENSSL_free(ctx->cipher_data); in OSSL_SAFE_MATH_SIGNED()
167 OPENSSL_clear_free(ctx->cipher_data, ctx->cipher->ctx_size); in evp_cipher_init_internal()
168 ctx->cipher_data = NULL; in evp_cipher_init_internal()
389 if (ctx->cipher_data == NULL) { in evp_cipher_init_internal()
394 ctx->cipher_data = NULL; in evp_cipher_init_internal()
522 ctx->cipher_data = NULL; in evp_cipher_init_skey_internal()
1825 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy()
1827 if (out->cipher_data == NULL) { in EVP_CIPHER_CTX_copy()
[all …]
A De_chacha20_poly1305.c32 #define data(ctx) ((EVP_CHACHA_KEY *)(ctx)->cipher_data)
164 # define aead_data(ctx) ((EVP_CHACHA_AEAD_CTX *)(ctx)->cipher_data)
492 OPENSSL_cleanse(ctx->cipher_data, sizeof(*actx) + Poly1305_ctx_size()); in chacha20_poly1305_cleanup()
504 actx = ctx->cipher_data in chacha20_poly1305_ctrl()
524 dst->cipher_data = in chacha20_poly1305_ctrl()
526 if (dst->cipher_data == NULL) { in chacha20_poly1305_ctrl()
A Devp_lib.c477 return ctx->cipher_data; in EVP_CIPHER_CTX_get_cipher_data()
480 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data) in EVP_CIPHER_CTX_set_cipher_data() argument
484 old_cipher_data = ctx->cipher_data; in EVP_CIPHER_CTX_set_cipher_data()
485 ctx->cipher_data = cipher_data; in EVP_CIPHER_CTX_set_cipher_data()
A Devp_local.h51 void *cipher_data; /* per EVP data */ member

Completed in 21 milliseconds