chacha: more linting
@@ -84,7 +84,6 @@ int chacha_crypt(chacha_state *st, const unsigned char *in, unsigned long inlen,
out += 64;
in += 64;
}
- return CRYPT_OK;
#endif
@@ -16,8 +16,8 @@
#ifdef LTC_CHACHA
-static const char sigma[16] = "expand 32-byte k";
-static const char tau[16] = "expand 16-byte k";
+static const char * const sigma = "expand 32-byte k";
+static const char * const tau = "expand 16-byte k";
/**
Initialize an ChaCha context (only the key)