mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-29 09:13:38 +08:00
Remove cl building warnings
This commit is contained in:
@@ -165,10 +165,7 @@ int sm4_xts_encrypt_update(SM4_XTS_CTX *ctx,
|
||||
const uint8_t *in, size_t inlen, uint8_t *out, size_t *outlen)
|
||||
{
|
||||
size_t DATA_UNIT_SIZE = ctx->data_unit_size;
|
||||
|
||||
size_t left;
|
||||
size_t nblocks;
|
||||
size_t len;
|
||||
|
||||
if (ctx->block_nbytes >= DATA_UNIT_SIZE) {
|
||||
error_print();
|
||||
@@ -253,10 +250,7 @@ int sm4_xts_decrypt_update(SM4_XTS_CTX *ctx,
|
||||
const uint8_t *in, size_t inlen, uint8_t *out, size_t *outlen)
|
||||
{
|
||||
size_t DATA_UNIT_SIZE = ctx->data_unit_size;
|
||||
|
||||
size_t left;
|
||||
size_t nblocks;
|
||||
size_t len;
|
||||
|
||||
if (ctx->block_nbytes >= DATA_UNIT_SIZE) {
|
||||
error_print();
|
||||
|
||||
Reference in New Issue
Block a user