From e796abb155472b9c71b5bf0f0664151b464cc99f Mon Sep 17 00:00:00 2001 From: TuxSH Date: Fri, 15 Mar 2019 16:17:57 +0100 Subject: [PATCH] Also use alignedseqmemcpy for sha_hash --- source/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/crypto.c b/source/crypto.c index 300df4b..2e59c4a 100755 --- a/source/crypto.c +++ b/source/crypto.c @@ -313,7 +313,7 @@ void sha(void *res, const void *src, u32 size, u32 mode) else if(mode == SHA_1_MODE) hashSize = SHA_1_HASH_SIZE; - memcpy(res, (void *)REG_SHA_HASH, hashSize); + alignedseqmemcpy(res, (void *)REG_SHA_HASH, hashSize); } /*****************************************************************/