diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-16 12:37:45 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-16 12:42:44 +0200 |
commit | 625259d2260ae26234595aadeb87d74244b9962d (patch) | |
tree | ff2351933c437cb4bc49df76f38caa9475e926ab /src | |
parent | 2fef14ff7626f2879b2a8de721a03c7e0f7ff9f6 (diff) | |
download | VeraCrypt-625259d2260ae26234595aadeb87d74244b9962d.tar.gz VeraCrypt-625259d2260ae26234595aadeb87d74244b9962d.zip |
Fix compilation error in Streebog code caused by latest changes.
Diffstat (limited to 'src')
-rw-r--r-- | src/Crypto/Streebog.c | 2 | ||||
-rw-r--r-- | src/Crypto/Streebog.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Crypto/Streebog.c b/src/Crypto/Streebog.c index d13d58d2..a5fbdbf6 100644 --- a/src/Crypto/Streebog.c +++ b/src/Crypto/Streebog.c @@ -2347,7 +2347,7 @@ stage3(STREEBOG_CTX *CTX) memcpy((CTX->hash), (CTX->h), 8 * sizeof(unsigned long long)); } -void STREEBOG_add(STREEBOG_CTX *CTX, byte *data, size_t len) +void STREEBOG_add(STREEBOG_CTX *CTX, const byte *data, size_t len) { size_t chunksize; diff --git a/src/Crypto/Streebog.h b/src/Crypto/Streebog.h index 61630234..47c792c1 100644 --- a/src/Crypto/Streebog.h +++ b/src/Crypto/Streebog.h @@ -27,7 +27,7 @@ typedef ALIGN(16) struct _STREEBOG_CTX void STREEBOG_init(STREEBOG_CTX *ctx); void STREEBOG_init256(STREEBOG_CTX *ctx); -void STREEBOG_add(STREEBOG_CTX *ctx, byte *msg, size_t len); +void STREEBOG_add(STREEBOG_CTX *ctx, const byte *msg, size_t len); void STREEBOG_finalize(STREEBOG_CTX *ctx, byte *out); #endif |