mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-07 12:33:39 +08:00
Add sm4_xts and ghash command
This commit is contained in:
@@ -143,7 +143,7 @@ int sm4_gcm_main(int argc, char **argv)
|
||||
if (--argc < 1) goto bad;
|
||||
taglen = atoi(*(++argv));
|
||||
if (taglen < SM4_GCM_MIN_TAG_SIZE || taglen > SM4_GCM_MAX_TAG_SIZE) {
|
||||
fprintf(stderr, "%s: `-taglen` invalid integer argument\n", prog);
|
||||
fprintf(stderr, "gmssl %s: `-taglen` invalid integer argument\n", prog);
|
||||
goto end;
|
||||
}
|
||||
} else if (!strcmp(*argv, "-in")) {
|
||||
|
||||
Reference in New Issue
Block a user