| OLD | NEW |
| 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 #ifndef VBOOT_REFERENCE_RSA_H_ | 6 #ifndef VBOOT_REFERENCE_RSA_H_ |
| 7 #define VBOOT_REFERENCE_RSA_H_ | 7 #define VBOOT_REFERENCE_RSA_H_ |
| 8 | 8 |
| 9 #ifndef VBOOT_REFERENCE_CRYPTOLIB_H_ | 9 #ifndef VBOOT_REFERENCE_CRYPTOLIB_H_ |
| 10 #error "Do not include this file directly. Use cryptolib.h instead." | 10 #error "Do not include this file directly. Use cryptolib.h instead." |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 /* Create a RSAPublic key structure from binary blob [buf] of length | 83 /* Create a RSAPublic key structure from binary blob [buf] of length |
| 84 * [len]. | 84 * [len]. |
| 85 * | 85 * |
| 86 * Caller owns the returned key and must free it. | 86 * Caller owns the returned key and must free it. |
| 87 */ | 87 */ |
| 88 RSAPublicKey* RSAPublicKeyFromBuf(const uint8_t* buf, int len); | 88 RSAPublicKey* RSAPublicKeyFromBuf(const uint8_t* buf, int len); |
| 89 | 89 |
| 90 | 90 |
| 91 #endif /* VBOOT_REFERENCE_RSA_H_ */ | 91 #endif /* VBOOT_REFERENCE_RSA_H_ */ |
| OLD | NEW |