Documentation
¶
Index ¶
- func AES_Init(info *AES_ALG_INFO, pdwKey []byte)
- func OFB_Update(info *AES_ALG_INFO, buf []byte)
- func RIJNDAEL_KeySchedule(userKey []byte, info *AES_ALG_INFO)
- func ROL1(val byte, num int) byte
- func ROL4(value uint32, shift uint32) uint32
- func ROR1(val byte, num int) byte
- type AES_ALG_INFO
- type CAESCipher
- type CIGCipher
- type CIOBufferManipulator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AES_Init ¶
func AES_Init(info *AES_ALG_INFO, pdwKey []byte)
void __cdecl CAESCipher::AES_DecInit(CAESCipher::AES_ALG_INFO *AlgInfo, unsigned int *pdwKey) void __cdecl CAESCipher::AES_EncInit(CAESCipher::AES_ALG_INFO *AlgInfo, unsigned int *pdwKey)
func OFB_Update ¶
func OFB_Update(info *AES_ALG_INFO, buf []byte)
char __cdecl CAESCipher::OFB_DecUpdate(CAESCipher::AES_ALG_INFO *AlgInfo,char *CipherTxt,unsigned int CipherTxtLen,char *PlainTxt,unsigned int *PlainTxtLen) char __cdecl CAESCipher::OFB_EncUpdate(CAESCipher::AES_ALG_INFO *AlgInfo,char *PlainTxt,unsigned int PlainTxtLen,char *CipherTxt,unsigned int *CipherTxtLen)
func RIJNDAEL_KeySchedule ¶
func RIJNDAEL_KeySchedule(userKey []byte, info *AES_ALG_INFO)
void __cdecl CAESCipher::RIJNDAEL_KeySchedule(unsigned int *UserKey, unsigned int *e_key)
Types ¶
type AES_ALG_INFO ¶
type CAESCipher ¶
type CAESCipher struct{}
type CIOBufferManipulator ¶
type CIOBufferManipulator struct{}
func (*CIOBufferManipulator) De ¶
func (static *CIOBufferManipulator) De(buf []byte)
func (*CIOBufferManipulator) En ¶
func (static *CIOBufferManipulator) En(buf []byte)
Click to show internal directories.
Click to hide internal directories.