Home
last modified time | relevance | path

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

/external/rust/crates/quiche/deps/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()
159 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex()
160 out->md_data = NULL; in EVP_MD_CTX_copy_ex()
167 out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex()
169 OPENSSL_memcpy(out->md_data, in->md_data, in->digest->ctx_size); in EVP_MD_CTX_copy_ex()
192 uint8_t *md_data = OPENSSL_malloc(type->ctx_size); in EVP_DigestInit_ex() local
193 if (md_data == NULL) { in EVP_DigestInit_ex()
198 OPENSSL_free(ctx->md_data); in EVP_DigestInit_ex()
199 ctx->md_data = md_data; in EVP_DigestInit_ex()
225 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
/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()
161 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex()
162 out->md_data = NULL; in EVP_MD_CTX_copy_ex()
169 out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex()
171 OPENSSL_memcpy(out->md_data, in->md_data, in->digest->ctx_size); in EVP_MD_CTX_copy_ex()
194 uint8_t *md_data = OPENSSL_malloc(type->ctx_size); in EVP_DigestInit_ex() local
195 if (md_data == NULL) { in EVP_DigestInit_ex()
200 OPENSSL_free(ctx->md_data); in EVP_DigestInit_ex()
201 ctx->md_data = md_data; in EVP_DigestInit_ex()
227 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
/external/boringssl/src/crypto/digest_extra/
Ddigest_extra.c244 static void blake2b256_init(EVP_MD_CTX *ctx) { BLAKE2B256_Init(ctx->md_data); } in blake2b256_init()
247 BLAKE2B256_Update(ctx->md_data, data, len); in blake2b256_update()
251 BLAKE2B256_Final(md, ctx->md_data); in blake2b256_final()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Ddigest.h294 void *md_data; member
/external/boringssl/src/include/openssl/
Ddigest.h304 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.cc2128 std::string md_data; in TEST_F() local
2129 ASSERT_TRUE(base::ReadFileToString(md_path, &md_data)); in TEST_F()
2130 ops_.set_expected_public_key_metadata(md_data); in TEST_F()