Home
last modified time | relevance | path

Searched refs:EVP_DigestUpdate (Results 1 – 25 of 58) sorted by relevance

123

/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
Dderive_key.c92 if (!EVP_DigestUpdate(&c, md_buf, mds)) { in EVP_BytesToKey()
96 if (!EVP_DigestUpdate(&c, data, data_len)) { in EVP_BytesToKey()
100 if (!EVP_DigestUpdate(&c, salt, PKCS5_SALT_LEN)) { in EVP_BytesToKey()
110 !EVP_DigestUpdate(&c, md_buf, mds) || in EVP_BytesToKey()
/external/boringssl/src/crypto/cipher_extra/
Dderive_key.c92 if (!EVP_DigestUpdate(&c, md_buf, mds)) { in EVP_BytesToKey()
96 if (!EVP_DigestUpdate(&c, data, data_len)) { in EVP_BytesToKey()
100 if (!EVP_DigestUpdate(&c, salt, PKCS5_SALT_LEN)) { in EVP_BytesToKey()
110 !EVP_DigestUpdate(&c, md_buf, mds) || in EVP_BytesToKey()
/external/rust/crates/quiche/deps/boringssl/src/crypto/ec_extra/
Dhash_to_curve.c71 !EVP_DigestUpdate(&ctx, kPrefix, sizeof(kPrefix) - 1) || in expand_message_xmd()
72 !EVP_DigestUpdate(&ctx, dst, dst_len) || in expand_message_xmd()
88 !EVP_DigestUpdate(&ctx, kZeros, block_size) || in expand_message_xmd()
89 !EVP_DigestUpdate(&ctx, msg, msg_len) || in expand_message_xmd()
90 !EVP_DigestUpdate(&ctx, l_i_b_str_zero, sizeof(l_i_b_str_zero)) || in expand_message_xmd()
91 (is_draft06 && !EVP_DigestUpdate(&ctx, &dst_len_u8, 1)) || in expand_message_xmd()
92 !EVP_DigestUpdate(&ctx, dst, dst_len) || in expand_message_xmd()
93 (!is_draft06 && !EVP_DigestUpdate(&ctx, &dst_len_u8, 1)) || in expand_message_xmd()
115 !EVP_DigestUpdate(&ctx, b_i, md_size) || in expand_message_xmd()
116 !EVP_DigestUpdate(&ctx, &i, 1) || in expand_message_xmd()
[all …]
/external/boringssl/src/crypto/ec_extra/
Dhash_to_curve.c69 !EVP_DigestUpdate(&ctx, kPrefix, sizeof(kPrefix) - 1) || in expand_message_xmd()
70 !EVP_DigestUpdate(&ctx, dst, dst_len) || in expand_message_xmd()
86 !EVP_DigestUpdate(&ctx, kZeros, block_size) || in expand_message_xmd()
87 !EVP_DigestUpdate(&ctx, msg, msg_len) || in expand_message_xmd()
88 !EVP_DigestUpdate(&ctx, l_i_b_str_zero, sizeof(l_i_b_str_zero)) || in expand_message_xmd()
89 !EVP_DigestUpdate(&ctx, dst, dst_len) || in expand_message_xmd()
90 !EVP_DigestUpdate(&ctx, &dst_len_u8, 1) || in expand_message_xmd()
112 !EVP_DigestUpdate(&ctx, b_i, md_size) || in expand_message_xmd()
113 !EVP_DigestUpdate(&ctx, &i, 1) || in expand_message_xmd()
114 !EVP_DigestUpdate(&ctx, dst, dst_len) || in expand_message_xmd()
[all …]
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc168 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), test->input, strlen(test->input))); in TestDigest()
177 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), NULL, 0)); in TestDigest()
180 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), p, 1)); in TestDigest()
196 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), ptr, strlen(test->input))); in TestDigest()
206 ASSERT_TRUE(EVP_DigestUpdate(copy.get(), test->input, strlen(test->input))); in TestDigest()
213 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), test->input, half)); in TestDigest()
215 ASSERT_TRUE(EVP_DigestUpdate(copy.get(), test->input + half, in TestDigest()
218 ASSERT_TRUE(EVP_DigestUpdate(copy.get(), test->input, strlen(test->input))); in TestDigest()
/external/rust/crates/quiche/deps/boringssl/src/crypto/digest_extra/
Ddigest_test.cc163 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), test->input, strlen(test->input))); in TestDigest()
172 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), NULL, 0)); in TestDigest()
175 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), p, 1)); in TestDigest()
191 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), ptr, strlen(test->input))); in TestDigest()
201 ASSERT_TRUE(EVP_DigestUpdate(copy.get(), test->input, strlen(test->input))); in TestDigest()
208 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), test->input, half)); in TestDigest()
210 ASSERT_TRUE(EVP_DigestUpdate(copy.get(), test->input + half, in TestDigest()
213 ASSERT_TRUE(EVP_DigestUpdate(copy.get(), test->input, strlen(test->input))); in TestDigest()
/external/boringssl/src/crypto/fipsmodule/hmac/
Dhmac.c137 !EVP_DigestUpdate(&ctx->md_ctx, key, key_len) || in HMAC_Init_ex()
155 !EVP_DigestUpdate(&ctx->i_ctx, pad, EVP_MD_block_size(md))) { in HMAC_Init_ex()
163 !EVP_DigestUpdate(&ctx->o_ctx, pad, EVP_MD_block_size(md))) { in HMAC_Init_ex()
178 return EVP_DigestUpdate(&ctx->md_ctx, data, data_len); in HMAC_Update()
189 !EVP_DigestUpdate(&ctx->md_ctx, buf, i) || in HMAC_Final()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/hmac/
Dhmac.c137 !EVP_DigestUpdate(&ctx->md_ctx, key, key_len) || in HMAC_Init_ex()
155 !EVP_DigestUpdate(&ctx->i_ctx, pad, EVP_MD_block_size(md))) { in HMAC_Init_ex()
163 !EVP_DigestUpdate(&ctx->o_ctx, pad, EVP_MD_block_size(md))) { in HMAC_Init_ex()
178 return EVP_DigestUpdate(&ctx->md_ctx, data, data_len); in HMAC_Update()
189 !EVP_DigestUpdate(&ctx->md_ctx, buf, i) || in HMAC_Final()
/external/libwebsockets/lib/tls/openssl/
Dopenssl-client.c598 EVP_DigestUpdate(mdctx, &info->ssl_client_options_set, in lws_tls_client_create_vhost_context()
603 EVP_DigestUpdate(mdctx, &info->ssl_client_options_clear, in lws_tls_client_create_vhost_context()
608 EVP_DigestUpdate(mdctx, cipher_list, strlen(cipher_list)); in lws_tls_client_create_vhost_context()
612 EVP_DigestUpdate(mdctx, info->client_tls_1_3_plus_cipher_list, in lws_tls_client_create_vhost_context()
618 EVP_DigestUpdate(mdctx, &c, 1); in lws_tls_client_create_vhost_context()
622 EVP_DigestUpdate(mdctx, ca_filepath, strlen(ca_filepath)); in lws_tls_client_create_vhost_context()
625 EVP_DigestUpdate(mdctx, cert_filepath, strlen(cert_filepath)); in lws_tls_client_create_vhost_context()
628 EVP_DigestUpdate(mdctx, private_key_filepath, in lws_tls_client_create_vhost_context()
631 EVP_DigestUpdate(mdctx, ca_mem, ca_mem_len); in lws_tls_client_create_vhost_context()
634 EVP_DigestUpdate(mdctx, cert_mem, cert_mem_len); in lws_tls_client_create_vhost_context()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_transcript.cc168 EVP_DigestUpdate(ctx, buf->data, buf->length); in InitDigestWithData()
218 EVP_DigestUpdate(ctx, buffer_->data, buffer_->length); in CopyToHashContext()
234 EVP_DigestUpdate(hash_.get(), in.data(), in.size()); in Update()
/external/boringssl/src/ssl/
Dssl_transcript.cc168 EVP_DigestUpdate(ctx, buf->data, buf->length); in InitDigestWithData()
218 EVP_DigestUpdate(ctx, buffer_->data, buffer_->length); in CopyToHashContext()
234 EVP_DigestUpdate(hash_.get(), in.data(), in.size()); in Update()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c288 !EVP_DigestUpdate(&ctx, seed, seed_len) || in PKCS1_MGF1()
289 !EVP_DigestUpdate(&ctx, counter, sizeof(counter))) { in PKCS1_MGF1()
565 !EVP_DigestUpdate(&ctx, kPSSZeroes, sizeof(kPSSZeroes)) || in RSA_verify_PKCS1_PSS_mgf1()
566 !EVP_DigestUpdate(&ctx, mHash, hLen) || in RSA_verify_PKCS1_PSS_mgf1()
567 !EVP_DigestUpdate(&ctx, DB + i, maskedDBLen - i) || in RSA_verify_PKCS1_PSS_mgf1()
655 EVP_DigestUpdate(&ctx, kPSSZeroes, sizeof(kPSSZeroes)) && in RSA_padding_add_PKCS1_PSS_mgf1()
656 EVP_DigestUpdate(&ctx, mHash, hLen) && in RSA_padding_add_PKCS1_PSS_mgf1()
657 EVP_DigestUpdate(&ctx, salt, sLen) && in RSA_padding_add_PKCS1_PSS_mgf1()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c288 !EVP_DigestUpdate(&ctx, seed, seed_len) || in PKCS1_MGF1()
289 !EVP_DigestUpdate(&ctx, counter, sizeof(counter))) { in PKCS1_MGF1()
565 !EVP_DigestUpdate(&ctx, kPSSZeroes, sizeof(kPSSZeroes)) || in RSA_verify_PKCS1_PSS_mgf1()
566 !EVP_DigestUpdate(&ctx, mHash, hLen) || in RSA_verify_PKCS1_PSS_mgf1()
567 !EVP_DigestUpdate(&ctx, DB + i, maskedDBLen - i) || in RSA_verify_PKCS1_PSS_mgf1()
655 EVP_DigestUpdate(&ctx, kPSSZeroes, sizeof(kPSSZeroes)) && in RSA_padding_add_PKCS1_PSS_mgf1()
656 EVP_DigestUpdate(&ctx, mHash, hLen) && in RSA_padding_add_PKCS1_PSS_mgf1()
657 EVP_DigestUpdate(&ctx, salt, sLen) && in RSA_padding_add_PKCS1_PSS_mgf1()
/external/libsrtp2/crypto/include/
Dsha1.h98 EVP_DigestUpdate(ctx, M, octets_in_msg); in srtp_sha1_update()
123 EVP_DigestUpdate(*ctx, M, octets_in_msg);
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dsign.c74 return EVP_DigestUpdate(ctx, data, len); in EVP_SignUpdate()
120 return EVP_DigestUpdate(ctx, data, len); in EVP_VerifyUpdate()
Ddigestsign.c137 return EVP_DigestUpdate(ctx, data, len); in EVP_DigestSignUpdate()
146 return EVP_DigestUpdate(ctx, data, len); in EVP_DigestVerifyUpdate()
/external/boringssl/src/crypto/evp/
Dsign.c74 return EVP_DigestUpdate(ctx, data, len); in EVP_SignUpdate()
120 return EVP_DigestUpdate(ctx, data, len); in EVP_VerifyUpdate()
Ddigestsign.c137 return EVP_DigestUpdate(ctx, data, len); in EVP_DigestSignUpdate()
146 return EVP_DigestUpdate(ctx, data, len); in EVP_DigestVerifyUpdate()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx509_cmp.c97 if (!EVP_DigestUpdate(&ctx, (unsigned char *)f, strlen(f))) in X509_issuer_and_serial_hash()
100 if (!EVP_DigestUpdate in X509_issuer_and_serial_hash()
264 && EVP_DigestUpdate(&md_ctx, x->bytes->data, x->bytes->length) in X509_NAME_hash_old()
/external/boringssl/src/crypto/x509/
Dx509_cmp.c97 if (!EVP_DigestUpdate(&ctx, (unsigned char *)f, strlen(f))) in X509_issuer_and_serial_hash()
100 if (!EVP_DigestUpdate in X509_issuer_and_serial_hash()
269 && EVP_DigestUpdate(&md_ctx, x->bytes->data, x->bytes->length) in X509_NAME_hash_old()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/digest/
Ddigest.c214 int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t len) { in EVP_DigestUpdate() function
242 EVP_DigestUpdate(&ctx, data, count) && in EVP_Digest()
/external/boringssl/src/crypto/fipsmodule/digest/
Ddigest.c216 int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t len) { in EVP_DigestUpdate() function
244 EVP_DigestUpdate(&ctx, data, count) && in EVP_Digest()
/external/openscreen/util/crypto/
Dsecure_hash.cc36 EVP_DigestUpdate(ctx_.get(), input, len); in Update()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c182 !EVP_DigestUpdate(&ctx, D, block_size) || in pkcs12_key_gen()
183 !EVP_DigestUpdate(&ctx, I, I_len) || in pkcs12_key_gen()
189 !EVP_DigestUpdate(&ctx, A, A_len) || in pkcs12_key_gen()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dpkcs8.c182 !EVP_DigestUpdate(&ctx, D, block_size) || in pkcs12_key_gen()
183 !EVP_DigestUpdate(&ctx, I, I_len) || in pkcs12_key_gen()
189 !EVP_DigestUpdate(&ctx, A, A_len) || in pkcs12_key_gen()

123