Gaurav Shah | 322536d | 2010-01-28 15:01:23 -0800 | [diff] [blame^] | 1 | #ifndef VBOOT_REFERENCE_PADDING_H_ |
| 2 | #define VBOOT_REFERENCE_PADDING_H_ |
| 3 | |
| 4 | #include <inttypes.h> |
| 5 | |
| 6 | extern const uint8_t paddingRSA1024_SHA1[]; |
| 7 | extern const uint8_t paddingRSA1024_SHA256[]; |
| 8 | extern const uint8_t paddingRSA1024_SHA512[]; |
| 9 | extern const uint8_t paddingRSA2048_SHA1[]; |
| 10 | extern const uint8_t paddingRSA2048_SHA256[]; |
| 11 | extern const uint8_t paddingRSA2048_SHA512[]; |
| 12 | extern const uint8_t paddingRSA4096_SHA1[]; |
| 13 | extern const uint8_t paddingRSA4096_SHA256[]; |
| 14 | extern const uint8_t paddingRSA4096_SHA512[]; |
| 15 | extern const uint8_t paddingRSA8192_SHA1[]; |
| 16 | extern const uint8_t paddingRSA8192_SHA256[]; |
| 17 | extern const uint8_t paddingRSA8192_SHA512[]; |
| 18 | |
| 19 | extern const int kNumAlgorithms; |
| 20 | |
| 21 | extern const int siglen_map[]; |
| 22 | extern const uint8_t* padding_map[]; |
| 23 | extern const int padding_size_map[]; |
| 24 | extern const int hash_blocksize_map[]; |
| 25 | extern const char* algo_strings[]; |
| 26 | |
| 27 | #endif /* VBOOT_REFERENCE_PADDING_H_ */ |