scrypt: keep r as a size_t value

This commit is contained in:
Frank Denis 2015-02-15 22:37:59 +01:00
parent 663fe8229e
commit 90447b0283

View File

@ -67,7 +67,7 @@ blkxor_64(escrypt_block_t *dest, const escrypt_block_t *src)
} }
static inline void 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; int i, L;
#if (ARCH_BITS==32) #if (ARCH_BITS==32)
@ -82,7 +82,7 @@ blkcpy(escrypt_block_t *dest, const escrypt_block_t *src, int len)
} }
static inline void 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; int i, L;
#if (ARCH_BITS==32) #if (ARCH_BITS==32)