Home
last modified time | relevance | path

Searched refs:authkey (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/libfido2/src/
H A Dauthkey.c13 es256_pk_t *authkey = arg; in parse_authkey() local
22 return (es256_pk_decode(val, authkey)); in parse_authkey()
62 fido_dev_authkey_rx(fido_dev_t *dev, es256_pk_t *authkey, int *ms) in fido_dev_authkey_rx() argument
69 (void *)authkey, *ms); in fido_dev_authkey_rx()
71 memset(authkey, 0, sizeof(*authkey)); in fido_dev_authkey_rx()
84 r = cbor_parse_reply(msg, (size_t)msglen, authkey, parse_authkey); in fido_dev_authkey_rx()
92 fido_dev_authkey_wait(fido_dev_t *dev, es256_pk_t *authkey, int *ms) in fido_dev_authkey_wait() argument
97 (r = fido_dev_authkey_rx(dev, authkey, ms)) != FIDO_OK) in fido_dev_authkey_wait()
104 fido_dev_authkey(fido_dev_t *dev, es256_pk_t *authkey, int *ms) in fido_dev_authkey() argument
106 return (fido_dev_authkey_wait(dev, authkey, ms)); in fido_dev_authkey()
H A DCMakeLists.txt11 authkey.c
/freebsd/share/examples/ppp/
H A Dppp.conf.span-isp.working53 set authkey "isp1key"
57 set authkey "isp2key"
61 set authkey "isp3key"
70 set authkey "vpnkey"
H A Dppp.conf.span-isp118 set authkey "isp1key"
124 set authkey "isp2key"
130 set authkey "ispNkey"
148 set authkey "vpnkey"
H A Dppp.conf.sample96 set authkey "MyKey"
129 set authkey "somepasswd" # This profile assumes you're using PAP or CHAP.
322 set authkey "MyPassword" # and password
706 set authkey !/usr/share/examples/ppp/chap-auth
/freebsd/crypto/openssl/crypto/bio/
H A Dbss_dgram.c1332 struct sctp_authkey *authkey = NULL; in dgram_sctp_ctrl() local
1394 authkey = OPENSSL_malloc(sockopt_len); in dgram_sctp_ctrl()
1395 if (authkey == NULL) { in dgram_sctp_ctrl()
1399 memset(authkey, 0, sockopt_len); in dgram_sctp_ctrl()
1400 authkey->sca_keynumber = authkeyid.scact_keynumber + 1; in dgram_sctp_ctrl()
1406 authkey->sca_keylength = 64; in dgram_sctp_ctrl()
1408 memcpy(&authkey->sca_key[0], ptr, 64 * sizeof(uint8_t)); in dgram_sctp_ctrl()
1411 setsockopt(b->num, IPPROTO_SCTP, SCTP_AUTH_KEY, authkey, in dgram_sctp_ctrl()
1413 OPENSSL_free(authkey); in dgram_sctp_ctrl()
1414 authkey = NULL; in dgram_sctp_ctrl()
/freebsd/sys/geom/eli/
H A Dg_eli_integrity.c455 u_char *p, *data, *authkey, *plaindata; in g_eli_auth_run() local
516 authkey = (u_char *)p; p += G_ELI_AUTH_SECKEYLEN; in g_eli_auth_run()
573 g_eli_auth_keygen(sc, dstoff, authkey); in g_eli_auth_run()
574 crp->crp_auth_key = authkey; in g_eli_auth_run()
/freebsd/contrib/wpa/src/wps/
H A Dwps_attr_process.c43 if (hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, in wps_process_authenticator()
74 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash) < 0 || in wps_process_key_wrap_auth()
H A Dwps_common.c117 os_memcpy(wps->authkey, keys, WPS_AUTHKEY_LEN); in wps_derive_keys()
123 wps->authkey, WPS_AUTHKEY_LEN); in wps_derive_keys()
137 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, dev_passwd, in wps_derive_psk()
141 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, in wps_derive_psk()
H A Dwps_attr_build.c178 if (hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, in wps_build_authenticator()
382 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth()
H A Dwps_enrollee.c66 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
76 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
647 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce1()
687 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce2()
H A Dwps_i.h64 u8 authkey[WPS_AUTHKEY_LEN]; member
H A Dwps_registrar.c1485 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1495 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
2308 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce1()
2348 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce2()
/freebsd/usr.sbin/ppp/
H A Dppp.conf33 set authkey PASSWORD
H A DREADME.changes128 o The ``!'' at the start of chat scripts and authkey can be made literal
/freebsd/contrib/tcpdump/
H A Dprint-esp.c522 char *authkey; in esp_print_decode_ikeline() local
528 authkey = strsep(&line, " \t"); in esp_print_decode_ikeline()
532 if(!init || !icookie || !rcookie || !authkey || !enckey) { in esp_print_decode_ikeline()
566 if(!espprint_decode_authalgo(ndo, authkey, &sa1)) return; in esp_print_decode_ikeline()
/freebsd/contrib/libfido2/fuzz/
H A Dfunctions.txt84 File '/libfido2/src/authkey.c':
88 authkey.c:fido_dev_authkey_wait 10 0 100.00% 7 0 100.00%
89 authkey.c:fido_dev_authkey_tx 19 0 100.00% 25 0 100.00%
90 authkey.c:fido_dev_authkey_rx 14 0 100.00% 21 0 100.00%
91 authkey.c:parse_authkey 8 0 100.00% 10 0 100.00%
H A Dsummary.txt15 src/authkey.c 52 0 100.00% 5 0 100.00% 66 0 100.00%
/freebsd/lib/libfido2/
H A DMakefile10 SRCS+= authkey.c