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.cpp33 digest_size_(digest_size), in HmacSerializable()
38 auto digest_size = sizeof(uint32_t) + digest_size_; in SerializedSize()
68 if (hmac_data->size != digest_size_) { in Serialize()
69 LOG(ERROR) << "Unexpected digest size. Wanted " << digest_size_ in Serialize()
74 buf, end, hmac_data->buffer, digest_size_); in Serialize()
96 if (signature_size != digest_size_) { in Deserialize()
116 if (hmac_check->size != digest_size_) { in Deserialize()
117 LOG(ERROR) << "Unexpected signature check size. Wanted " << digest_size_ in Deserialize()
121 if (memcmp(signature.get(), hmac_check->buffer, digest_size_) != 0) { in Deserialize()
Dhmac_serializable.h57 uint32_t digest_size_; variable