mirror of
https://github.com/libtom/libtomcrypt
synced 2026-08-25 20:26:07 -04:00
fix typo sha256_x86_compress/sha256_compress (LTC_CLEAN_STACK only)
This commit is contained in:
parent
97f5d72457
commit
bfc516d246
1 changed files with 2 additions and 2 deletions
|
|
@ -250,10 +250,10 @@ static int LTC_SHA_TARGET s_sha256_x86_compress(hash_state * md, const unsigned
|
|||
#undef K
|
||||
|
||||
#ifdef LTC_CLEAN_STACK
|
||||
static int s_sha256_compress(hash_state * md, const unsigned char *buf)
|
||||
static int s_sha256_x86_compress(hash_state * md, const unsigned char *buf)
|
||||
{
|
||||
int err;
|
||||
err = ss_sha256_compress(md, buf);
|
||||
err = ss_sha256_x86_compress(md, buf);
|
||||
burn_stack(sizeof(ulong32) * 74);
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue