MT7601u/src/include/wapi_sms4.h
Murat Demirtas 612db32659 FIXED
2016-10-30 14:40:00 +00:00

13 lines
350 B
C

/* SMS4 encryption/decryption definition */
/* Parameter : */
/* Input - the incoming message packet */
/* Ouput - the result ouput */
/* rk - key */
void SMS4Crypt(unsigned char *Input, unsigned char *Output, unsigned int *rk);
/* SMS4 key extend algorithm */
void SMS4KeyExt(unsigned char *Key, unsigned int *rk, unsigned int CryptFlag);