Home
last modified time | relevance | path

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

12

/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()
Dtls_cbc.c483 EVP_DigestUpdate(&md_ctx, hmac_pad, md_block_size); in EVP_tls_cbc_digest_record()
484 EVP_DigestUpdate(&md_ctx, mac_out, md_size); in EVP_tls_cbc_digest_record()
/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/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/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()
/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/ssl/
Dssl_transcript.cc167 EVP_DigestUpdate(ctx, buf->data, buf->length); in InitDigestWithData()
221 EVP_DigestUpdate(hash_.get(), in.data(), in.size()); in Update()
Dtls13_enc.cc505 !EVP_DigestUpdate(ctx.get(), hs->transcript.buffer().data(), in tls13_write_psk_binder()
507 !EVP_DigestUpdate(ctx.get(), msg, len - hash_len - 3) || in tls13_write_psk_binder()
/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.c200 int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t len) { in EVP_DigestUpdate() function
228 EVP_DigestUpdate(&ctx, data, count) && in EVP_Digest()
/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/u-boot/tools/
Dmxsimage.c317 EVP_DigestUpdate(md_ctx, sb_header_ptr, sizeof(*sb_header)); in sb_encrypt_sb_header()
334 EVP_DigestUpdate(md_ctx, sb_sections_header_ptr, size); in sb_encrypt_sb_sections_header()
346 EVP_DigestUpdate(md_ctx, &ictx->sb_dict_key, sizeof(ictx->sb_dict_key)); in sb_encrypt_key_dictionary_key()
353 EVP_DigestUpdate(md_ctx, &ictx->sb_dict_key, sizeof(ictx->sb_dict_key)); in sb_decrypt_key_dictionary_key()
366 EVP_DigestUpdate(md_ctx, &cctx->c_payload, sizeof(*cmd)); in sb_encrypt_tag()
414 EVP_DigestUpdate(ictx->md_ctx, cctx->data, in sb_encrypt_image()
1398 EVP_DigestUpdate(md_ctx, hdr->signature1, in sb_postfill_image_header()
1676 EVP_DigestUpdate(md_ctx, hdr->signature1, in sb_verify_image_header()
1804 EVP_DigestUpdate(md_ctx, &cctx->c_payload, sizeof(*cmd)); in sb_decrypt_tag()
1856 EVP_DigestUpdate(ictx->md_ctx, cctx->data, asize); in sb_verify_command()
/external/webrtc/webrtc/base/
Dopenssldigest.cc44 EVP_DigestUpdate(&ctx_, buf, len); in Update()
/external/boringssl/src/
DAPI-CONVENTIONS.md129 EVP_DigestUpdate(&ctx, "hello ", 6) &&
130 EVP_DigestUpdate(&ctx, "world", 5) &&
148 !EVP_DigestUpdate(&ctx, "hello ", 6) ||
149 !EVP_DigestUpdate(&ctx, "world", 5) ||
/external/boringssl/src/include/openssl/
Ddigest.h144 OPENSSL_EXPORT int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data,
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLMessageDigestJDK.java100 NativeCrypto.EVP_DigestUpdate(ctx, input, offset, len); in engineUpdate()
DNativeCrypto.java227 static native void EVP_DigestUpdate( in EVP_DigestUpdate() method in NativeCrypto
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLMessageDigestJDK.java103 NativeCrypto.EVP_DigestUpdate(ctx, input, offset, len); in engineUpdate()
/external/openssh/
Ddigest-openssl.c144 if (EVP_DigestUpdate(&ctx->mdctx, m, mlen) != 1) in ssh_digest_update()
/external/fsverity-utils/
Dhash_algs.c44 if (EVP_DigestUpdate(ctx->md_ctx, data, size) != 1) in openssl_digest_update()
/external/boringssl/src/tool/
Ddigest.cc159 if (!EVP_DigestUpdate(ctx.get(), buf.get(), n)) { in SumFile()
Dspeed.cc451 EVP_DigestUpdate(ctx.get(), scratch, chunk_len) && in SpeedHashChunk()
/external/python/cpython2/Modules/
D_hashopenssl.c163 EVP_DigestUpdate(self->ctx, (const void*)cp, process); in EVP_hash()
/external/python/cpython3/Modules/
D_hashopenssl.c140 if (!EVP_DigestUpdate(self->ctx, (const void*)cp, process)) { in EVP_hash()

12