Home
last modified time | relevance | path

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

12

/external/boringssl/src/ssl/
Ds3_enc.c195 EVP_DigestUpdate(&sha1, buf, k); in ssl3_prf()
196 EVP_DigestUpdate(&sha1, secret, secret_len); in ssl3_prf()
199 EVP_DigestUpdate(&sha1, seed1, seed1_len); in ssl3_prf()
202 EVP_DigestUpdate(&sha1, seed2, seed2_len); in ssl3_prf()
210 EVP_DigestUpdate(&md5, secret, secret_len); in ssl3_prf()
211 EVP_DigestUpdate(&md5, smd, SHA_DIGEST_LENGTH); in ssl3_prf()
273 EVP_DigestUpdate(s->s3->handshake_dgst[i], buf, len); in ssl3_finish_mac()
316 EVP_DigestUpdate(s->s3->handshake_dgst[i], hdata, hdatalen); in ssl3_digest_cached_records()
394 EVP_DigestUpdate(&ctx, sender, len); in ssl3_handshake_mac()
396 EVP_DigestUpdate(&ctx, s->session->master_key, s->session->master_key_length); in ssl3_handshake_mac()
[all …]
Dt1_lib.c2538 EVP_DigestUpdate(md, kClientIDMagic, sizeof(kClientIDMagic)); in tls1_channel_id_hash()
2542 EVP_DigestUpdate(md, kResumptionMagic, sizeof(kResumptionMagic)); in tls1_channel_id_hash()
2546 EVP_DigestUpdate(md, s->session->original_handshake_hash, in tls1_channel_id_hash()
2560 EVP_DigestUpdate(md, temp_digest, temp_digest_len); in tls1_channel_id_hash()
Ds3_both.c476 !EVP_DigestUpdate(&mctx, hdata, hdatalen) || in ssl3_cert_verify_hash()
/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.c54 !EVP_DigestUpdate(&md_ctx, pad, pad_len) || in ssl3_mac()
55 !EVP_DigestUpdate(&md_ctx, ad, ad_len) || in ssl3_mac()
56 !EVP_DigestUpdate(&md_ctx, ad_extra, sizeof(ad_extra)) || in ssl3_mac()
57 !EVP_DigestUpdate(&md_ctx, in, in_len) || in ssl3_mac()
65 !EVP_DigestUpdate(&md_ctx, pad, pad_len) || in ssl3_mac()
66 !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.c488 EVP_DigestUpdate(&md_ctx, hmac_pad, md_block_size); in EVP_tls_cbc_digest_record()
489 EVP_DigestUpdate(&md_ctx, mac_out, md_size); in EVP_tls_cbc_digest_record()
/external/boringssl/src/crypto/hmac/
Dhmac.c127 !EVP_DigestUpdate(&ctx->md_ctx, key, key_len) || in HMAC_Init_ex()
145 !EVP_DigestUpdate(&ctx->i_ctx, pad, EVP_MD_block_size(md))) { in HMAC_Init_ex()
153 !EVP_DigestUpdate(&ctx->o_ctx, pad, EVP_MD_block_size(md))) { in HMAC_Init_ex()
168 return EVP_DigestUpdate(&ctx->md_ctx, data, data_len); in HMAC_Update()
179 !EVP_DigestUpdate(&ctx->md_ctx, buf, i) || in HMAC_Final()
/external/boringssl/src/crypto/rsa/
Dpadding.c348 !EVP_DigestUpdate(&c, seed, seedlen) || !EVP_DigestUpdate(&c, cnt, 4)) { in PKCS1_MGF1()
632 !EVP_DigestUpdate(&ctx, zeroes, sizeof zeroes) || in RSA_verify_PKCS1_PSS_mgf1()
633 !EVP_DigestUpdate(&ctx, mHash, hLen)) { in RSA_verify_PKCS1_PSS_mgf1()
637 if (!EVP_DigestUpdate(&ctx, DB + i, maskedDBLen - i)) { in RSA_verify_PKCS1_PSS_mgf1()
729 !EVP_DigestUpdate(&ctx, zeroes, sizeof zeroes) || in RSA_padding_add_PKCS1_PSS_mgf1()
730 !EVP_DigestUpdate(&ctx, mHash, hLen)) { in RSA_padding_add_PKCS1_PSS_mgf1()
733 if (sLen && !EVP_DigestUpdate(&ctx, salt, sLen)) { in RSA_padding_add_PKCS1_PSS_mgf1()
/external/boringssl/src/crypto/digest/
Ddigest_test.cc169 if (!EVP_DigestUpdate(ctx.get(), test->input, strlen(test->input))) { in TestDigest()
189 if (!EVP_DigestUpdate(ctx.get(), NULL, 0)) { in TestDigest()
195 if (!EVP_DigestUpdate(ctx.get(), p, 1)) { in TestDigest()
Ddigest.c201 int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t len) { in EVP_DigestUpdate() function
229 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.c140 return EVP_DigestUpdate(ctx, data, len); in EVP_DigestSignUpdate()
144 return EVP_DigestUpdate(ctx, data, len); in EVP_DigestVerifyUpdate()
/external/boringssl/src/crypto/x509/
Dx509_cmp.c94 if (!EVP_DigestUpdate(&ctx,(unsigned char *)f,strlen(f))) in X509_issuer_and_serial_hash()
97 if(!EVP_DigestUpdate(&ctx,(unsigned char *)a->cert_info->serialNumber->data, 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/include/openssl/
Ddigest.h138 OPENSSL_EXPORT int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data,
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLMessageDigestJDK.java84 NativeCrypto.EVP_DigestUpdate(ctx, input, offset, len); in engineUpdate()
DOpenSSLMac.java114 NativeCrypto.EVP_DigestUpdate(ctxLocal, input, offset, len); in engineUpdate()
DNativeCrypto.java251 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.ac2545 AC_MSG_CHECKING([if EVP_DigestUpdate returns an int])
2551 if(EVP_DigestUpdate(NULL, NULL,0))
2560 [Define if EVP_DigestUpdate returns void])
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c150 !EVP_DigestUpdate(&ctx, D, v) || in pkcs12_key_gen_raw()
151 !EVP_DigestUpdate(&ctx, I, Ilen) || in pkcs12_key_gen_raw()
157 !EVP_DigestUpdate(&ctx, Ai, u) || in pkcs12_key_gen_raw()
/external/boringssl/src/tool/
Ddigest.cc159 if (!EVP_DigestUpdate(&ctx, buf.get(), n)) { in SumFile()
Dspeed.cc259 EVP_DigestUpdate(ctx, scratch, chunk_len) && in SpeedHashChunk()
/external/libvncserver/x11vnc/
Denc.h1110 EVP_DigestUpdate(&md, rsabuf, SECUREVNC_RSA_PUBKEY_SIZE); in rsa_md5_sum()
1466 EVP_DigestUpdate(&dctx, keystr, SECUREVNC_KEY_SIZE); in securevnc_setup()
1477 EVP_DigestUpdate(&dctx, rsasav, SECUREVNC_RSA_PUBKEY_SIZE); in securevnc_setup()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c79 if (!EVP_DigestUpdate(&ctx, addr[i], len[i])) { in openssl_digest_vector()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp4563 EVP_DigestUpdate);
4569 EVP_DigestUpdate);
4575 EVP_DigestUpdate);
10704 …NATIVE_METHOD(NativeCrypto, EVP_DigestUpdate, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/Nat…

12