add sms4 module

This commit is contained in:
Zhi Guan
2017-02-14 23:14:06 +08:00
parent 4e49434209
commit 01c76aa6a0
33 changed files with 3036 additions and 6 deletions

View File

@@ -236,6 +236,10 @@ static FUNCTION functions[] = {
#ifndef OPENSSL_NO_BLAKE2
{ FT_md, "blake2s256", dgst_main},
#endif
{ FT_cipher, "sms4-cbc", enc_main, enc_options },
{ FT_cipher, "sms4-ecb", enc_main, enc_options },
{ FT_cipher, "sms4-ofb", enc_main, enc_options },
{ FT_cipher, "sms4-cfb", enc_main, enc_options },
{ FT_cipher, "aes-128-cbc", enc_main, enc_options },
{ FT_cipher, "aes-128-ecb", enc_main, enc_options },
{ FT_cipher, "aes-192-cbc", enc_main, enc_options },