Home
last modified time | relevance | path

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

/openbsd/src/lib/libradius/
Dradius_msgauth.c67 if (!HMAC_Update(ctx, (const u_char *)packet->pdata, 4)) in radius_calc_message_authenticator()
69 if (!HMAC_Update(ctx, (unsigned char *)packet->request->pdata in radius_calc_message_authenticator()
73 if (!HMAC_Update(ctx, (const u_char *)packet->pdata, in radius_calc_message_authenticator()
83 if (!HMAC_Update(ctx, (u_char *)attr, 2)) in radius_calc_message_authenticator()
85 if (!HMAC_Update(ctx, (u_char *)zero16, sizeof(zero16))) in radius_calc_message_authenticator()
88 if (!HMAC_Update(ctx, (u_char *)attr, in radius_calc_message_authenticator()
/openbsd/src/regress/lib/libcrypto/hmac/
Dhmactest.c178 if (HMAC_Update(ctx, test[4].data, test[4].data_len)) { in main()
188 if (HMAC_Update(ctx, test[4].data, test[4].data_len)) { in main()
201 if (HMAC_Update(ctx, test[4].data, test[4].data_len)) { in main()
216 if (!HMAC_Update(ctx, test[4].data, test[4].data_len)) { in main()
243 if (!HMAC_Update(ctx, test[5].data, test[5].data_len)) { in main()
265 if (!HMAC_Update(ctx, test[6].data, test[6].data_len)) { in main()
290 if (!HMAC_Update(ctx, test[7].data, test[7].data_len)) { in main()
/openbsd/src/regress/lib/libradius/
Dtest23.c47 HMAC_Update(ctx, responsedata, 4); in test23()
48 HMAC_Update(ctx, packetdata + 4, 16); in test23()
49 HMAC_Update(ctx, responsedata + 20, sizeof(responsedata) - 20); in test23()
/openbsd/src/libexec/spamd/
Dsync.c458 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_update()
472 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_update()
478 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_update()
484 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_update()
490 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_update()
496 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_update()
505 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_update()
549 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_addr()
561 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_addr()
570 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_addr()
/openbsd/src/usr.bin/dig/lib/isc/
Dhmacsha.c54 RUNTIME_CHECK(HMAC_Update(ctx->ctx, buf, (int) len) == 1); in isc_hmacsha1_update()
92 RUNTIME_CHECK(HMAC_Update(ctx->ctx, buf, (int) len) == 1); in isc_hmacsha224_update()
130 RUNTIME_CHECK(HMAC_Update(ctx->ctx, buf, (int) len) == 1); in isc_hmacsha256_update()
168 RUNTIME_CHECK(HMAC_Update(ctx->ctx, buf, (int) len) == 1); in isc_hmacsha384_update()
206 RUNTIME_CHECK(HMAC_Update(ctx->ctx, buf, (int) len) == 1); in isc_hmacsha512_update()
/openbsd/src/lib/libcrypto/hkdf/
Dhkdf.c103 if (!HMAC_Update(hmac, info, info_len)) in HKDF_expand()
105 if (!HMAC_Update(hmac, &ctr, 1)) in HKDF_expand()
121 if (!HMAC_Update(hmac, out_hmac, digest_len)) in HKDF_expand()
/openbsd/src/lib/libcrypto/hmac/
Dhmac.c140 HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) in HMAC_Update() function
147 LCRYPTO_ALIAS(HMAC_Update);
266 if (!HMAC_Update(&c, d, n)) in HMAC()
Dhmac.h84 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len)
Dhm_pmeth.c157 if (!HMAC_Update(&hctx->ctx, data, count)) in int_update()
/openbsd/src/usr.sbin/dhcpd/
Dsync.c421 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_lease()
440 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_lease()
446 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_lease()
455 if (!HMAC_Update(ctx, iov[i].iov_base, iov[i].iov_len)) in sync_lease()
/openbsd/src/lib/libcrypto/evp/
Devp_pbe.c370 if (!HMAC_Update(&hctx, salt, saltlen) || in PKCS5_PBKDF2_HMAC()
371 !HMAC_Update(&hctx, itmp, 4) || in PKCS5_PBKDF2_HMAC()
384 if (!HMAC_Update(&hctx, digtmp, mdlen) || in PKCS5_PBKDF2_HMAC()
/openbsd/src/lib/libssl/
Dt1_lib.c1061 if (HMAC_Update(hctx, CBS_data(&ticket_name), in tls_decrypt_ticket()
1064 if (HMAC_Update(hctx, CBS_data(&ticket_iv), in tls_decrypt_ticket()
1067 if (HMAC_Update(hctx, CBS_data(&ticket_encdata), in tls_decrypt_ticket()
Dtls13_client.c740 if (!HMAC_Update(hmac_ctx, ctx->hs->tls13.transcript_hash, in tls13_server_finished_recv()
1024 if (!HMAC_Update(hmac_ctx, transcript_hash, transcript_hash_len)) in tls13_client_finished_send()
Dtls13_server.c820 if (!HMAC_Update(hmac_ctx, transcript_hash, transcript_hash_len)) in tls13_server_finished_send()
1054 if (!HMAC_Update(hmac_ctx, ctx->hs->tls13.transcript_hash, in tls13_client_finished_recv()
Dssl_srvr.c2270 if (!HMAC_Update(hctx, key_name, sizeof(key_name))) in ssl3_send_newsession_ticket()
2272 if (!HMAC_Update(hctx, iv, EVP_CIPHER_CTX_iv_length(ctx))) in ssl3_send_newsession_ticket()
2274 if (!HMAC_Update(hctx, enc_session, enc_session_len)) in ssl3_send_newsession_ticket()
/openbsd/src/lib/libcrypto/pkcs12/
Dp12_mutl.c163 if (!HMAC_Update(hmac, aos->data, aos->length)) in PKCS12_gen_mac()
/openbsd/src/usr.sbin/nsd/
Dtsig-openssl.c263 HMAC_Update(ctx, (unsigned char *) data, (int) size); in update()
Dacx_nlnetlabs.m422 # 2020-08-24 Use EVP_sha256 instead of HMAC_Update (for openssl-3.0.0).
24 # 2016-03-21 Use HMAC_Update instead of HMAC_CTX_Init (for openssl-1.1.0).
/openbsd/src/sbin/iked/
Dcrypto.c337 HMAC_Update(hash->hash_ctx, buf, len); in hash_update()
962 ret = HMAC_Update(dsa->dsa_ctx, buf, len); in dsa_update()
/openbsd/src/lib/libfido2/src/
Dcbor.c761 HMAC_Update(ctx, new_pin_enc->ptr, new_pin_enc->len) == 0 || in cbor_encode_change_pin_auth()
762 HMAC_Update(ctx, pin_hash_enc->ptr, pin_hash_enc->len) == 0 || in cbor_encode_change_pin_auth()
/openbsd/src/usr.sbin/unbound/
Dacx_nlnetlabs.m422 # 2020-08-24 Use EVP_sha256 instead of HMAC_Update (for openssl-3.0.0).
24 # 2016-03-21 Use HMAC_Update instead of HMAC_CTX_Init (for openssl-1.1.0).
/openbsd/src/lib/libcrypto/
DSymbols.list1437 HMAC_Update
/openbsd/src/usr.bin/openssl/
Dspeed.c1679 if (!HMAC_Update(hctx, buf, lengths[j])) { in speed_main()
/openbsd/src/usr.sbin/unbound/doc/
DChangelog2538 - Change configure to use EVP_sha256 instead of HMAC_Update for
5906 - Fix test for openssl to use HMAC_Update for 1.1.0.
5907 - acx_nlnetlabs.m4 to v33, with HMAC_Update.
/openbsd/src/usr.sbin/nsd/doc/
DChangeLog1844 - Update acx_nlnetlabs.m4 to version 33 with HMAC_Update test.