Merge pull request #190 from fperrad/20170407_lint

chacha: more linting
This commit is contained in:
Steffen Jaeckel 2017-04-07 18:49:47 +02:00 committed by GitHub
commit 904eee0975
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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)