Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | |
| 2 * Use of this source code is governed by a BSD-style license that can be | |
| 3 * found in the LICENSE file. | |
| 4 */ | |
| 5 | |
| 6 #ifndef VBOOT_REFERENCE_SIGNATURE_DIGEST_H_ | |
| 7 #define VBOOT_REFERENCE_SIGNATURE_DIGEST_H_ | |
| 8 | |
| 9 #include <inttypes.h> | |
| 10 | |
| 11 /* Returns a buffer with DigestInfo (which depends on [algorithm]) | |
| 12 * prepended to [digest]. | |
| 13 */ | |
| 14 uint8_t* prepend_digestinfo(int algorithm, uint8_t* digest); | |
| 15 | |
| 16 #endif /* VBOOT_REFERENCE_SIGNATURE_DIGEST_H_ */ | |
| OLD | NEW |