Home
last modified time | relevance | path

Searched refs:md_data (Results 1 – 15 of 15) sorted by relevance

/third_party/openssl/crypto/evp/
Ddigest.c34 if (ctx->md_data != NULL && ctx->digest->ctx_size > 0 in cleanup_old_md_data()
37 OPENSSL_clear_free(ctx->md_data, ctx->digest->ctx_size); in cleanup_old_md_data()
38 ctx->md_data = NULL; in cleanup_old_md_data()
332 ctx->md_data = OPENSSL_zalloc(type->ctx_size); in evp_md_init_internal()
333 if (ctx->md_data == NULL) { in evp_md_init_internal()
469 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
509 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinalXOF()
598 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex()
612 out->md_data = NULL; in EVP_MD_CTX_copy_ex()
615 if (in->md_data && out->digest->ctx_size) { in EVP_MD_CTX_copy_ex()
[all …]
Dbio_ok.c439 void *md_data; in sig_out() local
445 md_data = EVP_MD_CTX_get0_md_data(md); in sig_out()
456 if (RAND_bytes(md_data, md_size) <= 0) in sig_out()
458 memcpy(&(ctx->buf[ctx->buf_len]), md_data, md_size); in sig_out()
483 void *md_data; in sig_in() local
491 md_data = EVP_MD_CTX_get0_md_data(md); in sig_in()
498 memcpy(md_data, &(ctx->buf[ctx->buf_off]), md_size); in sig_in()
499 longswap(md_data, md_size); in sig_in()
Dlegacy_sha.c74 KECCAK1600_CTX *ctx = evp_ctx->md_data; in shake_ctrl()
Devp_local.h22 void *md_data; member
Devp_lib.c1054 return ctx->md_data; in EVP_MD_CTX_get0_md_data()
/third_party/node/deps/openssl/openssl/crypto/evp/
Ddigest.c34 if (ctx->md_data != NULL && ctx->digest->ctx_size > 0 in cleanup_old_md_data()
37 OPENSSL_clear_free(ctx->md_data, ctx->digest->ctx_size); in cleanup_old_md_data()
38 ctx->md_data = NULL; in cleanup_old_md_data()
332 ctx->md_data = OPENSSL_zalloc(type->ctx_size); in evp_md_init_internal()
333 if (ctx->md_data == NULL) { in evp_md_init_internal()
469 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
509 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinalXOF()
598 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex()
612 out->md_data = NULL; in EVP_MD_CTX_copy_ex()
615 if (in->md_data && out->digest->ctx_size) { in EVP_MD_CTX_copy_ex()
[all …]
Dbio_ok.c439 void *md_data; in sig_out() local
445 md_data = EVP_MD_CTX_get0_md_data(md); in sig_out()
456 if (RAND_bytes(md_data, md_size) <= 0) in sig_out()
458 memcpy(&(ctx->buf[ctx->buf_len]), md_data, md_size); in sig_out()
483 void *md_data; in sig_in() local
491 md_data = EVP_MD_CTX_get0_md_data(md); in sig_in()
498 memcpy(md_data, &(ctx->buf[ctx->buf_off]), md_size); in sig_in()
499 longswap(md_data, md_size); in sig_in()
Dlegacy_sha.c78 ctx = evp_ctx->md_data; in shake_ctrl()
Devp_local.h22 void *md_data; member
Devp_lib.c1054 return ctx->md_data; in EVP_MD_CTX_get0_md_data()
/third_party/node/deps/openssl/openssl/crypto/pkcs7/
Dpk7_doit.c699 unsigned char md_data[EVP_MAX_MD_SIZE]; in do_pkcs7_signed_attrib() local
711 if (!EVP_DigestFinal_ex(mctx, md_data, &md_len)) { in do_pkcs7_signed_attrib()
715 if (!PKCS7_add1_attrib_digest(si, md_data, md_len)) { in do_pkcs7_signed_attrib()
864 unsigned char md_data[EVP_MAX_MD_SIZE]; in PKCS7_dataFinal() local
869 if (!EVP_DigestFinal_ex(mdc, md_data, &md_len)) in PKCS7_dataFinal()
871 if (!ASN1_OCTET_STRING_set(p7->d.digest->digest, md_data, md_len)) in PKCS7_dataFinal()
/third_party/openssl/crypto/pkcs7/
Dpk7_doit.c699 unsigned char md_data[EVP_MAX_MD_SIZE]; in do_pkcs7_signed_attrib() local
711 if (!EVP_DigestFinal_ex(mctx, md_data, &md_len)) { in do_pkcs7_signed_attrib()
715 if (!PKCS7_add1_attrib_digest(si, md_data, md_len)) { in do_pkcs7_signed_attrib()
864 unsigned char md_data[EVP_MAX_MD_SIZE]; in PKCS7_dataFinal() local
869 if (!EVP_DigestFinal_ex(mdc, md_data, &md_len)) in PKCS7_dataFinal()
871 if (!ASN1_OCTET_STRING_set(p7->d.digest->digest, md_data, md_len)) in PKCS7_dataFinal()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dtypes.rs115 md_data: *mut c_void,
/third_party/node/deps/openssl/openssl/
DCHANGES.md12294 * New md flag EVP_MD_CTX_FLAG_REUSE this allows md_data to be reused when
13175 md_data void pointer.
/third_party/openssl/
DCHANGES.md12116 * New md flag EVP_MD_CTX_FLAG_REUSE this allows md_data to be reused when
12997 md_data void pointer.