Searched refs:authkey (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/external/bsd/libfido2/dist/src/ |
| H A D | authkey.c | 13 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 D | CMakeLists.txt | 11 authkey.c
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| H A D | bss_dgram.c | 1332 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()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
| H A D | bss_dgram.c | 1350 struct sctp_authkey *authkey = NULL; in dgram_sctp_ctrl() local 1412 authkey = OPENSSL_malloc(sockopt_len); in dgram_sctp_ctrl() 1413 if (authkey == NULL) { in dgram_sctp_ctrl() 1417 memset(authkey, 0, sockopt_len); in dgram_sctp_ctrl() 1418 authkey->sca_keynumber = authkeyid.scact_keynumber + 1; in dgram_sctp_ctrl() 1424 authkey->sca_keylength = 64; in dgram_sctp_ctrl() 1426 memcpy(&authkey->sca_key[0], ptr, 64 * sizeof(uint8_t)); in dgram_sctp_ctrl() 1429 setsockopt(b->num, IPPROTO_SCTP, SCTP_AUTH_KEY, authkey, in dgram_sctp_ctrl() 1431 OPENSSL_free(authkey); in dgram_sctp_ctrl() 1432 authkey = NULL; in dgram_sctp_ctrl()
|
| /netbsd-src/external/bsd/wpa/dist/src/wps/ |
| H A D | wps_common.c | 117 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()
|
| /netbsd-src/external/bsd/libfido2/dist/fuzz/ |
| H A D | functions.txt | 80 File '/libfido2/src/authkey.c': 84 authkey.c:fido_dev_authkey_wait 10 0 100.00% 7 0 100.00% 85 authkey.c:fido_dev_authkey_tx 19 0 100.00% 25 0 100.00% 86 authkey.c:fido_dev_authkey_rx 14 0 100.00% 21 0 100.00% 87 authkey.c:parse_authkey 8 0 100.00% 10 0 100.00%
|
| H A D | summary.txt | 15 src/authkey.c 52 0 100.00% 5 …
|