/* * Copyright (c) 2013, Alexey Degtyarev. * 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); #ifdef __cplusplus } #endif #endif raCrypt128x128.png" alt="VeraCrypt"/>
aboutsummaryrefslogtreecommitdiff
path: root/src/SetupDLL/ComSetup.h
blob: 85d0f249e63584a2cd542411f4aa446c28b029cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 Derived from source code of TrueCrypt 7.1a, which is
 Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
 by the TrueCrypt License 3.0.

 Modifications and additions to the original source code (contained in this file)
 and all other portions of this file are Copyright (c) 2013-2017 IDRIX
 and are governed by the Apache License 2.0 the full text of which is
 contained in the file License.txt included in VeraCrypt binary and source
 code distribution packages.
*/

#ifdef __cplusplus
extern "C" {
#endif

BOOL RegisterComServers (wchar_t *modulePath);
BOOL UnregisterComServers (wchar_t *modulePath);

#ifdef __cplusplus
}
#endif