Searched refs:aidl_npsa (Results 1 – 1 of 1) sorted by relevance
1417 NpkSecurityAssociation* aidl_npsa) { in convertLegacyNpsaToAidl() argument1418 if (!aidl_npsa) { in convertLegacyNpsaToAidl()1422 *aidl_npsa = {}; in convertLegacyNpsaToAidl()1423 aidl_npsa->peerNanIdentityKey = std::array<uint8_t, 16>(); in convertLegacyNpsaToAidl()1425 std::begin(aidl_npsa->peerNanIdentityKey)); in convertLegacyNpsaToAidl()1426 aidl_npsa->localNanIdentityKey = std::array<uint8_t, 16>(); in convertLegacyNpsaToAidl()1428 std::begin(aidl_npsa->localNanIdentityKey)); in convertLegacyNpsaToAidl()1429 aidl_npsa->npk = std::array<uint8_t, 32>(); in convertLegacyNpsaToAidl()1430 std::copy(legacy_npsa.npk.pmk, legacy_npsa.npk.pmk + 32, std::begin(aidl_npsa->npk)); in convertLegacyNpsaToAidl()1431 aidl_npsa->akm = convertLegacyAkmTypeToAidl(legacy_npsa.akm); in convertLegacyNpsaToAidl()[all …]