Lines Matching refs:BYTE
83 BYTE *dOut, // OUT: in _cpri__AESEncryptCBC()
85 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__AESEncryptCBC()
87 BYTE *iv, // IN/OUT: IV for decryption. in _cpri__AESEncryptCBC()
90 BYTE *dIn // IN: data buffer in _cpri__AESEncryptCBC()
94 BYTE *pIv; in _cpri__AESEncryptCBC()
138 BYTE *dOut, // OUT: the decrypted data in _cpri__AESDecryptCBC()
140 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__AESDecryptCBC()
142 BYTE *iv, // IN/OUT: IV for decryption. The size of this in _cpri__AESDecryptCBC()
145 BYTE *dIn // IN: data buffer in _cpri__AESDecryptCBC()
149 BYTE *pIv; in _cpri__AESDecryptCBC()
151 BYTE tmp[16]; in _cpri__AESDecryptCBC()
152 BYTE *pT = NULL; in _cpri__AESDecryptCBC()
199 BYTE *dOut, // OUT: the encrypted in _cpri__AESEncryptCFB()
201 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__AESEncryptCFB()
203 BYTE *iv, // IN/OUT: IV for decryption. in _cpri__AESEncryptCFB()
205 BYTE *dIn // IN: data buffer in _cpri__AESEncryptCFB()
208 BYTE *pIv = NULL; in _cpri__AESEncryptCFB()
253 BYTE *dOut, // OUT: the decrypted data in _cpri__AESDecryptCFB()
255 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__AESDecryptCFB()
257 BYTE *iv, // IN/OUT: IV for decryption. in _cpri__AESDecryptCFB()
259 BYTE *dIn // IN: data buffer in _cpri__AESDecryptCFB()
262 BYTE *pIv = NULL; in _cpri__AESDecryptCFB()
263 BYTE tmp[16]; in _cpri__AESDecryptCFB()
265 BYTE *pT; in _cpri__AESDecryptCFB()
309 BYTE *dOut, // OUT: the encrypted data in _cpri__AESEncryptCTR()
311 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__AESEncryptCTR()
313 BYTE *iv, // IN/OUT: IV for decryption. in _cpri__AESEncryptCTR()
315 BYTE *dIn // IN: data buffer in _cpri__AESEncryptCTR()
318 BYTE tmp[16]; in _cpri__AESEncryptCTR()
319 BYTE *pT; in _cpri__AESEncryptCTR()
334 AES_encrypt(iv, (BYTE *)tmp, &AesKey); in _cpri__AESEncryptCTR()
357 BYTE *dOut, // OUT: encrypted data in _cpri__AESEncryptECB()
359 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__AESEncryptECB()
362 BYTE *dIn // IN: clear text buffer in _cpri__AESEncryptECB()
400 BYTE *dOut, // OUT: the clear text data in _cpri__AESDecryptECB()
402 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__AESDecryptECB()
405 BYTE *dIn // IN: cipher text buffer in _cpri__AESDecryptECB()
448 BYTE *dOut, // OUT: the encrypted/decrypted data in _cpri__AESEncryptOFB()
450 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__AESEncryptOFB()
452 BYTE *iv, // IN/OUT: IV for decryption. The size of this in _cpri__AESEncryptOFB()
455 BYTE *dIn // IN: data buffer in _cpri__AESEncryptOFB()
458 BYTE *pIv; in _cpri__AESEncryptOFB()
500 BYTE *dOut, // OUT: in _cpri__SM4EncryptCBC()
502 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__SM4EncryptCBC()
504 BYTE *iv, // IN/OUT: IV for decryption. in _cpri__SM4EncryptCBC()
507 BYTE *dIn // IN: data buffer in _cpri__SM4EncryptCBC()
511 BYTE *pIv; in _cpri__SM4EncryptCBC()
555 BYTE *dOut, // OUT: the decrypted data in _cpri__SM4DecryptCBC()
557 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__SM4DecryptCBC()
559 BYTE *iv, // IN/OUT: IV for decryption. The size of this in _cpri__SM4DecryptCBC()
562 BYTE *dIn // IN: data buffer in _cpri__SM4DecryptCBC()
566 BYTE *pIv; in _cpri__SM4DecryptCBC()
568 BYTE tmp[16]; in _cpri__SM4DecryptCBC()
569 BYTE *pT = NULL; in _cpri__SM4DecryptCBC()
616 BYTE *dOut, // OUT: the encrypted in _cpri__SM4EncryptCFB()
618 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__SM4EncryptCFB()
620 BYTE *iv, // IN/OUT: IV for decryption. in _cpri__SM4EncryptCFB()
622 BYTE *dIn // IN: data buffer in _cpri__SM4EncryptCFB()
625 BYTE *pIv; in _cpri__SM4EncryptCFB()
666 BYTE *dOut, // OUT: the decrypted data in _cpri__SM4DecryptCFB()
668 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__SM4DecryptCFB()
670 BYTE *iv, // IN/OUT: IV for decryption. in _cpri__SM4DecryptCFB()
672 BYTE *dIn // IN: data buffer in _cpri__SM4DecryptCFB()
675 BYTE *pIv; in _cpri__SM4DecryptCFB()
676 BYTE tmp[16]; in _cpri__SM4DecryptCFB()
678 BYTE *pT; in _cpri__SM4DecryptCFB()
722 BYTE *dOut, // OUT: the encrypted data in _cpri__SM4EncryptCTR()
724 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__SM4EncryptCTR()
726 BYTE *iv, // IN/OUT: IV for decryption. in _cpri__SM4EncryptCTR()
728 BYTE *dIn // IN: data buffer in _cpri__SM4EncryptCTR()
731 BYTE tmp[16]; in _cpri__SM4EncryptCTR()
732 BYTE *pT; in _cpri__SM4EncryptCTR()
747 SM4_encrypt(iv, (BYTE *)tmp, &Sm4Key); in _cpri__SM4EncryptCTR()
770 BYTE *dOut, // OUT: encrypted data in _cpri__SM4EncryptECB()
772 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__SM4EncryptECB()
775 BYTE *dIn // IN: clear text buffer in _cpri__SM4EncryptECB()
816 BYTE *dOut, // OUT: the clear text data in _cpri__SM4DecryptECB()
818 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__SM4DecryptECB()
821 BYTE *dIn // IN: cipher text buffer in _cpri__SM4DecryptECB()
861 BYTE *dOut, // OUT: the encrypted/decrypted data in _cpri__SM4EncryptOFB()
863 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__SM4EncryptOFB()
865 BYTE *iv, // IN/OUT: IV for decryption. The size of this in _cpri__SM4EncryptOFB()
868 BYTE *dIn // IN: data buffer in _cpri__SM4EncryptOFB()
871 BYTE *pIv; in _cpri__SM4EncryptOFB()