diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/evp/e_sm4.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libcrypto/evp/e_sm4.c b/src/lib/libcrypto/evp/e_sm4.c index c1664db398..9de2080b27 100644 --- a/src/lib/libcrypto/evp/e_sm4.c +++ b/src/lib/libcrypto/evp/e_sm4.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: e_sm4.c,v 1.9 2023/07/07 19:37:53 beck Exp $ */ | 1 | /* $OpenBSD: e_sm4.c,v 1.10 2023/12/02 19:07:10 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
| 4 | * | 4 | * |
| @@ -154,9 +154,9 @@ static const EVP_CIPHER sm4_cbc = { | |||
| 154 | .do_cipher = sm4_cbc_cipher, | 154 | .do_cipher = sm4_cbc_cipher, |
| 155 | .cleanup = NULL, | 155 | .cleanup = NULL, |
| 156 | .ctx_size = sizeof(EVP_SM4_KEY), | 156 | .ctx_size = sizeof(EVP_SM4_KEY), |
| 157 | .set_asn1_parameters = 0, | 157 | .set_asn1_parameters = NULL, |
| 158 | .get_asn1_parameters = 0, | 158 | .get_asn1_parameters = NULL, |
| 159 | .ctrl = 0, | 159 | .ctrl = NULL, |
| 160 | .app_data = NULL, | 160 | .app_data = NULL, |
| 161 | }; | 161 | }; |
| 162 | 162 | ||
| @@ -176,9 +176,9 @@ static const EVP_CIPHER sm4_cfb128 = { | |||
| 176 | .do_cipher = sm4_cfb128_cipher, | 176 | .do_cipher = sm4_cfb128_cipher, |
| 177 | .cleanup = NULL, | 177 | .cleanup = NULL, |
| 178 | .ctx_size = sizeof(EVP_SM4_KEY), | 178 | .ctx_size = sizeof(EVP_SM4_KEY), |
| 179 | .set_asn1_parameters = 0, | 179 | .set_asn1_parameters = NULL, |
| 180 | .get_asn1_parameters = 0, | 180 | .get_asn1_parameters = NULL, |
| 181 | .ctrl = 0, | 181 | .ctrl = NULL, |
| 182 | .app_data = NULL, | 182 | .app_data = NULL, |
| 183 | }; | 183 | }; |
| 184 | 184 | ||
| @@ -198,9 +198,9 @@ static const EVP_CIPHER sm4_ofb = { | |||
| 198 | .do_cipher = sm4_ofb_cipher, | 198 | .do_cipher = sm4_ofb_cipher, |
| 199 | .cleanup = NULL, | 199 | .cleanup = NULL, |
| 200 | .ctx_size = sizeof(EVP_SM4_KEY), | 200 | .ctx_size = sizeof(EVP_SM4_KEY), |
| 201 | .set_asn1_parameters = 0, | 201 | .set_asn1_parameters = NULL, |
| 202 | .get_asn1_parameters = 0, | 202 | .get_asn1_parameters = NULL, |
| 203 | .ctrl = 0, | 203 | .ctrl = NULL, |
| 204 | .app_data = NULL, | 204 | .app_data = NULL, |
| 205 | }; | 205 | }; |
| 206 | 206 | ||
