Also use alignedseqmemcpy for sha_hash
This commit is contained in:
parent
3d2c12cf09
commit
e796abb155
@ -313,7 +313,7 @@ void sha(void *res, const void *src, u32 size, u32 mode)
|
|||||||
else if(mode == SHA_1_MODE)
|
else if(mode == SHA_1_MODE)
|
||||||
hashSize = SHA_1_HASH_SIZE;
|
hashSize = SHA_1_HASH_SIZE;
|
||||||
|
|
||||||
memcpy(res, (void *)REG_SHA_HASH, hashSize);
|
alignedseqmemcpy(res, (void *)REG_SHA_HASH, hashSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************/
|
/*****************************************************************/
|
||||||
|
Reference in New Issue
Block a user