Merge pull request #190 from fperrad/20170407_lint
chacha: more linting
This commit is contained in:
commit
904eee0975
@ -84,7 +84,6 @@ int chacha_crypt(chacha_state *st, const unsigned char *in, unsigned long inlen,
|
|||||||
out += 64;
|
out += 64;
|
||||||
in += 64;
|
in += 64;
|
||||||
}
|
}
|
||||||
return CRYPT_OK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
#ifdef LTC_CHACHA
|
#ifdef LTC_CHACHA
|
||||||
|
|
||||||
static const char sigma[16] = "expand 32-byte k";
|
static const char * const sigma = "expand 32-byte k";
|
||||||
static const char tau[16] = "expand 16-byte k";
|
static const char * const tau = "expand 16-byte k";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Initialize an ChaCha context (only the key)
|
Initialize an ChaCha context (only the key)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user