Lines Matching refs:Blob
57 bool ConvertSignaturesToProtobuf(const vector<brillo::Blob>& signatures, in ConvertSignaturesToProtobuf()
61 for (const brillo::Blob& signature : signatures) { in ConvertSignaturesToProtobuf()
86 brillo::Blob* out_payload, in AddSignatureBlobToPayload()
93 brillo::Blob payload; in AddSignatureBlobToPayload()
179 bool CalculateHashFromPayload(const brillo::Blob& payload, in CalculateHashFromPayload()
183 brillo::Blob* out_hash_data, in CalculateHashFromPayload()
184 brillo::Blob* out_metadata_hash) { in CalculateHashFromPayload()
233 brillo::Blob payload; in VerifySignedPayload()
247 brillo::Blob payload_hash, metadata_hash; in VerifySignedPayload()
270 bool PayloadSigner::SignHash(const brillo::Blob& hash, in SignHash()
272 brillo::Blob* out_signature) { in SignHash()
287 brillo::Blob padded_hash = hash; in SignHash()
290 brillo::Blob signature(RSA_size(rsa)); in SignHash()
308 bool PayloadSigner::SignHashWithKeys(const brillo::Blob& hash_data, in SignHashWithKeys()
311 vector<brillo::Blob> signatures; in SignHashWithKeys()
313 brillo::Blob signature; in SignHashWithKeys()
328 brillo::Blob payload; in SignPayload()
330 brillo::Blob hash_data; in SignPayload()
345 brillo::Blob hash_blob; in SignatureBlobLength()
356 brillo::Blob* out_payload_hash_data, in HashPayloadForSigning()
357 brillo::Blob* out_metadata_hash) { in HashPayloadForSigning()
360 vector<brillo::Blob> signatures; in HashPayloadForSigning()
367 brillo::Blob payload; in HashPayloadForSigning()
389 const vector<brillo::Blob>& payload_signatures, in AddSignatureToPayload()
390 const vector<brillo::Blob>& metadata_signatures, in AddSignatureToPayload()
403 brillo::Blob payload; in AddSignatureToPayload()
426 brillo::Blob metadata_hash; in GetMetadataSignature()
430 brillo::Blob signature; in GetMetadataSignature()
439 brillo::Blob payload; in ExtractPayloadProperties()
452 brillo::Blob file_hash, metadata_hash; in ExtractPayloadProperties()