Skip to content

Commit

Permalink
CodeStyle fixes v1
Browse files Browse the repository at this point in the history
  • Loading branch information
lakreite authored and PMheart committed Sep 29, 2023
1 parent 57b5210 commit 435faa4
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 227 deletions.
40 changes: 20 additions & 20 deletions Include/Acidanthera/Library/OcCryptoLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ union uint512_u {
UINT64 QWORD[8];
};

typedef struct StreebogContext {
typedef struct STREEBOG_CONTEXT {
UINT8 buffer[64];
union uint512_u hash;
union uint512_u h;
union uint512_u N;
union uint512_u Sigma;
UINT32 bufsize;
UINT32 digest_size;
} StreebogContext;
} STREEBOG_CONTEXT;

///
/// The structure describing the RSA Public Key format.
Expand Down Expand Up @@ -411,52 +411,52 @@ Sha384 (

VOID
Streebog256Init (
StreebogContext *CTX
STREEBOG_CONTEXT *Context
);

VOID
Streebog256Update (
StreebogContext *CTX,
CONST UINT8 *data,
UINT32 len
STREEBOG_CONTEXT *Context,
CONST UINT8 *Data,
UINT32 Length
);

VOID
Streebog256Final (
StreebogContext *CTX,
UINT8 *digest
STREEBOG_CONTEXT *Context,
UINT8 *Digest
);

VOID
Streebog512Init (
StreebogContext *CTX
STREEBOG_CONTEXT *Context
);

VOID
Streebog512Update (
StreebogContext *CTX,
CONST UINT8 *data,
UINT32 len
STREEBOG_CONTEXT *Context,
CONST UINT8 *Data,
UINT32 Length
);

VOID
Streebog512Final (
StreebogContext *CTX,
UINT8 *digest
STREEBOG_CONTEXT *Context,
UINT8 *Digest
);

VOID
Streebog256 (
CONST UINT8 *data,
UINT32 len,
UINT8 *digest
CONST UINT8 *Data,
UINT32 Length,
UINT8 *Digest
);

VOID
Streebog512 (
CONST UINT8 *data,
UINT32 len,
UINT8 *digest
CONST UINT8 *Data,
UINT32 Length,
UINT8 *Digest
);

BOOLEAN
Expand Down
Loading

0 comments on commit 435faa4

Please sign in to comment.