Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DTpmSizeChecks.c94 UINT16 max_rsa_key_bytes = MAX_RSA_KEY_BYTES; in TpmSizeChecks()
DTableMarshalData.c1047 {(UINT16)(sizeof(TPMS_ECC_POINT)), (UINT16)(MAX_RSA_KEY_BYTES),
1368 {RANGE(0, MAX_RSA_KEY_BYTES, UINT16)}},
DMarshal.c4196 if((target->t.size) > MAX_RSA_KEY_BYTES) in TPM2B_PUBLIC_KEY_RSA_Unmarshal()
4744 … return BYTE_Array_Unmarshal((BYTE *)(target->rsa), buffer, size, (INT32)MAX_RSA_KEY_BYTES); in TPMU_ENCRYPTED_SECRET_Unmarshal()
4767 … return BYTE_Array_Marshal((BYTE *)(source->rsa), buffer, size, (INT32)MAX_RSA_KEY_BYTES); in TPMU_ENCRYPTED_SECRET_Marshal()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptRsa.c334 BYTE mask[MAX_RSA_KEY_BYTES]; in OaepEncode()
430 BYTE mask[MAX_RSA_KEY_BYTES]; in OaepDecode()
611 BYTE salt[MAX_RSA_KEY_BYTES - 1]; in PssEncode()
691 BYTE mask[MAX_RSA_KEY_BYTES]; in PssDecode()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DGpMacros.h119 #define RSA_MAX_PRIME (MAX_RSA_KEY_BYTES / 2)
DTpmAlgorithmDefines.h86 #define MAX_RSA_KEY_BYTES ((RSA_MAX_KEY_SIZE_BITS + 7) / 8) macro
DBnValues.h96 #define LARGEST_NUMBER (MAX((ALG_RSA * MAX_RSA_KEY_BYTES), \
DTpmTypes.h1942 BYTE buffer[MAX_RSA_KEY_BYTES];
2054 BYTE rsa[MAX_RSA_KEY_BYTES];
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/reference/include/
DImplementation.h83 #define MAX_RSA_KEY_BYTES 256 macro