Lines Matching refs:Blob
52 bool ConvertSignaturesToProtobuf(const vector<brillo::Blob>& signatures, in ConvertSignaturesToProtobuf()
69 brillo::Blob padded_signature = signature; in ConvertSignaturesToProtobuf()
93 brillo::Blob* out_payload, in AddSignatureBlobToPayload()
100 brillo::Blob payload; in AddSignatureBlobToPayload()
183 bool CalculateHashFromPayload(const brillo::Blob& payload, in CalculateHashFromPayload()
187 brillo::Blob* out_hash_data, in CalculateHashFromPayload()
188 brillo::Blob* out_metadata_hash) { in CalculateHashFromPayload()
249 brillo::Blob payload; in VerifySignedPayload()
263 brillo::Blob payload_hash, metadata_hash; in VerifySignedPayload()
290 bool PayloadSigner::SignHash(const brillo::Blob& hash, in SignHash()
292 brillo::Blob* out_signature) { in SignHash()
308 brillo::Blob signature; in SignHash()
313 brillo::Blob padded_hash = hash; in SignHash()
359 bool PayloadSigner::SignHashWithKeys(const brillo::Blob& hash_data, in SignHashWithKeys()
362 vector<brillo::Blob> signatures; in SignHashWithKeys()
365 brillo::Blob signature; in SignHashWithKeys()
385 brillo::Blob payload; in SignPayload()
387 brillo::Blob hash_data; in SignPayload()
402 brillo::Blob hash_blob; in SignatureBlobLength()
413 brillo::Blob* out_payload_hash_data, in HashPayloadForSigning()
414 brillo::Blob* out_metadata_hash) { in HashPayloadForSigning()
417 vector<brillo::Blob> signatures; in HashPayloadForSigning()
425 brillo::Blob payload; in HashPayloadForSigning()
448 const vector<brillo::Blob>& payload_signatures, in AddSignatureToPayload()
449 const vector<brillo::Blob>& metadata_signatures, in AddSignatureToPayload()
462 brillo::Blob payload; in AddSignatureToPayload()
485 brillo::Blob metadata_hash; in GetMetadataSignature()
489 brillo::Blob signature; in GetMetadataSignature()