Indentation

This commit is contained in:
Frank Denis 2015-02-21 16:15:35 +01:00
parent 3316db5c87
commit ef4290b71c

View File

@ -95,12 +95,12 @@ crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive(void)
int int
crypto_pwhash_scryptsalsa208sha256(unsigned char * const out, crypto_pwhash_scryptsalsa208sha256(unsigned char * const out,
unsigned long long outlen, unsigned long long outlen,
const char * const passwd, const char * const passwd,
unsigned long long passwdlen, unsigned long long passwdlen,
const unsigned char * const salt, const unsigned char * const salt,
unsigned long long opslimit, unsigned long long opslimit,
size_t memlimit) size_t memlimit)
{ {
uint32_t N_log2; uint32_t N_log2;
uint32_t p; uint32_t p;
@ -125,10 +125,10 @@ crypto_pwhash_scryptsalsa208sha256(unsigned char * const out,
int int
crypto_pwhash_scryptsalsa208sha256_str(char out[crypto_pwhash_scryptsalsa208sha256_STRBYTES], crypto_pwhash_scryptsalsa208sha256_str(char out[crypto_pwhash_scryptsalsa208sha256_STRBYTES],
const char * const passwd, const char * const passwd,
unsigned long long passwdlen, unsigned long long passwdlen,
unsigned long long opslimit, unsigned long long opslimit,
size_t memlimit) size_t memlimit)
{ {
uint8_t salt[crypto_pwhash_scryptsalsa208sha256_STRSALTBYTES]; uint8_t salt[crypto_pwhash_scryptsalsa208sha256_STRSALTBYTES];
char setting[crypto_pwhash_scryptsalsa208sha256_STRSETTINGBYTES + 1U]; char setting[crypto_pwhash_scryptsalsa208sha256_STRSETTINGBYTES + 1U];
@ -179,8 +179,8 @@ crypto_pwhash_scryptsalsa208sha256_str(char out[crypto_pwhash_scryptsalsa208sha2
int int
crypto_pwhash_scryptsalsa208sha256_str_verify(const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES], crypto_pwhash_scryptsalsa208sha256_str_verify(const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES],
const char * const passwd, const char * const passwd,
unsigned long long passwdlen) unsigned long long passwdlen)
{ {
char wanted[crypto_pwhash_scryptsalsa208sha256_STRBYTES]; char wanted[crypto_pwhash_scryptsalsa208sha256_STRBYTES];
escrypt_local_t escrypt_local; escrypt_local_t escrypt_local;