Home
last modified time | relevance | path

Searched refs:in_data (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_encrypt_decrypt.cpp43 TPM2B_MAX_BUFFER in_data; in TpmEncryptDecrypt() local
44 in_data.size = in TpmEncryptDecrypt()
45 std::min(data_size - processed, sizeof(in_data.buffer)); in TpmEncryptDecrypt()
46 std::memcpy(in_data.buffer, &data_in[processed], in_data.size); in TpmEncryptDecrypt()
55 &in_data, in TpmEncryptDecrypt()
69 CHECK(out_data->size == in_data.size) << "data size mismatch"; in TpmEncryptDecrypt()
74 processed += in_data.size; in TpmEncryptDecrypt()
Dtpm_random_source.cpp65 TPM2B_SENSITIVE_DATA in_data; in AddRngEntropy() local
67 memcpy(in_data.buffer, buffer, MAX_STIR_RANDOM_BUFFER_SIZE); in AddRngEntropy()
68 in_data.size = MAX_STIR_RANDOM_BUFFER_SIZE; in AddRngEntropy()
76 &in_data); in AddRngEntropy()
86 memcpy(in_data.buffer, buffer, size); in AddRngEntropy()
92 &in_data); in AddRngEntropy()