| /system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/ |
| D | fast_pair_account_data.h | 29 static FastPairAccountData Parse(const ByteArray &service_data); 31 FastPairAccountData(bool is_valid, uint8_t version, ByteArray filter, in FastPairAccountData() 32 ByteArray salt, ByteArray battery, ByteArray rrd) in FastPairAccountData() 42 const ByteArray filter; 43 const ByteArray salt; 47 const ByteArray battery; 49 const ByteArray rrd;
|
| D | crypto_non_encryption.h | 31 bool decrypt(const ByteArray &input, const ByteArray &salt, 32 const ByteArray &key, ByteArray &output) const override; 34 bool verify(const ByteArray &input, const ByteArray &key, 35 const ByteArray &signature) const override;
|
| D | crypto.h | 36 virtual bool decrypt(const ByteArray &input, const ByteArray &salt, 37 const ByteArray &key, ByteArray &output) const = 0; 40 virtual bool verify(const ByteArray &input, const ByteArray &key, 41 const ByteArray &signature) const = 0;
|
| D | crypto_non_encryption.cc | 27 bool CryptoNonEncryption::decrypt(const ByteArray &input, in decrypt() argument 28 const ByteArray & /*salt*/, in decrypt() 29 const ByteArray & /*key*/, in decrypt() 30 ByteArray &output) const { in decrypt() 41 bool CryptoNonEncryption::verify(const ByteArray & /*input*/, in verify() argument 42 const ByteArray & /*key*/, in verify() 43 const ByteArray & /*signature*/) const { in verify()
|
| D | fast_pair_account_data.cc | 52 FastPairAccountData FastPairAccountData::Parse(const ByteArray &service_data) { in Parse() 53 const FastPairAccountData invalid_data(false, 0, ByteArray(), ByteArray(), in Parse() 54 ByteArray(), ByteArray()); in Parse() 62 ByteArray filter; in Parse() 63 ByteArray salt; in Parse() 64 ByteArray battery; in Parse() 65 ByteArray rrd; in Parse() 79 ByteArray header_element(&data[i], header.length + 1); in Parse() 81 ByteArray element(&data[i], header.length); in Parse()
|
| D | presence_crypto_mic.h | 27 bool decrypt(const ByteArray &input, const ByteArray &salt, 28 const ByteArray &key, ByteArray &output) const override; 32 bool verify(const ByteArray &input, const ByteArray &key, 33 const ByteArray &signature) const override;
|
| D | presence_crypto_identity_v1.h | 26 bool decrypt(const ByteArray &input, const ByteArray &salt, 27 const ByteArray &key, ByteArray &output) const override; 29 bool verify(const ByteArray &input, const ByteArray &key, 30 const ByteArray &signature) const override;
|
| D | presence_crypto_v1.h | 26 bool decrypt(const ByteArray &input, const ByteArray &salt, 27 const ByteArray &key, ByteArray &output) const override; 29 bool verify(const ByteArray &input, const ByteArray &key, 30 const ByteArray &signature) const override;
|
| D | presence_decoder_v1.h | 64 DataElement(nearby_DataElement_ElementType key, ByteArray value) in DataElement() 68 ByteArray value; 79 bool Decode(const ByteArray &encoded_data, const Crypto &crypto, 80 const ByteArray &key, 81 const ByteArray &metadata_encryption_key_tag); 97 ByteArray tx_power; 98 ByteArray model_id; 99 ByteArray connection_status; 100 ByteArray battery_status;
|
| D | presence_crypto_identity_v1.cc | 25 bool PresenceCryptoIdentityV1Impl::decrypt(const ByteArray &input, in decrypt() 26 const ByteArray &salt, in decrypt() 27 const ByteArray &key, in decrypt() 28 ByteArray &output) const { in decrypt() 58 bool PresenceCryptoIdentityV1Impl::verify(const ByteArray &input, in verify() 59 const ByteArray &key, in verify() 60 const ByteArray &signature) const { in verify()
|
| D | presence_crypto_v1.cc | 25 bool PresenceCryptoV1Impl::decrypt(const ByteArray &input, in decrypt() 26 const ByteArray &salt, const ByteArray &key, in decrypt() 27 ByteArray &output) const { in decrypt() 57 bool PresenceCryptoV1Impl::verify(const ByteArray &input, const ByteArray &key, in verify() 58 const ByteArray &signature) const { in verify()
|
| D | presence_crypto_mic.cc | 33 bool PresenceCryptoMicImpl::decrypt(const ByteArray &input, in decrypt() 34 const ByteArray &salt, const ByteArray &key, in decrypt() 35 ByteArray &output) const { in decrypt() 71 bool PresenceCryptoMicImpl::verify(const ByteArray &metadataKey, in verify() 72 const ByteArray &authenticityKey, in verify() 73 const ByteArray &tag) const { in verify()
|
| D | presence_decoder_v1.cc | 39 bool PresenceDecoderV1::Decode(const ByteArray &encoded_data, in Decode() 40 const Crypto &crypto, const ByteArray &key, in Decode() 41 const ByteArray &metadata_encryption_key_tag) { in Decode() 120 ByteArray cipher_text(&data[cipher_text_index], cipher_text_length); in Decode() 123 ByteArray decrypted_byte_array(decryption_output_buffer, cipher_text_length); in Decode() 125 ByteArray(salt, DataElementHeaderV1::kSaltLength), key, in Decode() 132 if (!crypto.verify(ByteArray(identity, sizeof(identity)), key, in Decode() 198 tx_power = ByteArray(&data[index + de_header->header_length], in DecodeDataElements() 206 model_id = ByteArray(&data[index + de_header->header_length], in DecodeDataElements() 215 connection_status = ByteArray(&data[index + de_header->header_length], in DecodeDataElements() [all …]
|
| D | byte_array.h | 29 struct ByteArray { struct 30 ByteArray() = default; 31 ByteArray(uint8_t data[], size_t length) : data(data), length(length) {} in ByteArray() function
|
| D | filter_extension.h | 116 ByteArray data_buf, size_t *encoded_size); 121 ByteArray data_buf, size_t *encoded_size);
|
| D | presence_filter.cc | 37 const ByteArray &de_value, in addDataElementToResult() 197 ByteArray authenticity_key( in MatchPresenceV1() 207 ByteArray metadata_encryption_key_tag( in MatchPresenceV1() 212 ByteArray(const_cast<uint8_t *>(ble_service_data.data), in MatchPresenceV1()
|
| D | tracker_filter.h | 73 ByteArray data_buf, size_t *encoded_size);
|
| D | filter_extension.cc | 162 ByteArray data_buf, size_t *encoded_size) { in EncodeConfigResponse() 181 ByteArray data_buf, in EncodeAdvReport()
|
| D | app_manager.cc | 557 config_response, ByteArray(msg_buf, kFilterResultsBufSize), in SendExtConfigResponseToHost() 592 report, ByteArray(msg_buf, kFilterResultsBufSize), in SendFilterExtensionResultToHost() 739 tracker_report, ByteArray(msg_buf, kTrackerReportsBufSize), in SendTrackerReportsToHost()
|
| D | tracker_filter.cc | 119 ByteArray data_buf, in EncodeTrackerReport()
|
| D | fast_pair_filter.cc | 164 ByteArray(const_cast<uint8_t *>(service_data.data), service_data.length)); in MatchSubsequentPair()
|