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/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/interfaces/wifi/legacy_headers/include/hardware_legacy/
Dwifi_nan.h1283 u32 cipher_type; member
1469 u32 cipher_type; member
2475 u32 cipher_type; member
2539 u32 cipher_type; member
2795 u32 cipher_type; member
2847 u32 cipher_type; member
2899 u32 cipher_type; member
/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/broadcom/wlan/bcmdhd/halutil/
Dhalutil.cpp6547 printMsg(" csid = %d\n", event->npk_security_association.cipher_type); in OnNanEventPairingConfirmation()
7812 msg.cipher_type = NAN_CIPHER_SUITE_SHARED_KEY_NONE; in publishNan()
7815 msg.cipher_type = NAN_CIPHER_SUITE_SHARED_KEY_128_MASK; in publishNan()
7818 msg.cipher_type = NAN_CIPHER_SUITE_SHARED_KEY_256_MASK; in publishNan()
7821 msg.cipher_type = NAN_CIPHER_SUITE_PUBLIC_KEY_2WDH_128_MASK; in publishNan()
7824 msg.cipher_type = NAN_CIPHER_SUITE_PUBLIC_KEY_2WDH_256_MASK; in publishNan()
7827 msg.cipher_type = NAN_CIPHER_SUITE_PUBLIC_KEY_PASN_128_MASK; in publishNan()
7830 msg.cipher_type = NAN_CIPHER_SUITE_PUBLIC_KEY_PASN_256_MASK; in publishNan()
7833 msg.cipher_type = NAN_CIPHER_SUITE_SHARED_KEY_NONE; in publishNan()
8225 msg.cipher_type = NAN_CIPHER_SUITE_SHARED_KEY_NONE; in subscribeNan()
[all …]
/hardware/synaptics/wlan/synadhd/wifi_hal/
Dnan.cpp493 static int passphrase_to_pmk(u8 *peer_mac, u32 cipher_type, in passphrase_to_pmk() argument
500 salt[1] = cipher_type; in passphrase_to_pmk()
520 4096, ((cipher_type == NAN_CIPHER_SUITE_SHARED_KEY_128_MASK) ? in passphrase_to_pmk()
801 mParams->cipher_type); in createPublishRequest()
843 result = passphrase_to_pmk(mNmi, mParams->cipher_type, in createPublishRequest()
1180 mParams->cipher_type); in createSubscribeRequest()
2015 mParams->cipher_type); in createDataPathInitRequest()
2074 result = passphrase_to_pmk(mParams->peer_disc_mac_addr, mParams->cipher_type, in createDataPathInitRequest()
2182 mParams->cipher_type); in createDataPathIndResponse()
2240 result = passphrase_to_pmk(mPubNmi, mParams->cipher_type, in createDataPathIndResponse()
[all …]
/hardware/interfaces/wifi/aidl/default/
Daidl_struct_util.cpp1441 aidl_npsa->cipherType = (NanCipherSuiteType)legacy_npsa.cipher_type; in convertLegacyNpsaToAidl()
1809 legacy_request->cipher_type = (unsigned int)aidl_request.baseConfigs.securityConfig.cipherType; in convertAidlNanPublishRequestToLegacy()
1953 legacy_request->cipher_type = (unsigned int)aidl_request.baseConfigs.securityConfig.cipherType; in convertAidlNanSubscribeRequestToLegacy()
2120 legacy_request->cipher_type = (unsigned int)aidl_request.securityConfig.cipherType; in convertAidlNanDataPathInitiatorRequestToLegacy()
2213 legacy_request->cipher_type = (unsigned int)aidl_request.securityConfig.cipherType; in convertAidlNanDataPathIndicationResponseToLegacy()
3573 legacy_request->cipher_type = (unsigned int)aidl_request.securityConfig.cipherType; in convertAidlNanPairingInitiatorRequestToLegacy()
3631 legacy_request->cipher_type = (unsigned int)aidl_request.securityConfig.cipherType; in convertAidlNanPairingIndicationResponseToLegacy()