Skip to content

Commit

Permalink
Merge pull request #190 from fperrad/20170407_lint
Browse files Browse the repository at this point in the history
chacha: more linting
  • Loading branch information
sjaeckel committed Apr 7, 2017
2 parents 13b2220 + b6c27c2 commit 904eee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/stream/chacha/chacha_crypt.c
Expand Up @@ -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
4 changes: 2 additions & 2 deletions src/stream/chacha/chacha_setup.c
Expand Up @@ -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)
Expand Down

0 comments on commit 904eee0

Please sign in to comment.