mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
scrypt: keep r as a size_t value
This commit is contained in:
+2
-2
@@ -67,7 +67,7 @@ blkxor_64(escrypt_block_t *dest, const escrypt_block_t *src)
|
||||
}
|
||||
|
||||
static inline void
|
||||
blkcpy(escrypt_block_t *dest, const escrypt_block_t *src, int len)
|
||||
blkcpy(escrypt_block_t *dest, const escrypt_block_t *src, size_t len)
|
||||
{
|
||||
int i, L;
|
||||
#if (ARCH_BITS==32)
|
||||
@@ -82,7 +82,7 @@ blkcpy(escrypt_block_t *dest, const escrypt_block_t *src, int len)
|
||||
}
|
||||
|
||||
static inline void
|
||||
blkxor(escrypt_block_t *dest, const escrypt_block_t *src, int len)
|
||||
blkxor(escrypt_block_t *dest, const escrypt_block_t *src, size_t len)
|
||||
{
|
||||
int i, L;
|
||||
#if (ARCH_BITS==32)
|
||||
|
||||
Reference in New Issue
Block a user