Lines Matching refs:dOut
83 BYTE *dOut, // OUT: in _cpri__AESEncryptCBC() argument
97 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESEncryptCBC()
119 *dOut++ = *pIv++; in _cpri__AESEncryptCBC()
138 BYTE *dOut, // OUT: the decrypted data in _cpri__AESDecryptCBC() argument
154 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESDecryptCBC()
174 AES_decrypt(tmp, dOut, &AesKey); in _cpri__AESDecryptCBC()
179 *dOut++ ^= *pIv; in _cpri__AESDecryptCBC()
199 BYTE *dOut, // OUT: the encrypted in _cpri__AESEncryptCFB() argument
212 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESEncryptCFB()
229 *dOut++ = *pIv++ ^= *dIn++; in _cpri__AESEncryptCFB()
253 BYTE *dOut, // OUT: the decrypted data in _cpri__AESDecryptCFB() argument
268 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESDecryptCFB()
285 *dOut++ = *pT++ ^ (*pIv++ = *dIn++); in _cpri__AESDecryptCFB()
309 BYTE *dOut, // OUT: the encrypted data in _cpri__AESEncryptCTR() argument
323 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESEncryptCTR()
342 *dOut++ = *dIn++ ^ *pT++; in _cpri__AESEncryptCTR()
357 BYTE *dOut, // OUT: encrypted data in _cpri__AESEncryptECB() argument
367 pAssert(dOut != NULL && key != NULL && dIn != NULL); in _cpri__AESEncryptECB()
381 AES_encrypt(dIn, dOut, &AesKey); in _cpri__AESEncryptECB()
383 dOut = &dOut[16]; in _cpri__AESEncryptECB()
400 BYTE *dOut, // OUT: the clear text data in _cpri__AESDecryptECB() argument
410 pAssert(dOut != NULL && key != NULL && dIn != NULL); in _cpri__AESDecryptECB()
424 AES_decrypt(dIn, dOut, &AesKey); in _cpri__AESDecryptECB()
426 dOut = &dOut[16]; in _cpri__AESDecryptECB()
448 BYTE *dOut, // OUT: the encrypted/decrypted data in _cpri__AESEncryptOFB() argument
462 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESEncryptOFB()
478 *dOut++ = (*pIv++ ^ *dIn++); in _cpri__AESEncryptOFB()
500 BYTE *dOut, // OUT: in _cpri__SM4EncryptCBC() argument
514 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4EncryptCBC()
536 *dOut++ = *pIv++; in _cpri__SM4EncryptCBC()
555 BYTE *dOut, // OUT: the decrypted data in _cpri__SM4DecryptCBC() argument
571 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4DecryptCBC()
590 SM4_decrypt(tmp, dOut, &Sm4Key); in _cpri__SM4DecryptCBC()
595 *dOut++ ^= *pIv; in _cpri__SM4DecryptCBC()
616 BYTE *dOut, // OUT: the encrypted in _cpri__SM4EncryptCFB() argument
629 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4EncryptCFB()
646 *dOut++ = *pIv++ ^= *dIn++; in _cpri__SM4EncryptCFB()
666 BYTE *dOut, // OUT: the decrypted data in _cpri__SM4DecryptCFB() argument
681 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4DecryptCFB()
698 *dOut++ = *pT++ ^ (*pIv++ = *dIn++); in _cpri__SM4DecryptCFB()
722 BYTE *dOut, // OUT: the encrypted data in _cpri__SM4EncryptCTR() argument
736 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4EncryptCTR()
755 *dOut++ = *dIn++ ^ *pT++; in _cpri__SM4EncryptCTR()
770 BYTE *dOut, // OUT: encrypted data in _cpri__SM4EncryptECB() argument
780 pAssert(dOut != NULL && key != NULL && dIn != NULL); in _cpri__SM4EncryptECB()
794 SM4_encrypt(dIn, dOut, &Sm4Key); in _cpri__SM4EncryptECB()
796 dOut = &dOut[16]; in _cpri__SM4EncryptECB()
816 BYTE *dOut, // OUT: the clear text data in _cpri__SM4DecryptECB() argument
826 pAssert(dOut != NULL && key != NULL && dIn != NULL); in _cpri__SM4DecryptECB()
840 SM4_decrypt(dIn, dOut, &Sm4Key); in _cpri__SM4DecryptECB()
842 dOut = &dOut[16]; in _cpri__SM4DecryptECB()
861 BYTE *dOut, // OUT: the encrypted/decrypted data in _cpri__SM4EncryptOFB() argument
875 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4EncryptOFB()
891 *dOut++ = (*pIv++ ^ *dIn++); in _cpri__SM4EncryptOFB()