Home
last modified time | relevance | path

Searched refs:dSize (Results 1 – 5 of 5) sorted by relevance

/external/tpm2/
DCpriSym.c95 INT32 dSize; // Need a signed version in _cpri__AESEncryptCBC() local
101 dSize = (INT32)dInSize; in _cpri__AESEncryptCBC()
104 if((dSize % 16) != 0) in _cpri__AESEncryptCBC()
111 for(; dSize > 0; dSize -= 16) in _cpri__AESEncryptCBC()
153 INT32 dSize; in _cpri__AESDecryptCBC() local
158 dSize = (INT32)dInSize; in _cpri__AESDecryptCBC()
161 if((dSize % 16) != 0) in _cpri__AESDecryptCBC()
168 for(; dSize > 0; dSize -= 16) in _cpri__AESDecryptCBC()
210 INT32 dSize; // Need a signed version of dInSize in _cpri__AESEncryptCFB() local
216 dSize = (INT32)dInSize; in _cpri__AESEncryptCFB()
[all …]
DMemoryLib.c32 UINT32 dSize // IN: size of the receive buffer in MemoryMove() argument
39 pAssert(size <= dSize); in MemoryMove()
42 dSize -= size; in MemoryMove()
102 UINT16 dSize // IN: size of the receiving buffer in MemoryCopy2B() argument
112 MemoryMove(dest->buffer, source->buffer, dest->size, dSize); in MemoryCopy2B()
DCpriHash.c514 unsigned int dSize = _cpri__GetDigestSize(hashAlg); in _cpri__HashBlock() local
516 if(dSize == 0) in _cpri__HashBlock()
531 if(dSize > digestSize) in _cpri__HashBlock()
533 if(EVP_DigestFinal_ex(&hashContext, b, &dSize) != 1) in _cpri__HashBlock()
540 if((EVP_DigestFinal_ex(&hashContext, digest, &dSize)) != 1) in _cpri__HashBlock()
542 retVal = (UINT16) dSize; in _cpri__HashBlock()
677 CRYPT_RESULT dSize = _cpri__GetDigestSize(hashAlg); in _cpri__MGF1() local
678 unsigned int digestSize = (UINT32)dSize; in _cpri__MGF1()
686 if(dSize <= 0) in _cpri__MGF1()
707 if(remaining < (unsigned)dSize) in _cpri__MGF1()
[all …]
DMemoryLib_fp.h22 UINT16 dSize // IN: size of the receiving buffer
27 UINT32 dSize // IN: size of the receive buffer
DCryptUtil.c1001 UINT32 dSize; // Place to put temporary value for the in CryptDecryptRSA() local
1031 dSize = *dataOutSize; in CryptDecryptRSA()
1041 retVal = _cpri__DecryptRSA(&dSize, dataOut, &key, scheme->scheme, in CryptDecryptRSA()
1046 pAssert(dSize <= UINT16_MAX); in CryptDecryptRSA()
1047 *dataOutSize = (UINT16)dSize; in CryptDecryptRSA()