mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-09 23:43:41 +08:00
sm2 test vector
This commit is contained in:
@@ -23,6 +23,11 @@ static int zuc_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* FIXME:
|
||||
* evp_enc.c assert block_size in {1, 8, 16}, 4 not ok!
|
||||
*/
|
||||
static const EVP_CIPHER zuc_cipher = {
|
||||
NID_zuc, /* nid */
|
||||
4, /* block_size */
|
||||
|
||||
Reference in New Issue
Block a user