Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 25 of 40) sorted by relevance

12

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_hmac.cpp29 size_t data_size) { in OneshotHmac() argument
30 if (data_size > TPM2_MAX_DIGEST_BUFFER) { in OneshotHmac()
32 << data_size << " (> " << TPM2_MAX_DIGEST_BUFFER << ")"; in OneshotHmac()
37 buffer.size = data_size; in OneshotHmac()
38 memcpy(buffer.buffer, data, data_size); in OneshotHmac()
66 size_t data_size) { in SegmentedHmac() argument
101 while (data_size - hashed > TPM2_MAX_DIGEST_BUFFER) { in SegmentedHmac()
118 buffer.size = data_size - hashed; in SegmentedHmac()
152 size_t data_size) { in TpmHmac() argument
153 auto fn = data_size > TPM2_MAX_DIGEST_BUFFER ? SegmentedHmac : OneshotHmac; in TpmHmac()
[all …]
Dtpm_encrypt_decrypt.cpp33 size_t data_size, in TpmEncryptDecrypt() argument
37 std::vector<unsigned char> converted(data_size); in TpmEncryptDecrypt()
42 for (auto processed = 0; processed < data_size;) { in TpmEncryptDecrypt()
45 std::min(data_size - processed, sizeof(in_data.buffer)); in TpmEncryptDecrypt()
86 size_t data_size) { in TpmEncrypt() argument
88 esys, key_handle, auth, data_in, data_out, data_size, false); in TpmEncrypt()
97 size_t data_size) { in TpmDecrypt() argument
99 esys, key_handle, auth, data_in, data_out, data_size, true); in TpmDecrypt()
Dtpm_encrypt_decrypt.h35 size_t data_size);
50 size_t data_size);
Dhmac_serializable.cpp36 auto data_size = sizeof(uint32_t) + wrapped_->SerializedSize(); in SerializedSize() local
37 return digest_size + data_size; in SerializedSize()
Dtpm_hmac.h51 size_t data_size);
/device/google/contexthub/util/nanotool/
Dnanopacket.cpp75 size_t data_size = data ? data->size() : 0; in NanoPacket() local
76 size_t required_buffer_size = 14 + data_size; in NanoPacket()
95 packet_buffer_[9] = data_size; in NanoPacket()
105 packet_buffer_[data_size + 10] = crc; in NanoPacket()
106 packet_buffer_[data_size + 11] = crc >> 8; in NanoPacket()
107 packet_buffer_[data_size + 12] = crc >> 16; in NanoPacket()
108 packet_buffer_[data_size + 13] = crc >> 24; in NanoPacket()
/device/google/cuttlefish/guest/hals/camera/
DQemuClient.cpp243 status_t QemuClient::sendMessage(const void* data, size_t data_size) { in sendMessage() argument
253 const size_t written = qemud_fd_write(mPipeFD, data, data_size); in sendMessage()
254 if (written == data_size) { in sendMessage()
263 status_t QemuClient::receiveMessage(void** data, size_t* data_size) { in receiveMessage() argument
265 *data_size = 0; in receiveMessage()
303 *data_size = payload_size; in receiveMessage()
DQemuClient.h249 virtual status_t sendMessage(const void* data, size_t data_size);
265 virtual status_t receiveMessage(void** data, size_t* data_size);
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Dlsm_params.h94 __u32 data_size; member
162 __u32 data_size; member
/device/google/bonito/sdm710/kernel-headers/sound/
Dlsm_params.h94 __u32 data_size; member
162 __u32 data_size; member
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dlsm_params.h94 __u32 data_size; member
162 __u32 data_size; member
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dlsm_params.h76 __u32 data_size; member
113 __u32 data_size; member
/device/generic/goldfish/camera/
DQemuClient.h247 virtual status_t sendMessage(const void* data, size_t data_size);
263 virtual status_t receiveMessage(void** data, size_t* data_size);
DQemuClient.cpp256 status_t QemuClient::sendMessage(const void* data, size_t data_size) in sendMessage() argument
263 if (qemu_pipe_write_fully(mPipeFD, data, data_size)) { in sendMessage()
272 status_t QemuClient::receiveMessage(void** data, size_t* data_size) in receiveMessage() argument
275 *data_size = 0; in receiveMessage()
317 *data_size = payload_size; in receiveMessage()
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dlsm_params.h123 __u32 data_size; member
254 __u32 data_size; member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dlsm_params.h92 __u32 data_size; member
150 __u32 data_size; member
/device/google/bonito/sdm710/kernel-headers/media/
Dmsm_cam_sensor.h368 uint16_t data_size; member
403 uint16_t data_size; member
/device/google/crosshatch/sdm845/original-kernel-headers/media/
Dmsm_cam_sensor.h408 uint16_t data_size; member
448 uint16_t data_size; member
Dmsm_vidc.h16 unsigned int data_size; member
/device/google/bonito/sdm710/original-kernel-headers/media/
Dmsm_cam_sensor.h408 uint16_t data_size; member
448 uint16_t data_size; member
Dmsm_vidc.h16 unsigned int data_size; member
/device/google/crosshatch/sdm845/kernel-headers/media/
Dmsm_cam_sensor.h368 uint16_t data_size; member
403 uint16_t data_size; member
Dmsm_vidc.h31 unsigned int data_size; member
/device/google/coral-kernel/sm8150/kernel-headers/media/
Dmsm_vidc_utils.h30 unsigned int data_size; member
/device/google/coral-kernel/sm8150/original-kernel-headers/media/
Dmsm_vidc_utils.h15 unsigned int data_size; member

12