mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-27 21:43:29 +01:00
Remove unused functions from GfMul.c
This commit is contained in:
parent
2cdfbd2703
commit
65e4b3a91b
@ -726,22 +726,6 @@ static void GfMul128Basic (unsigned __int8 *a, unsigned __int8 *b, unsigned __in
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void xor64 (uint64 *a, uint64 *b)
|
|
||||||
{
|
|
||||||
*a ^= *b;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void shl64 (unsigned __int8 *a)
|
|
||||||
{
|
|
||||||
int i, x = 0, xx;
|
|
||||||
for (i = 7; i >= 0; i--)
|
|
||||||
{
|
|
||||||
xx = (a[i] & 0x80) >> 7;
|
|
||||||
a[i] = (char) ((a[i] << 1) | x);
|
|
||||||
x = xx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
BOOL GfMulSelfTest ()
|
BOOL GfMulSelfTest ()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user