Home
last modified time | relevance | path

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

12

/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dhmactest.c119 || !TEST_false(HMAC_Update(ctx, UC(test[4].data), test[4].data_len)) in test_hmac_bad()
121 || !TEST_false(HMAC_Update(ctx, UC(test[4].data), test[4].data_len))) in test_hmac_bad()
144 || !TEST_false(HMAC_Update(ctx, UC(test[4].data), test[4].data_len)) in test_hmac_run()
149 || !TEST_true(HMAC_Update(ctx, UC(test[4].data), test[4].data_len)) in test_hmac_run()
162 || !TEST_true(HMAC_Update(ctx, UC(test[5].data), test[5].data_len)) in test_hmac_run()
171 || !TEST_true(HMAC_Update(ctx, UC(test[6].data), test[6].data_len)) in test_hmac_run()
180 || !TEST_true(HMAC_Update(ctx, UC(test[6].data), test[6].data_len)) in test_hmac_run()
192 || !TEST_true(HMAC_Update(ctx, UC(test[6].data), test[6].data_len)) in test_hmac_run()
234 || !TEST_true(HMAC_Update(ctx, UC(test[7].data), test[7].data_len)) in test_hmac_copy()
H A Dbad_dtls_test.c305 HMAC_Update(ctx, epoch, 2); in send_record()
306 HMAC_Update(ctx, seq, 6); in send_record()
307 HMAC_Update(ctx, &type, 1); in send_record()
308 HMAC_Update(ctx, ver, 2); /* Version */ in send_record()
311 HMAC_Update(ctx, lenbytes, 2); /* Length */ in send_record()
312 HMAC_Update(ctx, enc, len); /* Finally the data itself */ in send_record()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dsp800-108-kdf.c87 HMAC_Update(c, tmp, 4); in _krb5_SP800_108_HMAC_KDF()
88 HMAC_Update(c, kdf_label->data, kdf_label->length); in _krb5_SP800_108_HMAC_KDF()
89 HMAC_Update(c, (unsigned char *)"", 1); in _krb5_SP800_108_HMAC_KDF()
91 HMAC_Update(c, kdf_context->data, kdf_context->length); in _krb5_SP800_108_HMAC_KDF()
93 HMAC_Update(c, tmp, 4); in _krb5_SP800_108_HMAC_KDF()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dhmactest.c118 || !TEST_false(HMAC_Update(ctx, UC(test[4].data), test[4].data_len)) in test_hmac_bad()
120 || !TEST_false(HMAC_Update(ctx, UC(test[4].data), test[4].data_len))) in test_hmac_bad()
144 || !TEST_false(HMAC_Update(ctx, UC(test[4].data), test[4].data_len)) in test_hmac_run()
149 || !TEST_true(HMAC_Update(ctx, UC(test[4].data), test[4].data_len)) in test_hmac_run()
162 || !TEST_true(HMAC_Update(ctx, UC(test[5].data), test[5].data_len)) in test_hmac_run()
171 || !TEST_true(HMAC_Update(ctx, UC(test[6].data), test[6].data_len)) in test_hmac_run()
180 || !TEST_true(HMAC_Update(ctx, UC(test[6].data), test[6].data_len)) in test_hmac_run()
192 || !TEST_true(HMAC_Update(ctx, UC(test[6].data), test[6].data_len)) in test_hmac_run()
234 || !TEST_true(HMAC_Update(ctx, UC(test[7].data), test[7].data_len)) in test_hmac_copy()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/kafs/
H A Drxkad_kdf.c101 HMAC_Update(mctx, &i, 1); in rxkad_derive_des_key()
102 HMAC_Update(mctx, label, sizeof(label)); /* includes label and separator */ in rxkad_derive_des_key()
103 HMAC_Update(mctx, Lbuf, 4); in rxkad_derive_des_key()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Dhmac.h48 #define HMAC_Update hc_HMAC_Update macro
78 void HMAC_Update(HMAC_CTX *ctx, const void *data, size_t len);
H A Dhmac.c133 HMAC_Update(HMAC_CTX *ctx, const void *data, size_t len) in HMAC_Update() function
159 HMAC_Update(&ctx, data, data_size); in HMAC()
H A Dtest_hmac.c57 HMAC_Update(&c, buf, sizeof(buf)); in main()
H A Dvalidate.c282 HMAC_Update(&c, buf, sizeof(buf)); in check_hmac()
/netbsd-src/crypto/external/bsd/heimdal/dist/kdc/
H A Dkx509.c90 HMAC_Update(ctx, version_2_0, sizeof(version_2_0)); in verify_req_hash()
91 HMAC_Update(ctx, req->pk_key.data, req->pk_key.length); in verify_req_hash()
136 HMAC_Update(ctx, version_2_0, sizeof(version_2_0)); in calculate_reply_hash()
141 HMAC_Update(ctx, &p, 1); in calculate_reply_hash()
146 HMAC_Update(ctx, rep->certificate->data, rep->certificate->length); in calculate_reply_hash()
148 HMAC_Update(ctx, (unsigned char *)*rep->e_text, strlen(*rep->e_text)); in calculate_reply_hash()
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DHMAC.pod11 HMAC_Update,
32 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len);
98 HMAC_Update() can be called repeatedly with chunks of the message to
122 HMAC_CTX_reset(), HMAC_Init_ex(), HMAC_Update(), HMAC_Final() and
147 HMAC_Init_ex(), HMAC_Update() and HMAC_Final() did not return values in
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/evp/
H A Dp5_crpt2.c83 if (!HMAC_Update(hctx, salt, saltlen) in PKCS5_PBKDF2_HMAC()
84 || !HMAC_Update(hctx, itmp, 4) in PKCS5_PBKDF2_HMAC()
97 if (!HMAC_Update(hctx, digtmp, mdlen) in PKCS5_PBKDF2_HMAC()
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/kdfs/
H A Dpbkdf2.c339 if (!HMAC_Update(hctx, salt, saltlen) in pbkdf2_derive()
340 || !HMAC_Update(hctx, itmp, 4) in pbkdf2_derive()
347 if (!HMAC_Update(hctx, digtmp, mdlen) in pbkdf2_derive()
H A Dhkdf.c552 if (!HMAC_Update(hmac, prev, dig_len)) in HKDF_Expand()
556 if (!HMAC_Update(hmac, info, info_len)) in HKDF_Expand()
559 if (!HMAC_Update(hmac, &ctr, 1)) in HKDF_Expand()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/kdf/
H A Dhkdf.c325 if (!HMAC_Update(hmac, prev, dig_len)) in HKDF_Expand()
329 if (!HMAC_Update(hmac, info, info_len)) in HKDF_Expand()
332 if (!HMAC_Update(hmac, &ctr, 1)) in HKDF_Expand()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/hmac/
H A Dhmac.c100 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) in HMAC_Update() function
231 if (!HMAC_Update(c, d, n)) in HMAC()
H A Dhm_pmeth.c103 if (!HMAC_Update(hctx->ctx, data, count)) in int_update()
/netbsd-src/lib/libradius/
H A Dradlib.c187 HMAC_Update(ctx, &h->request[POS_CODE], (size_t)(POS_AUTH - POS_CODE)); in insert_message_authenticator()
188 HMAC_Update(ctx, &h->request[POS_AUTH], (size_t)LEN_AUTH); in insert_message_authenticator()
189 HMAC_Update(ctx, &h->request[POS_ATTRS], in insert_message_authenticator()
268 HMAC_Update(hctx, &h->response[POS_CODE], in is_valid_response()
270 HMAC_Update(hctx, &h->request[POS_AUTH], in is_valid_response()
272 HMAC_Update(hctx, &resp[POS_ATTRS], in is_valid_response()
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dhmac.h35 /*__owur*/ int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dhmac.h45 OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
/netbsd-src/external/bsd/libfido2/dist/fuzz/
H A Dwrapped.sym71 HMAC_Update
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dhmac.c82 if (HMAC_Update(hmac, buf, len) != 1) { in isc_hmac_update()
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/
H A Dtls_depr.c122 return HMAC_Update(ctx->old_ctx, data, len); in ssl_hmac_old_update()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/ntlm/
H A Dcrypto.c171 HMAC_Update(c, hmac, 4); in v2_sign_message()
172 HMAC_Update(c, in->value, in->length); in v2_sign_message()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/ntlm/
H A Dntlm.c1347 HMAC_Update(c, ntlmResponse->data, 16); in heim_ntlm_v2_base_session()
1587 HMAC_Update(c, buf.data, buf.length); in heim_ntlm_ntlmv2_key()
1593 HMAC_Update(c, buf.data, buf.length); in heim_ntlm_ntlmv2_key()
2070 HMAC_Update(c, svr_chal, 8); in heim_ntlm_derive_ntlm2_sess()
2071 HMAC_Update(c, clnt_nonce, clnt_nonce_length); in heim_ntlm_derive_ntlm2_sess()

12