Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/digest/
Ddigests.c79 CHECK(MD4_Init(ctx->md_data)); in md4_init()
83 CHECK(MD4_Update(ctx->md_data, data, count)); in md4_update()
87 CHECK(MD4_Final(out, ctx->md_data)); in md4_final()
103 CHECK(MD5_Init(ctx->md_data)); in md5_init()
107 CHECK(MD5_Update(ctx->md_data, data, count)); in md5_update()
111 CHECK(MD5_Final(out, ctx->md_data)); in md5_final()
127 CHECK(SHA1_Init(ctx->md_data)); in sha1_init()
131 CHECK(SHA1_Update(ctx->md_data, data, count)); in sha1_update()
135 CHECK(SHA1_Final(md, ctx->md_data)); in sha1_final()
151 CHECK(SHA224_Init(ctx->md_data)); in sha224_init()
[all …]
Ddigest.c95 OPENSSL_free(ctx->md_data); in EVP_MD_CTX_cleanup()
148 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex()
149 out->md_data = NULL; in EVP_MD_CTX_copy_ex()
155 out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex()
156 OPENSSL_memcpy(out->md_data, in->md_data, in->digest->ctx_size); in EVP_MD_CTX_copy_ex()
178 uint8_t *md_data = OPENSSL_malloc(type->ctx_size); in EVP_DigestInit_ex() local
179 if (md_data == NULL) { in EVP_DigestInit_ex()
184 OPENSSL_free(ctx->md_data); in EVP_DigestInit_ex()
185 ctx->md_data = md_data; in EVP_DigestInit_ex()
211 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
/external/openssh/
Dmd-sha256.c42 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/
Ddigest.h280 void *md_data; member
/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)
/external/avb/test/
Davb_slot_verify_unittest.cc1677 std::string md_data; in TEST_F() local
1678 ASSERT_TRUE(base::ReadFileToString(md_path, &md_data)); in TEST_F()
1679 ops_.set_expected_public_key_metadata(md_data); in TEST_F()