Searched refs:cOutSize (Results 1 - 3 of 3) sorted by relevance

/external/tpm2/
H A DCpriRSA_fp.h22 _cpri__EncryptRSA(UINT32 *cOutSize, // OUT: the size of the encrypted data
H A DCpriRSA.c910 // The cOutSize parameter must be at least as large as the size of the key.
925 // CRYPT_PARAMETER cOutSize is too small (must be the size of the modulus)
930 UINT32 *cOutSize, // OUT: the size of the encrypted data
941 pAssert(cOutSize != NULL);
943 if(*cOutSize < key->publicKey->size)
945 *cOutSize = key->publicKey->size;
952 for(; dInSize > *cOutSize; dInSize--)
958 if(dInSize < *cOutSize)
959 memset(cOut, 0, *cOutSize - dInSize);
961 memcpy(&cOut[*cOutSize
929 _cpri__EncryptRSA( UINT32 *cOutSize, BYTE *cOut, RSA_KEY *key, TPM_ALG_ID padType, UINT32 dInSize, BYTE *dIn, TPM_ALG_ID hashAlg, const char *label ) argument
[all...]
H A DCryptUtil.c1080 UINT32 cOutSize; // Conversion variable
1096 cOutSize = *cipherOutSize;
1108 retVal = _cpri__EncryptRSA(&cOutSize,cipherOut, &key, scheme->scheme,
1110 pAssert (cOutSize <= UINT16_MAX);
1111 *cipherOutSize = (UINT16)cOutSize;
1079 UINT32 cOutSize; // Conversion variable local

Completed in 96 milliseconds