/openbsd-current/regress/sbin/isakmpd/ |
H A D | Makefile | 32 SUBDIR= crypto dh hmac prf util
|
/openbsd-current/usr.sbin/nsd/ |
H A D | tsig-openssl.h | 17 #include <openssl/hmac.h>
|
/openbsd-current/regress/usr.sbin/snmpd/ |
H A D | snmpd.conf | 18 user auth_md5 authkey testpass auth hmac-md5 19 user auth_sha1 authkey testpass auth hmac-sha1 20 user auth_sha224 authkey testpass auth hmac-sha224 21 user auth_sha256 authkey testpass auth hmac-sha256 22 user auth_sha384 authkey testpass auth hmac-sha384 23 user auth_sha512 authkey testpass auth hmac-sha512 24 user authpriv_md5_des authkey testpass auth hmac-md5 enckey testpass enc des 25 user authpriv_md5_aes authkey testpass auth hmac-md5 enckey testpass enc aes 26 user authpriv_sha1_des authkey testpass auth hmac-sha1 enckey testpass enc des 27 user authpriv_sha1_aes authkey testpass auth hmac [all...] |
H A D | snmpd.sh | 207 user "hans" authkey "password123" auth hmac-sha1 251 user "hans" authkey "password123" auth hmac-sha1 enc aes enckey "321drowssap"
|
/openbsd-current/lib/libcrypto/hkdf/ |
H A D | hkdf.c | 23 #include <openssl/hmac.h> 81 HMAC_CTX *hmac = NULL; local 88 if ((hmac = HMAC_CTX_new()) == NULL) 90 if (!HMAC_Init_ex(hmac, prk, prk_len, digest, NULL)) 103 if (!HMAC_Update(hmac, info, info_len)) 105 if (!HMAC_Update(hmac, &ctr, 1)) 107 if (!HMAC_Final(hmac, out_hmac, NULL)) 119 if (!HMAC_Init_ex(hmac, NULL, 0, NULL, NULL)) 121 if (!HMAC_Update(hmac, out_hmac, digest_len)) 130 HMAC_CTX_free(hmac); [all...] |
/openbsd-current/regress/sys/crypto/ |
H A D | Makefile | 5 SUBDIR+= hmac
|
/openbsd-current/lib/libcrypto/hidden/openssl/ |
H A D | hmac.h | 1 /* $OpenBSD: hmac.h,v 1.2 2023/07/05 21:14:54 bcook Exp $ */ 22 #include_next <openssl/hmac.h> 24 #include "../include/openssl/hmac.h"
|
/openbsd-current/lib/libfido2/src/ |
H A D | config.c | 16 config_prepare_hmac(uint8_t subcmd, const cbor_item_t *item, fido_blob_t *hmac) argument 29 if ((hmac->ptr = malloc(cbor_len + sizeof(prefix))) == NULL) { 33 memcpy(hmac->ptr, prefix, sizeof(prefix)); 34 memcpy(hmac->ptr + sizeof(prefix), cbor, cbor_len); 35 hmac->len = cbor_len + sizeof(prefix); 46 fido_blob_t *ecdh = NULL, f, hmac; local 51 memset(&hmac, 0, sizeof(hmac)); 67 if (config_prepare_hmac(subcmd, argv[1], &hmac) < 0) { 75 if ((r = cbor_add_uv_params(dev, cmd, &hmac, p [all...] |
/openbsd-current/regress/sys/crypto/hmac/ |
H A D | Makefile | 6 SRCS+= md5.c sha1.c sha2.c hmac.c hmac_test.c
|
H A D | hmac_test.c | 21 #include <crypto/hmac.h>
|
/openbsd-current/usr.bin/ssh/ssh-keygen/ |
H A D | Makefile | 6 SRCS+= authfd.c cleanup.c dns.c fatal.c hmac.c hostfile.c \
|
/openbsd-current/usr.bin/ssh/ssh-add/ |
H A D | Makefile | 6 SRCS+= authfd.c cleanup.c fatal.c readpass.c utf8.c hostfile.c hmac.c
|
/openbsd-current/lib/libcrypto/pkcs12/ |
H A D | p12_mutl.c | 68 #include <openssl/hmac.h> 117 HMAC_CTX *hmac = NULL; local 159 if ((hmac = HMAC_CTX_new()) == NULL) 161 if (!HMAC_Init_ex(hmac, key, md_size, md_type, NULL)) 163 if (!HMAC_Update(hmac, aos->data, aos->length)) 165 if (!HMAC_Final(hmac, mac, maclen)) 172 HMAC_CTX_free(hmac);
|
/openbsd-current/sys/arch/octeon/dev/ |
H A D | octcrypto.c | 338 const struct octcrypto_hmac *hmac = NULL; local 432 hmac = ses->ses_hmac; 435 memset(bptr + klen, 0, hmac->blocklen - klen); 436 for (i = 0; i < hmac->blocklen; i++) 440 hmac->set_iv(ses->ses_iiv); 441 hmac->transform(block, hmac->blocklen); 442 hmac->get_iv(ses->ses_iiv); 444 for (i = 0; i < hmac->blocklen; i++) 447 hmac 855 const struct octcrypto_hmac *hmac = ses->ses_hmac; local [all...] |
/openbsd-current/lib/libssl/ |
H A D | t1_enc.c | 142 #include <openssl/hmac.h> 165 unsigned char A1[EVP_MAX_MD_SIZE], hmac[EVP_MAX_MD_SIZE]; local 212 if (!EVP_DigestSignFinal(ctx, hmac, &hmac_len)) 219 out[i] ^= hmac[i]; 241 explicit_bzero(hmac, sizeof(hmac));
|
/openbsd-current/gnu/usr.bin/perl/cpan/Digest-SHA/ |
H A D | SHA.xs | 200 HMAC hmac; 206 if (hmacinit(&hmac, ix2alg[ix], key, (UINT) len) == NULL) 211 hmacwrite(data, MAX_WRITE_SIZE << 3, &hmac); 215 hmacwrite(data, (ULNG) len << 3, &hmac); 217 hmacfinish(&hmac); 220 result = (char *) hmacdigest(&hmac); 221 len = hmac.digestlen; 224 result = hmachex(&hmac); 226 result = hmacbase64(&hmac);
|
/openbsd-current/regress/lib/libcrypto/ |
H A D | Makefile | 31 SUBDIR += hmac
|
/openbsd-current/regress/lib/libradius/ |
H A D | test24.c | 3 #include <openssl/hmac.h>
|
H A D | test23.c | 3 #include <openssl/hmac.h>
|
/openbsd-current/usr.sbin/dhcpd/ |
H A D | sync.c | 31 #include <openssl/hmac.h> 242 u_int8_t hmac[2][DHCP_SYNC_HMAC_LEN]; local 271 memcpy(hmac[0], hdr->sh_hmac, DHCP_SYNC_HMAC_LEN); 274 hmac[1], &hmac_len); local 275 if (bcmp(hmac[0], hmac[1], DHCP_SYNC_HMAC_LEN) != 0)
|
/openbsd-current/usr.bin/dig/lib/isc/include/isc/ |
H A D | hmacsha.h | 36 #include <openssl/hmac.h>
|
/openbsd-current/regress/usr.bin/ssh/unittests/sshkey/ |
H A D | Makefile | 9 SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
/openbsd-current/regress/usr.bin/ssh/unittests/hostkeys/ |
H A D | Makefile | 9 SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
/openbsd-current/regress/usr.bin/ssh/unittests/authopt/ |
H A D | Makefile | 11 SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
/openbsd-current/regress/usr.bin/ssh/unittests/sshsig/ |
H A D | Makefile | 9 SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|