Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-esp.c322 char *authkey; in esp_print_decode_ikeline() local
328 authkey = strsep(&line, " \t"); in esp_print_decode_ikeline()
332 if(!init || !icookie || !rcookie || !authkey || !enckey) { in esp_print_decode_ikeline()
366 if(!espprint_decode_authalgo(ndo, authkey, &sa1)) return; in esp_print_decode_ikeline()
/external/wpa_supplicant_8/src/wps/
Dwps_attr_process.c42 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); in wps_process_authenticator()
73 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash); in wps_process_key_wrap_auth()
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 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, dev_passwd, in wps_derive_psk()
140 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, in wps_derive_psk()
Dwps_attr_build.c177 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); in wps_build_authenticator()
346 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth()
Dwps_i.h64 u8 authkey[WPS_AUTHKEY_LEN]; member
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()
606 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce1()
646 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce2()
Dwps_registrar.c1445 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1455 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
2212 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce1()
2252 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce2()
/external/openssl/crypto/bio/
Dbss_dgram.c1336 struct sctp_authkey *authkey = NULL; in dgram_sctp_ctrl() local
1390 authkey = OPENSSL_malloc(sockopt_len); in dgram_sctp_ctrl()
1391 if (authkey == NULL) in dgram_sctp_ctrl()
1396 memset(authkey, 0x00, sockopt_len); in dgram_sctp_ctrl()
1397 authkey->sca_keynumber = authkeyid.scact_keynumber + 1; in dgram_sctp_ctrl()
1402 authkey->sca_keylength = 64; in dgram_sctp_ctrl()
1404 memcpy(&authkey->sca_key[0], ptr, 64 * sizeof(uint8_t)); in dgram_sctp_ctrl()
1406 ret = setsockopt(b->num, IPPROTO_SCTP, SCTP_AUTH_KEY, authkey, sockopt_len); in dgram_sctp_ctrl()
1407 OPENSSL_free(authkey); in dgram_sctp_ctrl()
1408 authkey = NULL; in dgram_sctp_ctrl()
/external/chromium_org/third_party/openssl/openssl/crypto/bio/
Dbss_dgram.c1336 struct sctp_authkey *authkey; in dgram_sctp_ctrl() local
1390 authkey = OPENSSL_malloc(sockopt_len); in dgram_sctp_ctrl()
1391 memset(authkey, 0x00, sockopt_len); in dgram_sctp_ctrl()
1392 authkey->sca_keynumber = authkeyid.scact_keynumber + 1; in dgram_sctp_ctrl()
1397 authkey->sca_keylength = 64; in dgram_sctp_ctrl()
1399 memcpy(&authkey->sca_key[0], ptr, 64 * sizeof(uint8_t)); in dgram_sctp_ctrl()
1401 ret = setsockopt(b->num, IPPROTO_SCTP, SCTP_AUTH_KEY, authkey, sockopt_len); in dgram_sctp_ctrl()