Home
last modified time | relevance | path

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

12

/external/boringssl/src/ssl/
Dssl_transcript.c166 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.c292 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.c402 !EVP_DigestUpdate(&ctx, hs->transcript.buffer->data, in tls13_write_psk_binder()
404 !EVP_DigestUpdate(&ctx, msg, len - hash_len - 3) || in tls13_write_psk_binder()
/external/boringssl/src/crypto/cipher/
Dderive_key.c94 if (!EVP_DigestUpdate(&c, md_buf, mds)) { in EVP_BytesToKey()
98 if (!EVP_DigestUpdate(&c, data, data_len)) { in EVP_BytesToKey()
102 if (!EVP_DigestUpdate(&c, salt, PKCS5_SALT_LEN)) { in EVP_BytesToKey()
112 !EVP_DigestUpdate(&c, md_buf, mds) || in EVP_BytesToKey()
De_ssl3.c55 !EVP_DigestUpdate(&md_ctx, pad, pad_len) || in ssl3_mac()
56 !EVP_DigestUpdate(&md_ctx, ad, ad_len) || in ssl3_mac()
57 !EVP_DigestUpdate(&md_ctx, ad_extra, sizeof(ad_extra)) || in ssl3_mac()
58 !EVP_DigestUpdate(&md_ctx, in, in_len) || in ssl3_mac()
66 !EVP_DigestUpdate(&md_ctx, pad, pad_len) || in ssl3_mac()
67 !EVP_DigestUpdate(&md_ctx, tmp, md_size) || in ssl3_mac()
115 !EVP_DigestUpdate(&ssl3_ctx->md_ctx, key, mac_key_len)) { in aead_ssl3_init()
Dtls_cbc.c475 EVP_DigestUpdate(&md_ctx, hmac_pad, md_block_size); in EVP_tls_cbc_digest_record()
476 EVP_DigestUpdate(&md_ctx, mac_out, md_size); in EVP_tls_cbc_digest_record()
/external/boringssl/src/crypto/hmac/
Dhmac.c129 !EVP_DigestUpdate(&ctx->md_ctx, key, key_len) || in HMAC_Init_ex()
147 !EVP_DigestUpdate(&ctx->i_ctx, pad, EVP_MD_block_size(md))) { in HMAC_Init_ex()
155 !EVP_DigestUpdate(&ctx->o_ctx, pad, EVP_MD_block_size(md))) { in HMAC_Init_ex()
170 return EVP_DigestUpdate(&ctx->md_ctx, data, data_len); in HMAC_Update()
181 !EVP_DigestUpdate(&ctx->md_ctx, buf, i) || in HMAC_Final()
/external/boringssl/src/crypto/rsa/
Dpadding.c286 !EVP_DigestUpdate(&ctx, seed, seed_len) || in PKCS1_MGF1()
287 !EVP_DigestUpdate(&ctx, counter, sizeof(counter))) { in PKCS1_MGF1()
561 !EVP_DigestUpdate(&ctx, kPSSZeroes, sizeof(kPSSZeroes)) || in RSA_verify_PKCS1_PSS_mgf1()
562 !EVP_DigestUpdate(&ctx, mHash, hLen) || in RSA_verify_PKCS1_PSS_mgf1()
563 !EVP_DigestUpdate(&ctx, DB + i, maskedDBLen - i) || in RSA_verify_PKCS1_PSS_mgf1()
651 EVP_DigestUpdate(&ctx, kPSSZeroes, sizeof(kPSSZeroes)) && in RSA_padding_add_PKCS1_PSS_mgf1()
652 EVP_DigestUpdate(&ctx, mHash, hLen) && in RSA_padding_add_PKCS1_PSS_mgf1()
653 EVP_DigestUpdate(&ctx, salt, sLen) && in RSA_padding_add_PKCS1_PSS_mgf1()
/external/boringssl/src/crypto/digest/
Ddigest_test.cc173 if (!EVP_DigestUpdate(ctx.get(), test->input, strlen(test->input))) { in TestDigest()
193 if (!EVP_DigestUpdate(ctx.get(), NULL, 0)) { in TestDigest()
199 if (!EVP_DigestUpdate(ctx.get(), p, 1)) { in TestDigest()
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/crypto/evp/
Dsign.c74 return EVP_DigestUpdate(ctx, data, len); in EVP_SignUpdate()
120 return EVP_DigestUpdate(ctx, data, len); in EVP_VerifyUpdate()
Ddigestsign.c117 return EVP_DigestUpdate(ctx, data, len); in EVP_DigestSignUpdate()
121 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/
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.java197 public static native void EVP_DigestUpdate(NativeRef.EVP_MD_CTX ctx, in EVP_DigestUpdate() method in NativeCrypto
/external/openssh/
Ddigest-openssl.c144 if (EVP_DigestUpdate(&ctx->mdctx, m, mlen) != 1) in ssh_digest_update()
Dconfigure.ac2578 AC_MSG_CHECKING([if EVP_DigestUpdate returns an int])
2584 if(EVP_DigestUpdate(NULL, NULL,0))
2593 [Define if EVP_DigestUpdate returns void])
/external/boringssl/src/tool/
Ddigest.cc159 if (!EVP_DigestUpdate(ctx.get(), buf.get(), n)) { in SumFile()
Dspeed.cc317 EVP_DigestUpdate(ctx, scratch, chunk_len) && in SpeedHashChunk()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c136 if (!EVP_DigestUpdate(ctx, addr[i], len[i])) { in openssl_digest_vector()

12