/third_party/openssl/apps/ |
D | passwd.c | 378 || !EVP_DigestUpdate(md, passwd, passwd_len)) in md5crypt() 382 if (!EVP_DigestUpdate(md, ascii_dollar, 1) in md5crypt() 383 || !EVP_DigestUpdate(md, ascii_magic, magic_len) in md5crypt() 384 || !EVP_DigestUpdate(md, ascii_dollar, 1)) in md5crypt() 387 if (!EVP_DigestUpdate(md, ascii_salt, salt_len)) in md5crypt() 393 || !EVP_DigestUpdate(md2, passwd, passwd_len) in md5crypt() 394 || !EVP_DigestUpdate(md2, ascii_salt, salt_len) in md5crypt() 395 || !EVP_DigestUpdate(md2, passwd, passwd_len) in md5crypt() 400 if (!EVP_DigestUpdate(md, buf, sizeof(buf))) in md5crypt() 403 if (!EVP_DigestUpdate(md, buf, i)) in md5crypt() [all …]
|
/third_party/openssl/crypto/ec/curve448/ |
D | eddsa.c | 39 || !EVP_DigestUpdate(hashctx, in, inlen) in oneshot_hash() 85 || !EVP_DigestUpdate(hashctx, dom_s, strlen(dom_s)) in hash_init_with_dom() 86 || !EVP_DigestUpdate(hashctx, dom, sizeof(dom)) in hash_init_with_dom() 87 || !EVP_DigestUpdate(hashctx, context, context_len)) { in hash_init_with_dom() 195 || !EVP_DigestUpdate(hashctx, in ossl_c448_ed448_sign() 198 || !EVP_DigestUpdate(hashctx, message, message_len)) { in ossl_c448_ed448_sign() 237 || !EVP_DigestUpdate(hashctx, nonce_point, sizeof(nonce_point)) in ossl_c448_ed448_sign() 238 || !EVP_DigestUpdate(hashctx, pubkey, EDDSA_448_PUBLIC_BYTES) in ossl_c448_ed448_sign() 239 || !EVP_DigestUpdate(hashctx, message, message_len) in ossl_c448_ed448_sign() 336 || !EVP_DigestUpdate(hashctx, signature, EDDSA_448_PUBLIC_BYTES) in ossl_c448_ed448_verify() [all …]
|
/third_party/openssl/crypto/ct/ |
D | ct_vfy.c | 58 if (!EVP_DigestUpdate(ctx, tmpbuf, p - tmpbuf)) in sct_ctx_update() 65 if (!EVP_DigestUpdate(ctx, sctx->ihash, sctx->ihashlen)) in sct_ctx_update() 79 if (!EVP_DigestUpdate(ctx, tmpbuf, 3)) in sct_ctx_update() 81 if (!EVP_DigestUpdate(ctx, der, derlen)) in sct_ctx_update() 87 if (!EVP_DigestUpdate(ctx, tmpbuf, 2)) in sct_ctx_update() 90 if (sct->ext_len && !EVP_DigestUpdate(ctx, sct->ext, sct->ext_len)) in sct_ctx_update()
|
/third_party/openssl/ssl/ |
D | s3_enc.c | 51 || !EVP_DigestUpdate(s1, buf, k) in ssl3_generate_key_block() 52 || !EVP_DigestUpdate(s1, s->session->master_key, in ssl3_generate_key_block() 54 || !EVP_DigestUpdate(s1, s->s3.server_random, SSL3_RANDOM_SIZE) in ssl3_generate_key_block() 55 || !EVP_DigestUpdate(s1, s->s3.client_random, SSL3_RANDOM_SIZE) in ssl3_generate_key_block() 58 || !EVP_DigestUpdate(m5, s->session->master_key, in ssl3_generate_key_block() 60 || !EVP_DigestUpdate(m5, smd, SHA_DIGEST_LENGTH)) { in ssl3_generate_key_block() 358 ret = EVP_DigestUpdate(s->s3.handshake_dgst, buf, len); in ssl3_finish_mac() 393 || !EVP_DigestUpdate(s->s3.handshake_dgst, hdata, hdatalen)) { in ssl3_digest_cached_records() 455 if (EVP_DigestUpdate(ctx, sender, len) <= 0 in ssl3_final_finish_mac() 495 || EVP_DigestUpdate(ctx, salt[i], in ssl3_generate_master_secret() [all …]
|
D | s3_cbc.c | 492 if (EVP_DigestUpdate(md_ctx, mac_secret, mac_secret_length) <= 0 in ssl3_cbc_digest_record() 493 || EVP_DigestUpdate(md_ctx, hmac_pad, sslv3_pad_length) <= 0 in ssl3_cbc_digest_record() 494 || EVP_DigestUpdate(md_ctx, mac_out, md_size) <= 0) in ssl3_cbc_digest_record() 501 if (EVP_DigestUpdate(md_ctx, hmac_pad, md_block_size) <= 0 in ssl3_cbc_digest_record() 502 || EVP_DigestUpdate(md_ctx, mac_out, md_size) <= 0) in ssl3_cbc_digest_record()
|
/third_party/openssl/crypto/sm2/ |
D | sm2_sign.c | 82 if (!EVP_DigestUpdate(hash, &e_byte, 1)) { in ossl_sm2_compute_z_digest() 87 if (!EVP_DigestUpdate(hash, &e_byte, 1)) { in ossl_sm2_compute_z_digest() 92 if (id_len > 0 && !EVP_DigestUpdate(hash, id, id_len)) { in ossl_sm2_compute_z_digest() 110 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest() 112 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest() 117 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest() 119 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest() 124 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest() 126 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest() 178 || !EVP_DigestUpdate(hash, z, md_size) in sm2_compute_msg_hash() [all …]
|
D | sm2_crypt.c | 223 || EVP_DigestUpdate(hash, x2y2, field_size) == 0 in ossl_sm2_encrypt() 224 || EVP_DigestUpdate(hash, msg, msg_len) == 0 in ossl_sm2_encrypt() 225 || EVP_DigestUpdate(hash, x2y2 + field_size, field_size) == 0 in ossl_sm2_encrypt() 377 || !EVP_DigestUpdate(hash, x2y2, field_size) in ossl_sm2_decrypt() 378 || !EVP_DigestUpdate(hash, ptext_buf, msg_len) in ossl_sm2_decrypt() 379 || !EVP_DigestUpdate(hash, x2y2 + field_size, field_size) in ossl_sm2_decrypt()
|
/third_party/openssl/providers/implementations/kdfs/ |
D | sshkdf.c | 246 if (!EVP_DigestUpdate(md, key, key_len)) in SSHKDF() 249 if (!EVP_DigestUpdate(md, xcghash, xcghash_len)) in SSHKDF() 252 if (!EVP_DigestUpdate(md, &type, 1)) in SSHKDF() 255 if (!EVP_DigestUpdate(md, session_id, session_id_len)) in SSHKDF() 274 if (!EVP_DigestUpdate(md, key, key_len)) in SSHKDF() 277 if (!EVP_DigestUpdate(md, xcghash, xcghash_len)) in SSHKDF() 280 if (!EVP_DigestUpdate(md, okey, cursize)) in SSHKDF()
|
D | pbkdf1.c | 67 || !EVP_DigestUpdate(ctx, pass, passlen) in kdf_pbkdf1_do_derive() 68 || !EVP_DigestUpdate(ctx, salt, saltlen) in kdf_pbkdf1_do_derive() 77 if (!EVP_DigestUpdate(ctx, md_tmp, mdsize)) in kdf_pbkdf1_do_derive()
|
D | pkcs12kdf.c | 96 || !EVP_DigestUpdate(ctx, D, v) in pkcs12kdf_derive() 97 || !EVP_DigestUpdate(ctx, I, Ilen) in pkcs12kdf_derive() 102 || !EVP_DigestUpdate(ctx, Ai, u) in pkcs12kdf_derive()
|
D | sskdf.c | 131 && (append_ctr || EVP_DigestUpdate(ctx, c, sizeof(c))) in SSKDF_hash_kdm() 132 && EVP_DigestUpdate(ctx, z, z_len) in SSKDF_hash_kdm() 133 && (!append_ctr || EVP_DigestUpdate(ctx, c, sizeof(c))) in SSKDF_hash_kdm() 134 && EVP_DigestUpdate(ctx, info, info_len))) in SSKDF_hash_kdm()
|
/third_party/openssl/crypto/evp/ |
D | evp_key.c | 103 if (!EVP_DigestUpdate(c, &(md_buf[0]), mds)) in EVP_BytesToKey() 105 if (!EVP_DigestUpdate(c, data, datal)) in EVP_BytesToKey() 108 if (!EVP_DigestUpdate(c, salt, PKCS5_SALT_LEN)) in EVP_BytesToKey() 116 if (!EVP_DigestUpdate(c, &(md_buf[0]), mds)) in EVP_BytesToKey()
|
D | bio_ok.c | 462 if (!EVP_DigestUpdate(md, WELLKNOWN, strlen(WELLKNOWN))) in sig_out() 502 if (!EVP_DigestUpdate(md, WELLKNOWN, strlen(WELLKNOWN))) in sig_in() 543 if (!EVP_DigestUpdate(md, in block_out() 582 if (!EVP_DigestUpdate(md, in block_in()
|
D | bio_md.c | 91 if (EVP_DigestUpdate(ctx, (unsigned char *)out, in md_read() 117 if (!EVP_DigestUpdate(ctx, (const unsigned char *)in, in md_write()
|
/third_party/openssl/crypto/rsa/ |
D | rsa_pss.c | 122 || !EVP_DigestUpdate(ctx, zeroes, sizeof(zeroes)) in RSA_verify_PKCS1_PSS_mgf1() 123 || !EVP_DigestUpdate(ctx, mHash, hLen)) in RSA_verify_PKCS1_PSS_mgf1() 126 if (!EVP_DigestUpdate(ctx, DB + i, maskedDBLen - i)) in RSA_verify_PKCS1_PSS_mgf1() 217 || !EVP_DigestUpdate(ctx, zeroes, sizeof(zeroes)) in RSA_padding_add_PKCS1_PSS_mgf1() 218 || !EVP_DigestUpdate(ctx, mHash, hLen)) in RSA_padding_add_PKCS1_PSS_mgf1() 220 if (sLen && !EVP_DigestUpdate(ctx, salt, sLen)) in RSA_padding_add_PKCS1_PSS_mgf1()
|
/third_party/openssl/providers/implementations/rands/ |
D | drbg_hash.c | 104 && EVP_DigestUpdate(ctx, tmp, tmp_sz) in hash_df() 105 && EVP_DigestUpdate(ctx, in, inlen) in hash_df() 106 && (in2 == NULL || EVP_DigestUpdate(ctx, in2, in2len)) in hash_df() 107 && (in3 == NULL || EVP_DigestUpdate(ctx, in3, in3len)))) in hash_df() 182 && EVP_DigestUpdate(ctx, &inbyte, 1) in add_hash_to_v() 183 && EVP_DigestUpdate(ctx, hash->V, drbg->seedlen) in add_hash_to_v() 184 && (adin == NULL || EVP_DigestUpdate(ctx, adin, adinlen)) in add_hash_to_v() 218 || !EVP_DigestUpdate(hash->ctx, hash->vtmp, drbg->seedlen)) in hash_gen()
|
/third_party/openssl/crypto/hmac/ |
D | hmac.c | 62 || !EVP_DigestUpdate(ctx->md_ctx, key, len) in HMAC_Init_ex() 79 || !EVP_DigestUpdate(ctx->i_ctx, pad, in HMAC_Init_ex() 86 || !EVP_DigestUpdate(ctx->o_ctx, pad, in HMAC_Init_ex() 114 return EVP_DigestUpdate(ctx->md_ctx, data, len); in HMAC_Update() 129 if (!EVP_DigestUpdate(ctx->md_ctx, buf, i)) in HMAC_Final()
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-client.c | 784 EVP_DigestUpdate(mdctx, &info->ssl_client_options_set, 789 EVP_DigestUpdate(mdctx, &info->ssl_client_options_clear, 794 EVP_DigestUpdate(mdctx, cipher_list, strlen(cipher_list)); 798 EVP_DigestUpdate(mdctx, info->client_tls_1_3_plus_cipher_list, 804 EVP_DigestUpdate(mdctx, &c, 1); 808 EVP_DigestUpdate(mdctx, ca_filepath, strlen(ca_filepath)); 811 EVP_DigestUpdate(mdctx, cert_filepath, strlen(cert_filepath)); 814 EVP_DigestUpdate(mdctx, private_key_filepath, 817 EVP_DigestUpdate(mdctx, ca_mem, ca_mem_len); 820 EVP_DigestUpdate(mdctx, cert_mem, cert_mem_len);
|
/third_party/openssl/crypto/srp/ |
D | srp_lib.c | 167 || !EVP_DigestUpdate(ctxt, user, strlen(user)) in SRP_Calc_x_ex() 168 || !EVP_DigestUpdate(ctxt, ":", 1) in SRP_Calc_x_ex() 169 || !EVP_DigestUpdate(ctxt, pass, strlen(pass)) in SRP_Calc_x_ex() 175 if (!EVP_DigestUpdate(ctxt, cs, BN_num_bytes(s))) in SRP_Calc_x_ex() 178 if (!EVP_DigestUpdate(ctxt, dig, sizeof(dig)) in SRP_Calc_x_ex()
|
/third_party/openssl/crypto/bn/ |
D | bn_rand.c | 299 || !EVP_DigestUpdate(mdctx, &done, sizeof(done)) in BN_generate_dsa_nonce() 300 || !EVP_DigestUpdate(mdctx, private_bytes, in BN_generate_dsa_nonce() 302 || !EVP_DigestUpdate(mdctx, message, message_len) in BN_generate_dsa_nonce() 303 || !EVP_DigestUpdate(mdctx, random_bytes, sizeof(random_bytes)) in BN_generate_dsa_nonce()
|
/third_party/openssl/crypto/crmf/ |
D | crmf_pbm.c | 171 if (!EVP_DigestUpdate(ctx, sec, seclen)) in OSSL_CRMF_pbm_new() 174 if (!EVP_DigestUpdate(ctx, pbmp->salt->data, pbmp->salt->length)) in OSSL_CRMF_pbm_new() 189 if (!EVP_DigestUpdate(ctx, basekey, bklen)) in OSSL_CRMF_pbm_new()
|
/third_party/openssl/test/ |
D | mdc2test.c | 69 || !TEST_true(EVP_DigestUpdate(c, (unsigned char *)text, tlen)) in test_mdc2() 76 || !TEST_true(EVP_DigestUpdate(c, (unsigned char *)text, tlen)) in test_mdc2()
|
/third_party/openssl/doc/life-cycles/ |
D | digest.dot | 13 initialised -> updated [label="EVP_DigestUpdate", weight=3]; 14 updated -> updated [label="EVP_DigestUpdate"];
|
/third_party/openssl/demos/digest/ |
D | EVP_MD_demo.c | 137 if (EVP_DigestUpdate(digest_context, hamlet_1, strlen(hamlet_1)) != 1) { in demonstrate_digest() 141 if (EVP_DigestUpdate(digest_context, hamlet_2, strlen(hamlet_2)) != 1) { in demonstrate_digest()
|
/third_party/openssl/providers/implementations/macs/ |
D | kmac_prov.c | 319 && EVP_DigestUpdate(ctx, out, out_len) in kmac_init() 320 && EVP_DigestUpdate(ctx, kctx->key, kctx->key_len); in kmac_init() 330 return EVP_DigestUpdate(kctx->ctx, data, datalen); in kmac_update() 349 && EVP_DigestUpdate(ctx, encoded_outlen, len) in kmac_final()
|