VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/Streebog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Crypto/Streebog.h')
-rw-r--r--src/Crypto/Streebog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Crypto/Streebog.h b/src/Crypto/Streebog.h
index d5691e70..29571d73 100644
--- a/src/Crypto/Streebog.h
+++ b/src/Crypto/Streebog.h
@@ -4,38 +4,38 @@
* All rights reserved.
*/
/* Adapted to VeraCrypt */
#ifndef STREEBOG_H
#define STREEBOG_H
#include "Common/Tcdefs.h"
#include "config.h"
#ifdef __cplusplus
extern "C" {
#endif
#define STREEBOG_ALIGN(a) CRYPTOPP_ALIGN_DATA(a)
typedef STREEBOG_ALIGN(16) struct _STREEBOG_CTX
{
STREEBOG_ALIGN(16) unsigned char buffer[64];
STREEBOG_ALIGN(16) unsigned long long hash[8];
STREEBOG_ALIGN(16) unsigned long long h[8];
STREEBOG_ALIGN(16) unsigned long long N[8];
STREEBOG_ALIGN(16) unsigned long long Sigma[8];
size_t bufsize;
unsigned int digest_size;
} STREEBOG_CTX;
void STREEBOG_init(STREEBOG_CTX *ctx);
void STREEBOG_init256(STREEBOG_CTX *ctx);
-void STREEBOG_add(STREEBOG_CTX *ctx, const byte *msg, size_t len);
-void STREEBOG_finalize(STREEBOG_CTX *ctx, byte *out);
+void STREEBOG_add(STREEBOG_CTX *ctx, const uint8 *msg, size_t len);
+void STREEBOG_finalize(STREEBOG_CTX *ctx, uint8 *out);
#ifdef __cplusplus
}
#endif
#endif