mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Inline Function Guard
Fixed an inline function aes.c that was included, but never used. Added similar preprocessor guard around it as when it is used.
This commit is contained in:
@@ -4691,6 +4691,7 @@ static void GenerateM0(Aes* aes)
|
|||||||
|
|
||||||
#elif defined(GCM_TABLE_4BIT)
|
#elif defined(GCM_TABLE_4BIT)
|
||||||
|
|
||||||
|
#if !defined(BIG_ENDIAN_ORDER) && !defined(WC_16BIT_CPU)
|
||||||
static WC_INLINE void Shift4_M0(byte *r8, byte* z8)
|
static WC_INLINE void Shift4_M0(byte *r8, byte* z8)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@@ -4698,6 +4699,7 @@ static WC_INLINE void Shift4_M0(byte *r8, byte* z8)
|
|||||||
r8[i] = (z8[i-1] << 4) | (z8[i] >> 4);
|
r8[i] = (z8[i-1] << 4) | (z8[i] >> 4);
|
||||||
r8[0] = z8[0] >> 4;
|
r8[0] = z8[0] >> 4;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void GenerateM0(Aes* aes)
|
static void GenerateM0(Aes* aes)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user