diff --git a/Include/Acidanthera/Library/OcCryptoLib.h b/Include/Acidanthera/Library/OcCryptoLib.h index 77310e06725f..8e0bb519bd51 100644 --- a/Include/Acidanthera/Library/OcCryptoLib.h +++ b/Include/Acidanthera/Library/OcCryptoLib.h @@ -435,7 +435,7 @@ VOID Streebog256 ( CONST UINT8 *Data, UINT8 *Digest, - UINTN Length + UINT32 Length ); VOID @@ -460,7 +460,7 @@ VOID Streebog512 ( CONST UINT8 *Data, UINT8 *Digest, - UINTN Length + UINT32 Length ); BOOLEAN diff --git a/Library/OcCryptoLib/Streebog.c b/Library/OcCryptoLib/Streebog.c index b5195ecc34f7..64f266950d54 100644 --- a/Library/OcCryptoLib/Streebog.c +++ b/Library/OcCryptoLib/Streebog.c @@ -322,7 +322,7 @@ VOID Streebog256 ( CONST UINT8 *Data, UINT8 *Digest, - UINTN Length + UINT32 Length ) { STREEBOG_CONTEXT Context; @@ -364,7 +364,7 @@ VOID Streebog512 ( CONST UINT8 *Data, UINT8 *Digest, - UINTN Length + UINT32 Length ) { STREEBOG_CONTEXT Context;