summaryrefslogtreecommitdiff
path: root/lib/crypt-sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypt-sha256.c')
-rw-r--r--lib/crypt-sha256.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/crypt-sha256.c b/lib/crypt-sha256.c
index 447fe11..5a55de1 100644
--- a/lib/crypt-sha256.c
+++ b/lib/crypt-sha256.c
@@ -81,9 +81,9 @@ SHA256_Update_recycled (SHA256_CTX *ctx,
void
crypt_sha256crypt_rn (const char *phrase, size_t phr_size,
- const char *setting, size_t ARG_UNUSED (set_size),
- uint8_t *output, size_t out_size,
- void *scratch, size_t scr_size)
+ const char *setting, size_t ARG_UNUSED (set_size),
+ uint8_t *output, size_t out_size,
+ void *scratch, size_t scr_size)
{
/* This shouldn't ever happen, but... */
if (out_size < SHA256_HASH_LENGTH
@@ -291,8 +291,8 @@ crypt_sha256crypt_rn (const char *phrase, size_t phr_size,
void
gensalt_sha256crypt_rn (unsigned long count,
- const uint8_t *rbytes, size_t nrbytes,
- uint8_t *output, size_t output_size)
+ const uint8_t *rbytes, size_t nrbytes,
+ uint8_t *output, size_t output_size)
{
gensalt_sha_rn ('5', SALT_LEN_MAX, ROUNDS_DEFAULT, ROUNDS_MIN, ROUNDS_MAX,
count, rbytes, nrbytes, output, output_size);