Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/secure_env/
Dhmac_serializable.cpp30 digest_size_(digest_size), in HmacSerializable()
35 auto digest_size = sizeof(uint32_t) + digest_size_; in SerializedSize()
65 if (hmac_data->size != digest_size_) { in Serialize()
66 LOG(ERROR) << "Unexpected digest size. Wanted " << digest_size_ in Serialize()
71 buf, end, hmac_data->buffer, digest_size_); in Serialize()
93 if (signature_size != digest_size_) { in Deserialize()
113 if (hmac_check->size != digest_size_) { in Deserialize()
114 LOG(ERROR) << "Unexpected signature check size. Wanted " << digest_size_ in Deserialize()
118 if (memcmp(signature.get(), hmac_check->buffer, digest_size_) != 0) { in Deserialize()
Dhmac_serializable.h52 uint32_t digest_size_; variable