mirror of
https://github.com/YikeStone/MT7601u.git
synced 2025-08-02 19:04:09 +05:30
13 lines
350 B
C
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);
|
|
|