mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 08:56:17 +08:00
[crypto] add sm4 standard implementation
This commit is contained in:
@@ -123,8 +123,14 @@ void sms4_ede_decrypt_8blocks(sms4_ede_key_t *key, const unsigned char *in, unsi
|
||||
void sms4_ede_decrypt_16blocks(sms4_ede_key_t *key, const unsigned char *in, unsigned char *out);
|
||||
*/
|
||||
|
||||
void sms4_standard_encrypt(const unsigned char *in, unsigned char *out, const unsigned char *key);
|
||||
void sms4_standard_decrypt(const unsigned char *in, unsigned char *out, const unsigned char *key);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user