Searched refs:cOutSize (Results 1 – 4 of 4) sorted by relevance
/external/tpm2/ |
D | CpriRSA.c | 917 UINT32 *cOutSize, // OUT: the size of the encrypted data in _cpri__EncryptRSA() argument 928 pAssert(cOutSize != NULL); in _cpri__EncryptRSA() 930 if(*cOutSize < key->publicKey->size) in _cpri__EncryptRSA() 932 *cOutSize = key->publicKey->size; in _cpri__EncryptRSA() 939 for(; dInSize > *cOutSize; dInSize--) in _cpri__EncryptRSA() 945 if(dInSize < *cOutSize) in _cpri__EncryptRSA() 946 memset(cOut, 0, *cOutSize - dInSize); in _cpri__EncryptRSA() 948 memcpy(&cOut[*cOutSize-dInSize], dIn, dInSize); in _cpri__EncryptRSA() 954 retVal = RSAES_PKSC1v1_5Encode(*cOutSize, cOut, dInSize, dIn); in _cpri__EncryptRSA() 957 retVal = OaepEncode(*cOutSize, cOut, hashAlg, label, dInSize, dIn in _cpri__EncryptRSA() [all …]
|
D | CpriRSA_fp.h | 22 _cpri__EncryptRSA(UINT32 *cOutSize, // OUT: the size of the encrypted data
|
D | CryptUtil.c | 1073 UINT32 cOutSize; // Conversion variable in CryptEncryptRSA() local 1089 cOutSize = *cipherOutSize; in CryptEncryptRSA() 1101 retVal = _cpri__EncryptRSA(&cOutSize,cipherOut, &key, scheme->scheme, in CryptEncryptRSA() 1103 pAssert (cOutSize <= UINT16_MAX); in CryptEncryptRSA() 1104 *cipherOutSize = (UINT16)cOutSize; in CryptEncryptRSA()
|
D | part4.txt | 20613 807 UINT32 cOutSize; // Conversion variable 20634 828 cOutSize = *cipherOutSize; 20654 843 retVal = _cpri__EncryptRSA(&cOutSize,cipherOut, &key, scheme->scheme, 20657 846 pAssert (cOutSize <= UINT16_MAX); 20658 847 *cipherOutSize = (UINT16)cOutSize; 29899 The cOutSize parameter must be at least as large as the size of the key. 29919 CRYPT_PARAMETER cOutSize is too small (must be the size of the modulus) 29924 808 UINT32 *cOutSize, // OUT: the size of the encrypted data 29936 820 pAssert(cOutSize != NULL); 29939 823 if(*cOutSize < key->publicKey->size) [all …]
|