Home
last modified time | relevance | path

Searched refs:MAX_RSA_KEY_BYTES (Results 1 – 12 of 12) sorted by relevance

/external/tpm2/
DCryptoEngine.h191 # if MAX_RSA_KEY_BYTES > MAX_ECC_KEY_BYTES
192 # define MAX_NUMBER_SIZE MAX_RSA_KEY_BYTES
197 # define MAX_NUMBER_SIZE MAX_RSA_KEY_BYTES
DCpriRSA.c62 pAssert(key->publicKey->size <= MAX_RSA_KEY_BYTES); in RsaPrivateExponent()
154 pAssert( prime1->size <= MAX_RSA_KEY_BYTES/2 in _cpri__TestKeyRSA()
155 && publicKey->size <= MAX_RSA_KEY_BYTES); in _cpri__TestKeyRSA()
156 pAssert( prime2 == NULL || prime2->size < MAX_RSA_KEY_BYTES/2); in _cpri__TestKeyRSA()
350 BYTE mask[MAX_RSA_KEY_BYTES]; in OaepEncode()
439 BYTE mask[MAX_RSA_KEY_BYTES]; in OaepDecode()
615 BYTE salt[MAX_RSA_KEY_BYTES - 1]; in PssEncode()
700 BYTE mask[MAX_RSA_KEY_BYTES]; in PssDecode()
1231 pAssert(n->size <= MAX_RSA_KEY_BYTES); in _cpri__GenerateKeyRSA()
1342 TPM2B_TYPE(RSA_KEY, MAX_RSA_KEY_BYTES); in _cpri__GenerateKeyRSA()
DOsslCryptoEngine.h20 #define MAX_2B_BYTES MAX((MAX_RSA_KEY_BYTES * ALG_RSA), \
DRSAKeySieve.c241 TPM2B_TYPE(MAX_PRIME, MAX_RSA_KEY_BYTES/2); in MillerRabin()
912 TPM2B_TYPE(RSA_KEY, MAX_RSA_KEY_BYTES); in _cpri__GenerateKeyRSA()
Dtpm_types.h1242 BYTE buffer[MAX_RSA_KEY_BYTES];
1253 BYTE buffer[MAX_RSA_KEY_BYTES/2];
1368 BYTE rsa[MAX_RSA_KEY_BYTES];
DImplementation.h83 #define MAX_RSA_KEY_BYTES 256 macro
288 ((MAX_RSA_KEY_BYTES/2)*(3+CRT_FORMAT_RSA*2))
DCryptUtil.c114 pAssert(randomSize <= MAX_RSA_KEY_BYTES || randomSize <= PRIMARY_SEED_SIZE); in CryptGenerateRandom()
Dpart4.txt19418 71 pAssert(randomSize <= MAX_RSA_KEY_BYTES || randomSize <= PRIMARY_SEED_SIZE);
24262 56 #define MAX_RSA_KEY_BYTES 256
24478 246 ((MAX_RSA_KEY_BYTES/2)*(3+CRT_FORMAT_RSA*2))
25412 100 # if MAX_RSA_KEY_BYTES > MAX_ECC_KEY_BYTES
25413 101 # define MAX_NUMBER_SIZE MAX_RSA_KEY_BYTES
25418 106 # define MAX_NUMBER_SIZE MAX_RSA_KEY_BYTES
25500 14 #define MAX_2B_BYTES MAX((MAX_RSA_KEY_BYTES * ALG_RSA), \
28898 39 pAssert(key->publicKey->size <= MAX_RSA_KEY_BYTES);
29006 127 pAssert( prime1->size <= MAX_RSA_KEY_BYTES/2
29007 128 && publicKey->size <= MAX_RSA_KEY_BYTES);
[all …]
Dtpm_generated.c1638 if (target->t.size > MAX_RSA_KEY_BYTES / 2) { in TPM2B_PRIVATE_KEY_RSA_Unmarshal()
1777 if (target->t.size > MAX_RSA_KEY_BYTES) { in TPM2B_PUBLIC_KEY_RSA_Unmarshal()
/external/tpm2/generator/
Dstructures.txt1328 _MAX size MAX_RSA_KEY_BYTES
1334 _MAX size MAX_RSA_KEY_BYTES/2
1705 _NAME rsa _ARRAY MAX_RSA_KEY_BYTES
Draw_structures.txt13691 buffer[size] {: MAX_RSA_KEY_BYTES}
13759 buffer[size]{:MAX_RSA_KEY_BYTES/2}
14292 rsa[MAX_RSA_KEY_BYTES]
17241 MAX_RSA_KEY_BYTES
17785 ((MAX_RSA_KEY_BYTES/2) * (3 +
Draw_structures_fixed.txt13693 buffer [size] {:MAX_RSA_KEY_BYTES}
13761 buffer [size] {:MAX_RSA_KEY_BYTES/2}
14291 rsa [MAX_RSA_KEY_BYTES]
17208 MAX_RSA_KEY_BYTES
17747 ((MAX_RSA_KEY_BYTES/2) * (3 + CRT_FORMAT_RSA * 2))