mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
This reverts commit e018a80a37aaa45681f45f5852f04d20aedd8b2d. Review URL: http://codereview.chromium.org/1593002
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
/* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef VBOOT_REFERENCE_PADDING_H_
|
|
#define VBOOT_REFERENCE_PADDING_H_
|
|
|
|
#include <inttypes.h>
|
|
|
|
extern const uint8_t paddingRSA1024_SHA1[];
|
|
extern const uint8_t paddingRSA1024_SHA256[];
|
|
extern const uint8_t paddingRSA1024_SHA512[];
|
|
extern const uint8_t paddingRSA2048_SHA1[];
|
|
extern const uint8_t paddingRSA2048_SHA256[];
|
|
extern const uint8_t paddingRSA2048_SHA512[];
|
|
extern const uint8_t paddingRSA4096_SHA1[];
|
|
extern const uint8_t paddingRSA4096_SHA256[];
|
|
extern const uint8_t paddingRSA4096_SHA512[];
|
|
extern const uint8_t paddingRSA8192_SHA1[];
|
|
extern const uint8_t paddingRSA8192_SHA256[];
|
|
extern const uint8_t paddingRSA8192_SHA512[];
|
|
|
|
extern const int kNumAlgorithms;
|
|
|
|
extern const int digestinfo_size_map[];
|
|
extern const int siglen_map[];
|
|
extern const uint8_t* padding_map[];
|
|
extern const int padding_size_map[];
|
|
extern const int hash_size_map[];
|
|
extern const int hash_blocksize_map[];
|
|
extern const uint8_t* hash_digestinfo_map[];
|
|
extern const char* algo_strings[];
|
|
|
|
#endif /* VBOOT_REFERENCE_PADDING_H_ */
|