Also use alignedseqmemcpy for sha_hash

This commit is contained in:
TuxSH 2019-03-15 16:17:57 +01:00
parent 3d2c12cf09
commit e796abb155

View File

@ -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);
}
/*****************************************************************/