Home
last modified time | relevance | path

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

12

/external/boringssl/src/ssl/
Dssl_transcript.cc166 EVP_DigestUpdate(ctx, buf->data, buf->length); in init_digest_with_data()
231 EVP_DigestUpdate(&transcript->hash, in, in_len); in SSL_TRANSCRIPT_update()
234 EVP_DigestUpdate(&transcript->md5, in, in_len); in SSL_TRANSCRIPT_update()
303 EVP_DigestUpdate(&ctx, sender, sender_len); in ssl3_handshake_mac()
305 EVP_DigestUpdate(&ctx, session->master_key, session->master_key_length); in ssl3_handshake_mac()
306 EVP_DigestUpdate(&ctx, kPad1, npad); in ssl3_handshake_mac()
314 EVP_DigestUpdate(&ctx, session->master_key, session->master_key_length); in ssl3_handshake_mac()
315 EVP_DigestUpdate(&ctx, kPad2, npad); in ssl3_handshake_mac()
316 EVP_DigestUpdate(&ctx, md_buf, i); in ssl3_handshake_mac()
Dt1_enc.cc292 EVP_DigestUpdate(&sha1, buf, k); in ssl3_prf()
293 EVP_DigestUpdate(&sha1, secret, secret_len); in ssl3_prf()
296 EVP_DigestUpdate(&sha1, seed1, seed1_len); in ssl3_prf()
299 EVP_DigestUpdate(&sha1, seed2, seed2_len); in ssl3_prf()
307 EVP_DigestUpdate(&md5, secret, secret_len); in ssl3_prf()
308 EVP_DigestUpdate(&md5, smd, SHA_DIGEST_LENGTH); in ssl3_prf()
Dtls13_enc.cc387 !EVP_DigestUpdate(&ctx, hs->transcript.buffer->data, in tls13_write_psk_binder()
389 !EVP_DigestUpdate(&ctx, msg, len - hash_len - 3) || in tls13_write_psk_binder()
/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()
De_ssl3.c56 !EVP_DigestUpdate(&md_ctx, pad, pad_len) || in ssl3_mac()
57 !EVP_DigestUpdate(&md_ctx, ad, ad_len) || in ssl3_mac()
58 !EVP_DigestUpdate(&md_ctx, ad_extra, sizeof(ad_extra)) || in ssl3_mac()
59 !EVP_DigestUpdate(&md_ctx, in, in_len) || in ssl3_mac()
67 !EVP_DigestUpdate(&md_ctx, pad, pad_len) || in ssl3_mac()
68 !EVP_DigestUpdate(&md_ctx, tmp, md_size) || in ssl3_mac()
116 !EVP_DigestUpdate(&ssl3_ctx->md_ctx, key, mac_key_len)) { in aead_ssl3_init()
Dtls_cbc.c474 EVP_DigestUpdate(&md_ctx, hmac_pad, md_block_size); in EVP_tls_cbc_digest_record()
475 EVP_DigestUpdate(&md_ctx, mac_out, md_size); in EVP_tls_cbc_digest_record()
/external/boringssl/src/crypto/fipsmodule/hmac/
Dhmac.c120 !EVP_DigestUpdate(&ctx->md_ctx, key, key_len) || in HMAC_Init_ex()
138 !EVP_DigestUpdate(&ctx->i_ctx, pad, EVP_MD_block_size(md))) { in HMAC_Init_ex()
146 !EVP_DigestUpdate(&ctx->o_ctx, pad, EVP_MD_block_size(md))) { in HMAC_Init_ex()
161 return EVP_DigestUpdate(&ctx->md_ctx, data, data_len); in HMAC_Update()
172 !EVP_DigestUpdate(&ctx->md_ctx, buf, i) || in HMAC_Final()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c285 !EVP_DigestUpdate(&ctx, seed, seed_len) || in PKCS1_MGF1()
286 !EVP_DigestUpdate(&ctx, counter, sizeof(counter))) { in PKCS1_MGF1()
562 !EVP_DigestUpdate(&ctx, kPSSZeroes, sizeof(kPSSZeroes)) || in RSA_verify_PKCS1_PSS_mgf1()
563 !EVP_DigestUpdate(&ctx, mHash, hLen) || in RSA_verify_PKCS1_PSS_mgf1()
564 !EVP_DigestUpdate(&ctx, DB + i, maskedDBLen - i) || in RSA_verify_PKCS1_PSS_mgf1()
652 EVP_DigestUpdate(&ctx, kPSSZeroes, sizeof(kPSSZeroes)) && in RSA_padding_add_PKCS1_PSS_mgf1()
653 EVP_DigestUpdate(&ctx, mHash, hLen) && in RSA_padding_add_PKCS1_PSS_mgf1()
654 EVP_DigestUpdate(&ctx, salt, sLen) && in RSA_padding_add_PKCS1_PSS_mgf1()
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc165 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), test->input, strlen(test->input))); in TestDigest()
174 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), NULL, 0)); in TestDigest()
177 ASSERT_TRUE(EVP_DigestUpdate(ctx.get(), p, 1)); in TestDigest()
/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/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()
258 && EVP_DigestUpdate(&md_ctx, x->bytes->data, x->bytes->length) in X509_NAME_hash_old()
/external/boringssl/src/crypto/fipsmodule/digest/
Ddigest.c194 int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t len) { in EVP_DigestUpdate() function
222 EVP_DigestUpdate(&ctx, data, count) && in EVP_Digest()
/external/boringssl/src/
DAPI-CONVENTIONS.md126 EVP_DigestUpdate(&ctx, "hello ", 6) &&
127 EVP_DigestUpdate(&ctx, "world", 5) &&
145 !EVP_DigestUpdate(&ctx, "hello ", 6) ||
146 !EVP_DigestUpdate(&ctx, "world", 5) ||
/external/tpm2/
DCpriHash.c377 if(EVP_DigestUpdate(context, data, dataSize) != 1) in _cpri__UpdateHash()
524 || (EVP_DigestUpdate(&hashContext, data, dataSize) != 1)) in _cpri__HashBlock()
699 || (EVP_DigestUpdate(&hashContext, seed, sSize) != 1) in _cpri__MGF1()
700 || (EVP_DigestUpdate(&hashContext, swappedCounter, 4) != 1) in _cpri__MGF1()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c172 !EVP_DigestUpdate(&ctx, D, block_size) || in pkcs12_key_gen()
173 !EVP_DigestUpdate(&ctx, I, I_len) || in pkcs12_key_gen()
179 !EVP_DigestUpdate(&ctx, A, A_len) || in pkcs12_key_gen()
/external/webrtc/webrtc/base/
Dopenssldigest.cc44 EVP_DigestUpdate(&ctx_, buf, len); in Update()
/external/boringssl/src/include/openssl/
Ddigest.h139 OPENSSL_EXPORT int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data,
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLMessageDigestJDK.java102 NativeCrypto.EVP_DigestUpdate(ctx, input, offset, len); in engineUpdate()
DNativeCrypto.java195 static native void EVP_DigestUpdate( in EVP_DigestUpdate() method in NativeCrypto
/external/openssh/
Ddigest-openssl.c144 if (EVP_DigestUpdate(&ctx->mdctx, m, mlen) != 1) in ssh_digest_update()
/external/boringssl/src/tool/
Ddigest.cc159 if (!EVP_DigestUpdate(ctx.get(), buf.get(), n)) { in SumFile()
Dspeed.cc316 EVP_DigestUpdate(ctx, scratch, chunk_len) && in SpeedHashChunk()
/external/python/cpython2/Modules/
D_hashopenssl.c163 EVP_DigestUpdate(self->ctx, (const void*)cp, process); in EVP_hash()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c136 if (!EVP_DigestUpdate(ctx, addr[i], len[i])) { in openssl_digest_vector()

12