OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RSA1024NUMBYTES
(Results
1 - 8
of
8
) sorted by null
/external/vboot_reference/tests/
rsa_padding_test.c
22
TEST_EQ(RSAVerify(key, signatures[0],
RSA1024NUMBYTES
, 0,
28
if (RSAVerify(key, signatures[i],
RSA1024NUMBYTES
, 0,
41
uint8_t sig[
RSA1024NUMBYTES
];
43
TEST_EQ(RSAVerify(key, signatures[0],
RSA1024NUMBYTES
, 0,
45
TEST_EQ(RSAVerify(key, signatures[0],
RSA1024NUMBYTES
- 1, 0,
47
TEST_EQ(RSAVerify(key, signatures[0],
RSA1024NUMBYTES
, kNumAlgorithms,
49
TEST_EQ(RSAVerify(key, signatures[0],
RSA1024NUMBYTES
, 3,
53
Memcpy(sig, signatures[0],
RSA1024NUMBYTES
);
55
TEST_EQ(RSAVerify(key, sig,
RSA1024NUMBYTES
, 0, test_message_sha1_hash), 0,
58
Memcpy(sig, signatures[0],
RSA1024NUMBYTES
);
[
all
...]
rsa_padding_test.h
45
static const uint8_t signatures[][
RSA1024NUMBYTES
] = {
vb2_rsa_utility_tests.c
38
uint8_t sig[
RSA1024NUMBYTES
];
58
TEST_EQ(vb2_rsa_sig_size(VB2_SIG_RSA1024),
RSA1024NUMBYTES
,
73
RSA1024NUMBYTES
* 2 + sizeof(uint32_t) * 2,
rsa_utility_tests.c
48
TEST_EQ(u,
RSA1024NUMBYTES
* 2 + sizeof(uint32_t) * 2,
87
uint32_t key_len =
RSA1024NUMBYTES
<< i;
123
*buf_key_len = (
RSA1024NUMBYTES
<< ((i + 1) & 3)) / sizeof(uint32_t);
133
uint8_t keybuf[8 + 2 *
RSA1024NUMBYTES
];
138
*keybuf_len =
RSA1024NUMBYTES
/ sizeof(uint32_t);
171
uint8_t keybuf[8 + 2 *
RSA1024NUMBYTES
];
176
*keybuf_len =
RSA1024NUMBYTES
/ sizeof(uint32_t);
vb20_rsa_padding_tests.c
47
uint8_t sig[
RSA1024NUMBYTES
];
80
uint8_t sig[
RSA1024NUMBYTES
];
118
sig[
RSA1024NUMBYTES
- 3] ^= 0x56;
/external/vboot_reference/firmware/lib/cryptolib/include/
rsa.h
15
#define
RSA1024NUMBYTES
128 /* 1024 bit key length */
20
#define RSA1024NUMWORDS (
RSA1024NUMBYTES
/ sizeof(uint32_t))
/external/vboot_reference/firmware/lib/cryptolib/
rsa_utility.c
61
if (
RSA1024NUMBYTES
!= key_len &&
padding.c
38
const uint8_t paddingRSA1024_SHA1[
RSA1024NUMBYTES
- SHA1_DIGEST_SIZE] = {
43
const uint8_t paddingRSA1024_SHA256[
RSA1024NUMBYTES
- SHA256_DIGEST_SIZE] = {
48
const uint8_t paddingRSA1024_SHA512[
RSA1024NUMBYTES
- SHA512_DIGEST_SIZE] = {
137
RSA1024NUMBYTES
,
138
RSA1024NUMBYTES
,
139
RSA1024NUMBYTES
,
167
RSA1024NUMBYTES
- SHA1_DIGEST_SIZE,
168
RSA1024NUMBYTES
- SHA256_DIGEST_SIZE,
169
RSA1024NUMBYTES
- SHA512_DIGEST_SIZE,
Completed in 2684 milliseconds