Home
last modified time | relevance | path

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

/external/vboot_reference/host/lib/
Dhost_signature.c111 int digestinfo_size = digestinfo_size_map[key->algorithm]; in CalculateSignature() local
114 int signature_digest_len = digest_size + digestinfo_size; in CalculateSignature()
131 Memcpy(signature_digest, digestinfo, digestinfo_size); in CalculateSignature()
132 Memcpy(signature_digest + digestinfo_size, digest, digest_size); in CalculateSignature()
256 uint64_t digestinfo_size = digestinfo_size_map[key_algorithm]; in CalculateSignature_external() local
259 uint64_t signature_digest_len = digest_size + digestinfo_size; in CalculateSignature_external()
276 Memcpy(signature_digest, digestinfo, digestinfo_size); in CalculateSignature_external()
277 Memcpy(signature_digest + digestinfo_size, digest, digest_size); in CalculateSignature_external()
Dsignature_digest.c19 const int digestinfo_size = digestinfo_size_map[algorithm]; in PrependDigestInfo() local
21 uint8_t* p = malloc(digestinfo_size + digest_size); in PrependDigestInfo()
22 Memcpy(p, digestinfo, digestinfo_size); in PrependDigestInfo()
23 Memcpy(p + digestinfo_size, digest, digest_size); in PrependDigestInfo()