Searched refs:hmac (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-10.1-release/tools/regression/ipsec/
H A Dipsec6.t55 hmac-md5:0123456789012345 \
56 hmac-sha1:01234567890123456789 \
57 hmac-ripemd160:01234567890123456789 \
58 hmac-sha2-256:01234567890123456789012345678901 \
59 hmac-sha2-384:012345678901234567890123456789012345678901234567 \
60 hmac-sha2-512:0123456789012345678901234567890123456789012345678901234567890123; do
H A Dipsec.t55 hmac-md5:0123456789012345 \
56 hmac-sha1:01234567890123456789 \
57 hmac-ripemd160:01234567890123456789 \
58 hmac-sha2-256:01234567890123456789012345678901 \
59 hmac-sha2-384:012345678901234567890123456789012345678901234567 \
60 hmac-sha2-512:0123456789012345678901234567890123456789012345678901234567890123; do
/freebsd-10.1-release/crypto/openssl/crypto/hmac/
H A DMakefile5 DIR= hmac
20 LIBSRC=hmac.c hm_ameth.c hm_pmeth.c
21 LIBOBJ=hmac.o hm_ameth.o hm_pmeth.o
25 EXHEADER= hmac.h
95 hm_pmeth.o: ../../include/openssl/hmac.h ../../include/openssl/lhash.h
104 hmac.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
105 hmac.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
106 hmac.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
107 hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac
[all...]
/freebsd-10.1-release/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c64 # include <openssl/hmac.h>
73 HMAC_CTX hmac; local
101 HMAC_CTX_init(&hmac);
102 if (!HMAC_Init_ex(&hmac, key, md_size, md_type, NULL)
103 || !HMAC_Update(&hmac, p12->authsafes->d.data->data,
105 || !HMAC_Final(&hmac, mac, maclen)) {
106 HMAC_CTX_cleanup(&hmac);
109 HMAC_CTX_cleanup(&hmac);
/freebsd-10.1-release/contrib/wpa/src/tls/
H A Dtlsv1_record.c155 struct crypto_hash *hmac; local
207 hmac = crypto_hash_init(rl->hash_alg, rl->write_mac_secret,
209 if (hmac == NULL) {
214 crypto_hash_update(hmac, rl->write_seq_num, TLS_SEQ_NUM_LEN);
216 crypto_hash_update(hmac, ct_start, TLS_RECORD_HEADER_LEN);
217 crypto_hash_update(hmac, payload, payload_len);
222 crypto_hash_finish(hmac, NULL, NULL);
226 if (crypto_hash_finish(hmac, pos, &clen) < 0) {
284 struct crypto_hash *hmac; local
436 hmac
[all...]
/freebsd-10.1-release/tools/regression/geom_eli/
H A Dinit-a.t27 for aalgo in hmac/md5 hmac/sha1 hmac/ripemd160 hmac/sha256 hmac/sha384 hmac/sha512; do
H A Donetime-a.t26 for aalgo in hmac/md5 hmac/sha1 hmac/ripemd160 hmac/sha256 hmac/sha384 hmac/sha512; do
H A Dintegrity-data.t28 for aalgo in hmac/md5 hmac/sha1 hmac/ripemd160 hmac/sha256 hmac/sha384 hmac/sha512; do
H A Dintegrity-hmac.t28 for aalgo in hmac/md5 hmac/sha1 hmac/ripemd160 hmac/sha256 hmac/sha384 hmac/sha512; do
H A Dintegrity-copy.t28 for aalgo in hmac/md5 hmac/sha1 hmac/ripemd160 hmac/sha256 hmac/sha384 hmac/sha512; do
/freebsd-10.1-release/crypto/heimdal/include/
H A Dcrypto-headers.h24 #include <openssl/hmac.h>
50 #include <hcrypto/hmac.h>
/freebsd-10.1-release/kerberos5/include/
H A Dcrypto-headers.h17 #include <openssl/hmac.h>
/freebsd-10.1-release/contrib/ntp/lib/isc/include/isc/
H A Dhmacmd5.h36 #include <openssl/hmac.h>
H A Dhmacsha.h40 #include <openssl/hmac.h>
/freebsd-10.1-release/crypto/openssl/engines/ccgost/
H A Dgost89.h73 unsigned int data_len, unsigned char *hmac);
80 unsigned char *hmac);
/freebsd-10.1-release/contrib/ldns/
H A Dkeys.c5 * and give a general interface for private keys and hmac
40 { LDNS_SIGN_HMACMD5, "hmac-md5.sig-alg.reg.int" },
41 { LDNS_SIGN_HMACSHA1, "hmac-sha1" },
42 { LDNS_SIGN_HMACSHA256, "hmac-sha256" },
300 unsigned char *hmac; local
464 hmac = ldns_key_new_frm_fp_hmac_l(fp, line_nr, &hmac_size);
465 if (!hmac) {
470 ldns_key_set_hmac_key(k, hmac);
832 unsigned char *hmac; local
885 hmac
1032 ldns_key_set_hmac_key(ldns_key *k, unsigned char *hmac) argument
1577 unsigned char* hmac; local
[all...]
/freebsd-10.1-release/contrib/wpa/src/eap_common/
H A Deap_sim_common.c168 unsigned char hmac[SHA1_MAC_LEN]; local
196 hmac_sha1_vector(k_aut, EAP_SIM_K_AUT_LEN, 2, addr, len, hmac);
198 hmac, EAP_SIM_MAC_LEN);
201 return (os_memcmp(hmac, mac, EAP_SIM_MAC_LEN) == 0) ? 0 : 1;
208 unsigned char hmac[SHA1_MAC_LEN]; local
224 hmac_sha1_vector(k_aut, EAP_SIM_K_AUT_LEN, 2, addr, len, hmac);
225 os_memcpy(mac, hmac, EAP_SIM_MAC_LEN);
363 unsigned char hmac[SHA256_MAC_LEN]; local
391 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac);
393 hmac, EAP_SIM_MAC_LE
403 unsigned char hmac[SHA256_MAC_LEN]; local
[all...]
/freebsd-10.1-release/crypto/heimdal/lib/gssapi/ntlm/
H A Dcrypto.c149 unsigned char hmac[16]; local
156 encode_le_uint32(seq, hmac);
157 HMAC_Update(&c, hmac, 4);
159 HMAC_Final(&c, hmac, &hmaclen);
164 RC4(sealkey, 8, hmac, &out[4]);
166 memcpy(&out[4], hmac, 8);
/freebsd-10.1-release/sys/mips/nlm/hal/
H A Dnlmsaelib.h206 * hmac : 1 for hash with hmac
218 nlm_crypto_form_pkt_ctrl_desc(unsigned int hmac, unsigned int hashalg, argument
223 return (left_shift64(hmac, 61, 1) |
303 * hmacpad : 1 if hmac padding is already done
452 * hmac : 1 for hash with hmac
460 nlm_crypto_fill_pkt_ctrl(struct nlm_crypto_pkt_ctrl *ctrl, unsigned int hmac, argument
468 ctrl->desc0 = nlm_crypto_form_pkt_ctrl_desc(hmac, hashalg, hashmode,
500 * hmacpad : hmac paddin
[all...]
/freebsd-10.1-release/crypto/openssl/ssl/
H A DMakefile115 bio_ssl.o: ../include/openssl/hmac.h ../include/openssl/kssl.h
133 d1_both.o: ../include/openssl/evp.h ../include/openssl/hmac.h
154 d1_clnt.o: ../include/openssl/evp.h ../include/openssl/hmac.h
175 d1_enc.o: ../include/openssl/evp.h ../include/openssl/hmac.h
196 d1_lib.o: ../include/openssl/evp.h ../include/openssl/hmac.h
216 d1_meth.o: ../include/openssl/evp.h ../include/openssl/hmac.h
236 d1_pkt.o: ../include/openssl/evp.h ../include/openssl/hmac.h
256 d1_srtp.o: ../include/openssl/evp.h ../include/openssl/hmac.h
277 d1_srvr.o: ../include/openssl/evp.h ../include/openssl/hmac.h
297 kssl.o: ../include/openssl/evp.h ../include/openssl/hmac
[all...]
/freebsd-10.1-release/sys/netinet/
H A Dsctp_auth.c639 alloc_size = sizeof(*new_list) + num_hmacs * sizeof(new_list->hmac[0]);
678 if (list->hmac[i] == hmac_id) {
684 list->hmac[list->num_algo++] = hmac_id;
704 new_list->hmac[i] = list->hmac[i];
736 if (peer->hmac[i] == local->hmac[j]) {
740 peer->hmac[i]);
741 return (peer->hmac[i]);
763 hmac_id = htons(list->hmac[
[all...]
/freebsd-10.1-release/contrib/ldns/ldns/
H A Dkeys.h127 } hmac; member in struct:ldns_struct_key::__anon1606
344 * Set the key's hmac data
346 * \param[in] hmac the raw key data
348 void ldns_key_set_hmac_key(ldns_key *k, unsigned char *hmac);
363 * Set the key's hmac size
365 * \param[in] hmac_size the size of the hmac data
475 * return the hmac key data
477 * \return the hmac key data
487 * return the hmac key size
489 * \return the hmac ke
[all...]
/freebsd-10.1-release/contrib/wpa/src/crypto/
H A Dcrypto_libtomcrypt.c148 hmac_state hmac; member in union:crypto_hash::__anon4689
174 if (hmac_init(&ctx->u.hmac, find_hash("md5"), key, key_len) !=
179 if (hmac_init(&ctx->u.hmac, find_hash("sha1"), key, key_len) !=
208 ctx->error = hmac_process(&ctx->u.hmac, data, len) != CRYPT_OK;
267 if (hmac_done(&ctx->u.hmac, mac, &clen) != CRYPT_OK) {
/freebsd-10.1-release/crypto/openssh/
H A Dkex.h32 #include <openssl/hmac.h>
/freebsd-10.1-release/secure/lib/libssh/
H A DMakefile20 ssh-ed25519.c digest-openssl.c hmac.c \

Completed in 215 milliseconds

123