Skip to content

Commit eaab875

Browse files
committed
temporarily revert Streebog len to UINT32
1 parent 7a2a4e6 commit eaab875

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Include/Acidanthera/Library/OcCryptoLib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ VOID
435435
Streebog256 (
436436
CONST UINT8 *Data,
437437
UINT8 *Digest,
438-
UINTN Length
438+
UINT32 Length
439439
);
440440

441441
VOID
@@ -460,7 +460,7 @@ VOID
460460
Streebog512 (
461461
CONST UINT8 *Data,
462462
UINT8 *Digest,
463-
UINTN Length
463+
UINT32 Length
464464
);
465465

466466
BOOLEAN

Library/OcCryptoLib/Streebog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ VOID
322322
Streebog256 (
323323
CONST UINT8 *Data,
324324
UINT8 *Digest,
325-
UINTN Length
325+
UINT32 Length
326326
)
327327
{
328328
STREEBOG_CONTEXT Context;
@@ -364,7 +364,7 @@ VOID
364364
Streebog512 (
365365
CONST UINT8 *Data,
366366
UINT8 *Digest,
367-
UINTN Length
367+
UINT32 Length
368368
)
369369
{
370370
STREEBOG_CONTEXT Context;

0 commit comments

Comments
 (0)