Searched refs:md_data (Results 1 – 7 of 7) sorted by relevance
/openssl/crypto/evp/ |
H A D | bio_ok.c | 438 void *md_data; in sig_out() local 444 md_data = EVP_MD_CTX_get0_md_data(md); in sig_out() 457 if (RAND_bytes(md_data, md_size) <= 0) in sig_out() 459 memcpy(&(ctx->buf[ctx->buf_len]), md_data, md_size); in sig_out() 484 void *md_data; in sig_in() local 492 md_data = EVP_MD_CTX_get0_md_data(md); in sig_in() 499 memcpy(md_data, &(ctx->buf[ctx->buf_off]), md_size); in sig_in() 500 longswap(md_data, md_size); in sig_in()
|
H A D | digest.c | 35 if (ctx->md_data != NULL && ctx->digest->ctx_size > 0 in cleanup_old_md_data() 39 ctx->md_data = NULL; in cleanup_old_md_data() 344 ctx->md_data = OPENSSL_zalloc(type->ctx_size); in evp_md_init_internal() 345 if (ctx->md_data == NULL) in evp_md_init_internal() 493 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex() 679 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex() 693 out->md_data = NULL; in EVP_MD_CTX_copy_ex() 696 if (in->md_data && out->digest->ctx_size) { in EVP_MD_CTX_copy_ex() 698 out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex() 701 if (out->md_data == NULL) in EVP_MD_CTX_copy_ex() [all …]
|
H A D | legacy_sha.c | 79 ctx = evp_ctx->md_data; in shake_ctrl()
|
H A D | evp_local.h | 22 void *md_data; member
|
H A D | evp_lib.c | 1092 return ctx->md_data; in EVP_MD_CTX_get0_md_data()
|
/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 740 unsigned char md_data[EVP_MAX_MD_SIZE]; in do_pkcs7_signed_attrib() local 752 if (!EVP_DigestFinal_ex(mctx, md_data, &md_len)) { in do_pkcs7_signed_attrib() 756 if (!PKCS7_add1_attrib_digest(si, md_data, md_len)) { in do_pkcs7_signed_attrib() 904 unsigned char md_data[EVP_MAX_MD_SIZE]; in PKCS7_dataFinal() local 909 if (!EVP_DigestFinal_ex(mdc, md_data, &md_len)) in PKCS7_dataFinal() 911 if (!ASN1_OCTET_STRING_set(p7->d.digest->digest, md_data, md_len)) in PKCS7_dataFinal()
|
/openssl/ |
H A D | CHANGES.md | 13398 * New md flag EVP_MD_CTX_FLAG_REUSE this allows md_data to be reused when 14279 md_data void pointer.
|
Completed in 54 milliseconds