Fix compilation error in Streebog code caused by latest changes.

This commit is contained in:
Mounir IDRASSI 2016-08-16 12:37:45 +02:00
parent 2fef14ff76
commit 625259d226
No known key found for this signature in database
GPG Key ID: DD0C382D5FCFB8FC
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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