Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/digest/
Ddigests.c77 CHECK(MD4_Init(ctx->md_data)); in md4_init()
81 CHECK(MD4_Update(ctx->md_data, data, count)); in md4_update()
85 CHECK(MD4_Final(out, ctx->md_data)); in md4_final()
97 CHECK(MD5_Init(ctx->md_data)); in md5_init()
101 CHECK(MD5_Update(ctx->md_data, data, count)); in md5_update()
105 CHECK(MD5_Final(out, ctx->md_data)); in md5_final()
117 CHECK(SHA1_Init(ctx->md_data)); in sha1_init()
121 CHECK(SHA1_Update(ctx->md_data, data, count)); in sha1_update()
125 CHECK(SHA1_Final(md, ctx->md_data)); in sha1_final()
137 CHECK(SHA224_Init(ctx->md_data)); in sha224_init()
[all …]
Ddigest.c91 if (ctx->digest && ctx->digest->ctx_size && ctx->md_data) { in EVP_MD_CTX_cleanup()
92 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_MD_CTX_cleanup()
93 OPENSSL_free(ctx->md_data); in EVP_MD_CTX_cleanup()
127 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex()
128 out->md_data = NULL; in EVP_MD_CTX_copy_ex()
134 if (in->md_data && in->digest->ctx_size) { in EVP_MD_CTX_copy_ex()
136 out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex()
138 out->md_data = OPENSSL_malloc(in->digest->ctx_size); in EVP_MD_CTX_copy_ex()
139 if (!out->md_data) { in EVP_MD_CTX_copy_ex()
144 memcpy(out->md_data, in->md_data, in->digest->ctx_size); in EVP_MD_CTX_copy_ex()
[all …]
/external/boringssl/src/include/openssl/
Ddigest.h240 void *md_data; member
Dpem.h186 char *md_data; /* message digest, could be pkey encrypted */ member
/external/tpm2/
DCpriHash.c92 memcpy(buf, (void*) ctxt->md_data, ctxt->digest->ctx_size); in MarshalHashState()
120 memcpy(ctxt->md_data, buf, ctxt->digest->ctx_size); in GetHashState()
Dpart4.txt26547 62 memcpy(buf, (void*) ctxt->md_data, ctxt->digest->ctx_size);
26576 84 // This also allocates the ctxt->md_data
26581 89 memcpy(ctxt->md_data, buf, ctxt->digest->ctx_size);
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.c1068 #define data(ctx) ((SHA256_CTX *)(ctx)->md_data)
1087 #define data(ctx) ((SHA384_CTX *)(ctx)->md_data)
1106 #define data(ctx) ((SHA512_CTX *)(ctx)->md_data)