mirror of
https://github.com/Wind4/vlmcsd.git
synced 2026-08-03 13:52:50 +08:00
vlmcsd-svn1031-2016-10-06-Hotbird64
This commit is contained in:
@@ -117,7 +117,7 @@ void AesInitKey(AesCtx *Ctx, const BYTE *Key, int_fast8_t IsV6, int RijndaelKeyB
|
||||
|
||||
memcpy(Ctx->Key, Key, RijndaelKeyBytes);
|
||||
|
||||
for ( i = RijndaelKeyDwords; i < ( Ctx->rounds + 1 ) << 2; i++ )
|
||||
for ( i = (uint_fast8_t)RijndaelKeyDwords; i < ( Ctx->rounds + 1 ) << 2; i++ )
|
||||
{
|
||||
temp = Ctx->Key[ i - 1 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user