Searched refs:md_data (Results 1 – 6 of 6) sorted by relevance
/external/boringssl/src/crypto/digest/ |
D | digests.c | 77 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 …]
|
D | digest.c | 91 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() 128 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex() 129 out->md_data = NULL; in EVP_MD_CTX_copy_ex() 135 if (in->md_data && in->digest->ctx_size) { in EVP_MD_CTX_copy_ex() 137 out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex() 139 out->md_data = OPENSSL_malloc(in->digest->ctx_size); in EVP_MD_CTX_copy_ex() 140 if (!out->md_data) { in EVP_MD_CTX_copy_ex() 145 memcpy(out->md_data, in->md_data, in->digest->ctx_size); in EVP_MD_CTX_copy_ex() [all …]
|
/external/openssh/ |
D | md-sha256.c | 42 SHA256_Init(ctxt->md_data); in ssh_sha256_init() 49 SHA256_Update(ctxt->md_data, data, len); in ssh_sha256_update() 56 SHA256_Final(digest, ctxt->md_data); in ssh_sha256_final() 63 memset(ctxt->md_data, 0, sizeof(SHA256_CTX)); in ssh_sha256_cleanup()
|
/external/boringssl/src/include/openssl/ |
D | digest.h | 241 void *md_data; member
|
D | pem.h | 188 char *md_data; /* message digest, could be pkey encrypted */ member
|
/external/ipsec-tools/src/racoon/missing/crypto/sha2/ |
D | sha2.c | 1068 #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)
|