mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 00:28:11 +00:00
Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ...
This commit is contained in:
parent
646a47236c
commit
e73dc359aa
@ -35,7 +35,7 @@ __constant u32 k_sha256[64] =
|
||||
SHA256C3c, SHA256C3d, SHA256C3e, SHA256C3f,
|
||||
};
|
||||
|
||||
void sha256_transform (const u32x w[16], u32x digest[8])
|
||||
static void sha256_transform (const u32x w[16], u32x digest[8])
|
||||
{
|
||||
u32x a = digest[0];
|
||||
u32x b = digest[1];
|
||||
@ -123,7 +123,7 @@ void sha256_transform (const u32x w[16], u32x digest[8])
|
||||
digest[7] += h;
|
||||
}
|
||||
|
||||
void memcat64c_be (u32x block[16], const u32 offset, u32x carry[16])
|
||||
static void memcat64c_be (u32x block[16], const u32 offset, u32x carry[16])
|
||||
{
|
||||
const u32 mod = offset & 3;
|
||||
const u32 div = offset / 4;
|
||||
|
Loading…
Reference in New Issue
Block a user