| /freebsd-14.2/crypto/heimdal/kuser/ |
| H A D | kdigest.c | 237 EVP_DigestUpdate(ctx, &server_identifier, 1); in client_chap() 239 EVP_DigestUpdate(ctx, server_nonce, snoncelen); in client_chap() 285 EVP_DigestUpdate(ctx, client_nonce, cnoncelen); in client_mschapv2() 286 EVP_DigestUpdate(ctx, server_nonce, snoncelen); in client_mschapv2() 295 EVP_DigestUpdate(hctx, &password[i], 1); in client_mschapv2() 296 EVP_DigestUpdate(hctx, &password[len], 1); in client_mschapv2() 312 EVP_DigestUpdate(hctx, hmd, sizeof(hmd)); in client_mschapv2() 318 EVP_DigestUpdate(ctx, hmd, sizeof(hmd)); in client_mschapv2() 331 EVP_DigestUpdate(ctx, md, sizeof(md)); in client_mschapv2() 332 EVP_DigestUpdate(ctx, challenge, 8); in client_mschapv2() [all …]
|
| /freebsd-14.2/crypto/openssl/apps/ |
| H A D | passwd.c | 382 if (!EVP_DigestUpdate(md, ascii_dollar, 1) in md5crypt() 387 if (!EVP_DigestUpdate(md, ascii_salt, salt_len)) in md5crypt() 400 if (!EVP_DigestUpdate(md, buf, sizeof(buf))) in md5crypt() 403 if (!EVP_DigestUpdate(md, buf, i)) in md5crypt() 418 if (!EVP_DigestUpdate(md2, in md5crypt() 430 if (!EVP_DigestUpdate(md2, in md5crypt() 625 if (!EVP_DigestUpdate(md, buf, buf_size)) in shacrypt() 628 if (!EVP_DigestUpdate(md, buf, n)) in shacrypt() 633 if (!EVP_DigestUpdate(md, in shacrypt() 679 if (!EVP_DigestUpdate(md2, in shacrypt() [all …]
|
| /freebsd-14.2/crypto/heimdal/kdc/ |
| H A D | digest.c | 706 EVP_DigestUpdate(ctx, ":", 1); in _kdc_do_digest() 709 EVP_DigestUpdate(ctx, ":", 1); in _kdc_do_digest() 715 EVP_DigestUpdate(ctx, ":", 1); in _kdc_do_digest() 718 EVP_DigestUpdate(ctx, ":", 1); in _kdc_do_digest() 722 EVP_DigestUpdate(ctx, ":", 1); in _kdc_do_digest() 736 EVP_DigestUpdate(ctx, in _kdc_do_digest() 759 EVP_DigestUpdate(ctx, ":", 1); in _kdc_do_digest() 762 EVP_DigestUpdate(ctx, ":", 1); in _kdc_do_digest() 765 EVP_DigestUpdate(ctx, ":", 1); in _kdc_do_digest() 933 EVP_DigestUpdate(ctxp, in _kdc_do_digest() [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/ct/ |
| H A 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()
|
| /freebsd-14.2/crypto/heimdal/lib/gssapi/krb5/ |
| H A D | 8003.c | 83 EVP_DigestUpdate(ctx, num, sizeof(num)); in hash_input_chan_bindings() 85 EVP_DigestUpdate(ctx, num, sizeof(num)); in hash_input_chan_bindings() 87 EVP_DigestUpdate(ctx, in hash_input_chan_bindings() 91 EVP_DigestUpdate(ctx, num, sizeof(num)); in hash_input_chan_bindings() 93 EVP_DigestUpdate(ctx, num, sizeof(num)); in hash_input_chan_bindings() 95 EVP_DigestUpdate(ctx, in hash_input_chan_bindings() 99 EVP_DigestUpdate(ctx, num, sizeof(num)); in hash_input_chan_bindings() 101 EVP_DigestUpdate(ctx, in hash_input_chan_bindings()
|
| /freebsd-14.2/crypto/openssl/crypto/ec/curve448/ |
| H A 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() 337 || !EVP_DigestUpdate(hashctx, pubkey, EDDSA_448_PUBLIC_BYTES) in ossl_c448_ed448_verify() [all …]
|
| /freebsd-14.2/crypto/openssl/ssl/ |
| H A 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() 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() 362 ret = EVP_DigestUpdate(s->s3.handshake_dgst, buf, len); in ssl3_finish_mac() 459 if (EVP_DigestUpdate(ctx, sender, len) <= 0 in ssl3_final_finish_mac() 499 || EVP_DigestUpdate(ctx, salt[i], in ssl3_generate_master_secret() 501 || EVP_DigestUpdate(ctx, p, len) <= 0 in ssl3_generate_master_secret() 502 || EVP_DigestUpdate(ctx, &(s->s3.client_random[0]), in ssl3_generate_master_secret() 508 || EVP_DigestUpdate(ctx, p, len) <= 0 in ssl3_generate_master_secret() [all …]
|
| H A 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()
|
| /freebsd-14.2/crypto/openssl/providers/implementations/kdfs/ |
| H A 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()
|
| /freebsd-14.2/crypto/openssl/crypto/sm2/ |
| H A D | sm2_sign.c | 89 if (!EVP_DigestUpdate(hash, &e_byte, 1)) { in ossl_sm2_compute_z_digest() 94 if (!EVP_DigestUpdate(hash, &e_byte, 1)) { in ossl_sm2_compute_z_digest() 99 if (id_len > 0 && !EVP_DigestUpdate(hash, id, id_len)) { 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() 131 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest() 133 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest() 185 || !EVP_DigestUpdate(hash, z, md_size) in sm2_compute_msg_hash() [all …]
|
| H A D | sm2_crypt.c | 241 || EVP_DigestUpdate(hash, x2y2, field_size) == 0 in ossl_sm2_encrypt() 242 || EVP_DigestUpdate(hash, msg, msg_len) == 0 in ossl_sm2_encrypt() 243 || EVP_DigestUpdate(hash, x2y2 + field_size, field_size) == 0 in ossl_sm2_encrypt() 400 || !EVP_DigestUpdate(hash, x2y2, field_size) in ossl_sm2_decrypt() 401 || !EVP_DigestUpdate(hash, ptext_buf, msg_len) in ossl_sm2_decrypt() 402 || !EVP_DigestUpdate(hash, x2y2 + field_size, field_size) in ossl_sm2_decrypt()
|
| /freebsd-14.2/crypto/heimdal/lib/krb5/ |
| H A D | crypto-pk.c | 81 EVP_DigestUpdate(m, &counter, 1); in _krb5_pk_octetstring2key() 82 EVP_DigestUpdate(m, dhdata, dhsize); in _krb5_pk_octetstring2key() 85 EVP_DigestUpdate(m, c_n->data, c_n->length); in _krb5_pk_octetstring2key() 87 EVP_DigestUpdate(m, k_n->data, k_n->length); in _krb5_pk_octetstring2key() 278 EVP_DigestUpdate(m, cdata, 4); in _krb5_pk_kdf() 279 EVP_DigestUpdate(m, dhdata, dhsize); in _krb5_pk_kdf() 280 EVP_DigestUpdate(m, other.data, other.length); in _krb5_pk_kdf()
|
| H A D | crypto-des-common.c | 79 EVP_DigestUpdate(m, p, 8); in _krb5_des_checksum() 80 EVP_DigestUpdate(m, data, len); in _krb5_des_checksum() 116 EVP_DigestUpdate(m, tmp, 8); /* confounder */ in _krb5_des_verify() 117 EVP_DigestUpdate(m, data, len); in _krb5_des_verify()
|
| H A D | salt-arcfour.c | 84 EVP_DigestUpdate (m, &p, 1); in ARCFOUR_string_to_key() 86 EVP_DigestUpdate (m, &p, 1); in ARCFOUR_string_to_key()
|
| /freebsd-14.2/crypto/openssl/crypto/evp/ |
| H A 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()
|
| /freebsd-14.2/crypto/openssl/crypto/hmac/ |
| H A 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()
|
| /freebsd-14.2/crypto/openssl/crypto/rsa/ |
| H A 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()
|
| /freebsd-14.2/crypto/openssl/providers/implementations/rands/ |
| H A 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()
|
| /freebsd-14.2/contrib/bsnmp/lib/ |
| H A D | snmpcrypto.c | 118 if (EVP_DigestUpdate(ctx, key1, SNMP_EXTENDED_KEY_SIZ) != 1 || in snmp_pdu_calc_digest() 119 EVP_DigestUpdate(ctx, pdu->outer_ptr, pdu->outer_len) != 1 || in snmp_pdu_calc_digest() 124 EVP_DigestUpdate(ctx, key2, SNMP_EXTENDED_KEY_SIZ) != 1 || in snmp_pdu_calc_digest() 125 EVP_DigestUpdate(ctx, md, olen) != 1 || in snmp_pdu_calc_digest() 275 if (EVP_DigestUpdate(ctx, authbuf, SNMP_EXTENDED_KEY_SIZ) != 1) in snmp_passwd_to_keys() 322 if (EVP_DigestUpdate(ctx, authbuf, 2 * keylen + elen) != 1 || in snmp_get_local_keys() 361 if (EVP_DigestUpdate(ctx, keychange, 2 * keylen) != 1 || in snmp_calc_keychange()
|
| /freebsd-14.2/contrib/ntp/sntp/ |
| H A D | crypto.c | 94 if (!EVP_DigestUpdate(ctx, key_data, key_size)) { in compute_mac() 99 if (!EVP_DigestUpdate(ctx, pkt_data, pkt_len)) { in compute_mac() 115 EVP_DigestUpdate(ctx, key_data, key_size); in compute_mac() 116 EVP_DigestUpdate(ctx, pkt_data, pkt_len); in compute_mac()
|
| /freebsd-14.2/crypto/openssl/test/ |
| H A 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()
|
| /freebsd-14.2/crypto/openssl/crypto/crmf/ |
| H A 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()
|
| /freebsd-14.2/crypto/openssl/crypto/srp/ |
| H A 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()
|
| /freebsd-14.2/crypto/openssl/doc/life-cycles/ |
| H A D | digest.dot | 13 initialised -> updated [label="EVP_DigestUpdate", weight=3]; 14 updated -> updated [label="EVP_DigestUpdate"];
|
| /freebsd-14.2/crypto/openssl/demos/digest/ |
| H A 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()
|