Searched refs:MAX_RSA_KEY_BYTES (Results 1 – 8 of 8) sorted by relevance
191 # if MAX_RSA_KEY_BYTES > MAX_ECC_KEY_BYTES192 # define MAX_NUMBER_SIZE MAX_RSA_KEY_BYTES197 # define MAX_NUMBER_SIZE MAX_RSA_KEY_BYTES
62 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()355 BYTE mask[MAX_RSA_KEY_BYTES]; in OaepEncode()444 BYTE mask[MAX_RSA_KEY_BYTES]; in OaepDecode()620 BYTE salt[MAX_RSA_KEY_BYTES - 1]; in PssEncode()705 BYTE mask[MAX_RSA_KEY_BYTES]; in PssDecode()1244 pAssert(n->size <= MAX_RSA_KEY_BYTES); in _cpri__GenerateKeyRSA()1355 TPM2B_TYPE(RSA_KEY, MAX_RSA_KEY_BYTES); in _cpri__GenerateKeyRSA()
20 #define MAX_2B_BYTES MAX((MAX_RSA_KEY_BYTES * ALG_RSA), \
241 TPM2B_TYPE(MAX_PRIME, MAX_RSA_KEY_BYTES/2); in MillerRabin()912 TPM2B_TYPE(RSA_KEY, MAX_RSA_KEY_BYTES); in _cpri__GenerateKeyRSA()
1245 BYTE buffer[MAX_RSA_KEY_BYTES];1256 BYTE buffer[MAX_RSA_KEY_BYTES/2];1371 BYTE rsa[MAX_RSA_KEY_BYTES];
85 #define MAX_RSA_KEY_BYTES 256 macro300 ((MAX_RSA_KEY_BYTES/2)*(3+CRT_FORMAT_RSA*2))
114 pAssert(randomSize <= MAX_RSA_KEY_BYTES || randomSize <= PRIMARY_SEED_SIZE); in CryptGenerateRandom()
1638 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()