• Home
  • Raw
  • Download

Lines Matching refs:dIn

90     BYTE                *dIn            // IN: data buffer  in _cpri__AESEncryptCBC()  argument
97 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESEncryptCBC()
115 *pIv++ ^= *dIn++; in _cpri__AESEncryptCBC()
145 BYTE *dIn // IN: data buffer in _cpri__AESDecryptCBC() argument
154 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESDecryptCBC()
173 *pT++ = *dIn++; in _cpri__AESDecryptCBC()
205 BYTE *dIn // IN: data buffer in _cpri__AESEncryptCFB() argument
212 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESEncryptCFB()
229 *dOut++ = *pIv++ ^= *dIn++; in _cpri__AESEncryptCFB()
259 BYTE *dIn // IN: data buffer 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()
315 BYTE *dIn // IN: data buffer in _cpri__AESEncryptCTR() argument
323 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESEncryptCTR()
342 *dOut++ = *dIn++ ^ *pT++; in _cpri__AESEncryptCTR()
362 BYTE *dIn // IN: clear text buffer in _cpri__AESEncryptECB() argument
367 pAssert(dOut != NULL && key != NULL && dIn != NULL); in _cpri__AESEncryptECB()
381 AES_encrypt(dIn, dOut, &AesKey); in _cpri__AESEncryptECB()
382 dIn = &dIn[16]; in _cpri__AESEncryptECB()
405 BYTE *dIn // IN: cipher text buffer in _cpri__AESDecryptECB() argument
410 pAssert(dOut != NULL && key != NULL && dIn != NULL); in _cpri__AESDecryptECB()
424 AES_decrypt(dIn, dOut, &AesKey); in _cpri__AESDecryptECB()
425 dIn = &dIn[16]; in _cpri__AESDecryptECB()
455 BYTE *dIn // IN: data buffer in _cpri__AESEncryptOFB() argument
462 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__AESEncryptOFB()
478 *dOut++ = (*pIv++ ^ *dIn++); in _cpri__AESEncryptOFB()
507 BYTE *dIn // IN: data buffer in _cpri__SM4EncryptCBC() argument
514 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4EncryptCBC()
532 *pIv++ ^= *dIn++; in _cpri__SM4EncryptCBC()
562 BYTE *dIn // IN: data buffer in _cpri__SM4DecryptCBC() argument
571 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4DecryptCBC()
589 *pT++ = *dIn++; in _cpri__SM4DecryptCBC()
622 BYTE *dIn // IN: data buffer in _cpri__SM4EncryptCFB() argument
629 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4EncryptCFB()
646 *dOut++ = *pIv++ ^= *dIn++; in _cpri__SM4EncryptCFB()
672 BYTE *dIn // IN: data buffer 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()
728 BYTE *dIn // IN: data buffer in _cpri__SM4EncryptCTR() argument
736 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4EncryptCTR()
755 *dOut++ = *dIn++ ^ *pT++; in _cpri__SM4EncryptCTR()
775 BYTE *dIn // IN: clear text buffer in _cpri__SM4EncryptECB() argument
780 pAssert(dOut != NULL && key != NULL && dIn != NULL); in _cpri__SM4EncryptECB()
794 SM4_encrypt(dIn, dOut, &Sm4Key); in _cpri__SM4EncryptECB()
795 dIn = &dIn[16]; in _cpri__SM4EncryptECB()
821 BYTE *dIn // IN: cipher text buffer in _cpri__SM4DecryptECB() argument
826 pAssert(dOut != NULL && key != NULL && dIn != NULL); in _cpri__SM4DecryptECB()
840 SM4_decrypt(dIn, dOut, &Sm4Key); in _cpri__SM4DecryptECB()
841 dIn = &dIn[16]; in _cpri__SM4DecryptECB()
868 BYTE *dIn // IN: data buffer in _cpri__SM4EncryptOFB() argument
875 pAssert(dOut != NULL && key != NULL && iv != NULL && dIn != NULL); in _cpri__SM4EncryptOFB()
891 *dOut++ = (*pIv++ ^ *dIn++); in _cpri__SM4EncryptOFB()