Home
last modified time | relevance | path

Searched refs:dInSize (Results 1 – 4 of 4) sorted by relevance

/external/tpm2/
DCpriSym.c88 UINT32 dInSize, // IN: data size (is required to be a multiple in _cpri__AESEncryptCBC() argument
98 if(dInSize == 0) in _cpri__AESEncryptCBC()
100 pAssert(dInSize <= INT32_MAX); in _cpri__AESEncryptCBC()
101 dSize = (INT32)dInSize; in _cpri__AESEncryptCBC()
144 UINT32 dInSize, // IN: data size in _cpri__AESDecryptCBC() argument
155 if(dInSize == 0) in _cpri__AESDecryptCBC()
157 pAssert(dInSize <= INT32_MAX); in _cpri__AESDecryptCBC()
158 dSize = (INT32)dInSize; in _cpri__AESDecryptCBC()
204 UINT32 dInSize, // IN: data size in _cpri__AESEncryptCFB() argument
213 if(dInSize == 0) in _cpri__AESEncryptCFB()
[all …]
DCpriSym_fp.h16 UINT32 dInSize, // IN: data size
25 UINT32 dInSize, // IN: data size
34 #define _cpri__AESDecryptCTR(dOut, keySize, key, iv, dInSize, dIn) \ argument
36 ((BYTE *)iv), ((UINT32)dInSize), ((BYTE *)dIn))
42 UINT32 dInSize, // IN: data size
53 #define _cpri__AESDecryptOFB(dOut, keySizeInBits, key, iv, dInSize, dIn) \ argument
55 ((BYTE *)iv), ((UINT32)dInSize), ((BYTE *)dIn))
64 #define _cpri__SM4DecryptCTR(dOut, keySize, key, iv, dInSize, dIn) \ argument
66 ((BYTE *)iv), ((UINT32)dInSize), ((BYTE *)dIn))
75 #define _cpri__SM4DecryptOFB(dOut, keySizeInBits, key, iv, dInSize, dIn) \ argument
[all …]
DCpriRSA.c697 UINT32 dInSize, // IN: size of the digest to compare in PssDecode() argument
767 _cpri__UpdateHash(&hashState, dInSize, dIn); in PssDecode()
934 UINT32 dInSize, // IN: the amount of data to encrypt in _cpri__EncryptRSA() argument
952 for(; dInSize > *cOutSize; dInSize--) in _cpri__EncryptRSA()
958 if(dInSize < *cOutSize) in _cpri__EncryptRSA()
959 memset(cOut, 0, *cOutSize - dInSize); in _cpri__EncryptRSA()
961 memcpy(&cOut[*cOutSize-dInSize], dIn, dInSize); in _cpri__EncryptRSA()
967 retVal = RSAES_PKSC1v1_5Encode(*cOutSize, cOut, dInSize, dIn); in _cpri__EncryptRSA()
970 retVal = OaepEncode(*cOutSize, cOut, hashAlg, label, dInSize, dIn in _cpri__EncryptRSA()
DCpriRSA_fp.h26 UINT32 dInSize, // IN: the amount of data to encrypt