Home
last modified time | relevance | path

Searched refs:ctx_size (Results 1 – 8 of 8) sorted by relevance

/openssl/crypto/evp/
H A Dcmeth_lib.c84 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size) in EVP_CIPHER_meth_set_impl_ctx_size() argument
86 if (cipher->ctx_size != 0) in EVP_CIPHER_meth_set_impl_ctx_size()
89 cipher->ctx_size = ctx_size; in EVP_CIPHER_meth_set_impl_ctx_size()
H A Ddigest.c35 if (ctx->md_data != NULL && ctx->digest->ctx_size > 0 in cleanup_old_md_data()
38 OPENSSL_clear_free(ctx->md_data, ctx->digest->ctx_size); in cleanup_old_md_data()
342 if (!(ctx->flags & EVP_MD_CTX_FLAG_NO_INIT) && type->ctx_size) { in evp_md_init_internal()
344 ctx->md_data = OPENSSL_zalloc(type->ctx_size); in evp_md_init_internal()
493 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
546 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinalXOF()
696 if (in->md_data && out->digest->ctx_size) { in EVP_MD_CTX_copy_ex()
700 out->md_data = OPENSSL_malloc(out->digest->ctx_size); in EVP_MD_CTX_copy_ex()
704 memcpy(out->md_data, in->md_data, out->digest->ctx_size); in EVP_MD_CTX_copy_ex()
H 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()
164 OPENSSL_clear_free(ctx->cipher_data, ctx->cipher->ctx_size); in evp_cipher_init_internal()
353 if (ctx->cipher->ctx_size) { in evp_cipher_init_internal()
354 ctx->cipher_data = OPENSSL_zalloc(ctx->cipher->ctx_size); in evp_cipher_init_internal()
1504 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy()
1505 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
1510 memcpy(out->cipher_data, in->cipher_data, in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
H A Devp_lib.c379 return e->ctx_size; in EVP_CIPHER_impl_ctx_size()
894 if (md->ctx_size != 0) in EVP_MD_meth_set_app_datasize()
897 md->ctx_size = datasize; in EVP_MD_meth_set_app_datasize()
972 return md->ctx_size; in EVP_MD_meth_get_app_datasize()
/openssl/include/crypto/
H A Devp.h270 int ctx_size; /* how big does the ctx->md_data need to be */ member
321 int ctx_size; member
/openssl/doc/man3/
H A DEVP_CIPHER_meth_new.pod30 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size);
/openssl/include/openssl/
H A Devp.h247 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size);
/openssl/
H A DCHANGES.md19959 * ctx_size was not built with the right compiler during "make links". Fixed.

Completed in 93 milliseconds