Home
last modified time | relevance | path

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

/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dnan.cpp1153 ndp_passphrase_to_pmk(u32 cipher_type, u8 *pmk, u8 *passphrase, in ndp_passphrase_to_pmk() argument
1165 csid = (u8)(cipher_type & 0x7); in ndp_passphrase_to_pmk()
1228 if ((msg->cipher_type != NAN_CIPHER_SUITE_SHARED_KEY_NONE) && in nan_data_request_initiator()
1236 if ((msg->cipher_type != NAN_CIPHER_SUITE_SHARED_KEY_NONE) && in nan_data_request_initiator()
1303 if (msg->cipher_type != NAN_CIPHER_SUITE_SHARED_KEY_NONE) { in nan_data_request_initiator()
1305 msg->cipher_type)){ in nan_data_request_initiator()
1342 ndp_passphrase_to_pmk(msg->cipher_type, in nan_data_request_initiator()
1409 if ((msg->cipher_type != NAN_CIPHER_SUITE_SHARED_KEY_NONE) && in nan_data_indication_response()
1462 if (msg->cipher_type != NAN_CIPHER_SUITE_SHARED_KEY_NONE) { in nan_data_indication_response()
1464 msg->cipher_type)){ in nan_data_indication_response()
[all …]
Dnan_req.cpp787 (pReq->cipher_type ? SIZEOF_TLV_HDR + sizeof(NanCsidType) : 0) + in putNanPublish()
871 if (pReq->cipher_type) { in putNanPublish()
873 pNanCsidType.csid_type = pReq->cipher_type; in putNanPublish()
1081 (pReq->cipher_type ? SIZEOF_TLV_HDR + sizeof(NanCsidType) : 0) + in putNanSubscribe()
1173 if (pReq->cipher_type) { in putNanSubscribe()
1175 pNanCsidType.csid_type = pReq->cipher_type; in putNanSubscribe()
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/
Dwifi_nan.h1273 u32 cipher_type; member
1459 u32 cipher_type; member
2465 u32 cipher_type; member
2529 u32 cipher_type; member
2785 u32 cipher_type; member
2837 u32 cipher_type; member
2889 u32 cipher_type; member
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dnan.cpp915 if ((msg->cipher_type != NAN_CIPHER_SUITE_SHARED_KEY_NONE) && in nan_data_request_initiator()
923 if ((msg->cipher_type != NAN_CIPHER_SUITE_SHARED_KEY_NONE) && in nan_data_request_initiator()
981 if (msg->cipher_type != NAN_CIPHER_SUITE_SHARED_KEY_NONE) { in nan_data_request_initiator()
983 msg->cipher_type)) in nan_data_request_initiator()
1037 if ((msg->cipher_type != NAN_CIPHER_SUITE_SHARED_KEY_NONE) && in nan_data_indication_response()
1084 if (msg->cipher_type != NAN_CIPHER_SUITE_SHARED_KEY_NONE) { in nan_data_indication_response()
1086 msg->cipher_type)) in nan_data_indication_response()
Dnan_req.cpp753 (pReq->cipher_type ? SIZEOF_TLV_HDR + sizeof(NanCsidType) : 0) + in putNanPublish()
837 if (pReq->cipher_type) { in putNanPublish()
839 pNanCsidType.csid_type = pReq->cipher_type; in putNanPublish()
1047 (pReq->cipher_type ? SIZEOF_TLV_HDR + sizeof(NanCsidType) : 0) + in putNanSubscribe()
1137 if (pReq->cipher_type) { in putNanSubscribe()
1139 pNanCsidType.csid_type = pReq->cipher_type; in putNanSubscribe()
/hardware/broadcom/wlan/bcmdhd/halutil/
Dhalutil.cpp6458 printMsg(" csid = %d\n", event->npk_security_association.cipher_type); in OnNanEventPairingConfirmation()
7658 msg.cipher_type = NAN_CIPHER_SUITE_SHARED_KEY_NONE; in publishNan()
7661 msg.cipher_type = NAN_CIPHER_SUITE_SHARED_KEY_128_MASK; in publishNan()
7664 msg.cipher_type = NAN_CIPHER_SUITE_SHARED_KEY_256_MASK; in publishNan()
7667 msg.cipher_type = NAN_CIPHER_SUITE_PUBLIC_KEY_2WDH_128_MASK; in publishNan()
7670 msg.cipher_type = NAN_CIPHER_SUITE_PUBLIC_KEY_2WDH_256_MASK; in publishNan()
7673 msg.cipher_type = NAN_CIPHER_SUITE_PUBLIC_KEY_PASN_128_MASK; in publishNan()
7676 msg.cipher_type = NAN_CIPHER_SUITE_PUBLIC_KEY_PASN_256_MASK; in publishNan()
7679 msg.cipher_type = NAN_CIPHER_SUITE_SHARED_KEY_NONE; in publishNan()
8071 msg.cipher_type = NAN_CIPHER_SUITE_SHARED_KEY_NONE; in subscribeNan()
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dnan.cpp558 static int passphrase_to_pmk(u8 *peer_mac, u32 cipher_type, in passphrase_to_pmk() argument
565 salt[1] = cipher_type; in passphrase_to_pmk()
585 4096, ((cipher_type == NAN_CIPHER_SUITE_SHARED_KEY_128_MASK) ? in passphrase_to_pmk()
767 if ((mParams->cipher_type != NAN_CIPHER_SUITE_PUBLIC_KEY_PASN_128_MASK) && in createPairingRequest()
768 (mParams->cipher_type != NAN_CIPHER_SUITE_PUBLIC_KEY_PASN_256_MASK)) { in createPairingRequest()
769 ALOGE("%s: Invalid cipher_type :%u, \n", __func__, mParams->cipher_type); in createPairingRequest()
773 result = request.put_u8(NAN_ATTRIBUTE_CIPHER_SUITE_TYPE, mParams->cipher_type); in createPairingRequest()
776 mParams->cipher_type, result); in createPairingRequest()
932 if ((mParams->cipher_type != NAN_CIPHER_SUITE_PUBLIC_KEY_PASN_128_MASK) && in createPairingIndResponse()
933 (mParams->cipher_type != NAN_CIPHER_SUITE_PUBLIC_KEY_PASN_256_MASK)) { in createPairingIndResponse()
[all …]
/hardware/synaptics/wlan/synadhd/wifi_hal/
Dnan.cpp492 static int passphrase_to_pmk(u8 *peer_mac, u32 cipher_type, in passphrase_to_pmk() argument
499 salt[1] = cipher_type; in passphrase_to_pmk()
519 4096, ((cipher_type == NAN_CIPHER_SUITE_SHARED_KEY_128_MASK) ? in passphrase_to_pmk()
800 mParams->cipher_type); in createPublishRequest()
842 result = passphrase_to_pmk(mNmi, mParams->cipher_type, in createPublishRequest()
1179 mParams->cipher_type); in createSubscribeRequest()
1984 mParams->cipher_type); in createDataPathInitRequest()
2043 result = passphrase_to_pmk(mParams->peer_disc_mac_addr, mParams->cipher_type, in createDataPathInitRequest()
2151 mParams->cipher_type); in createDataPathIndResponse()
2209 result = passphrase_to_pmk(mPubNmi, mParams->cipher_type, in createDataPathIndResponse()
[all …]
/hardware/interfaces/wifi/aidl/default/
Daidl_struct_util.cpp1432 aidl_npsa->cipherType = (NanCipherSuiteType)legacy_npsa.cipher_type; in convertLegacyNpsaToAidl()
1800 legacy_request->cipher_type = (unsigned int)aidl_request.baseConfigs.securityConfig.cipherType; in convertAidlNanPublishRequestToLegacy()
1942 legacy_request->cipher_type = (unsigned int)aidl_request.baseConfigs.securityConfig.cipherType; in convertAidlNanSubscribeRequestToLegacy()
2098 legacy_request->cipher_type = (unsigned int)aidl_request.securityConfig.cipherType; in convertAidlNanDataPathInitiatorRequestToLegacy()
2191 legacy_request->cipher_type = (unsigned int)aidl_request.securityConfig.cipherType; in convertAidlNanDataPathIndicationResponseToLegacy()
3267 legacy_request->cipher_type = (unsigned int)aidl_request.securityConfig.cipherType; in convertAidlNanPairingInitiatorRequestToLegacy()
3325 legacy_request->cipher_type = (unsigned int)aidl_request.securityConfig.cipherType; in convertAidlNanPairingIndicationResponseToLegacy()