chacha_prng > chacha20_prng
This commit is contained in:
parent
3a05f0331d
commit
2656a040e0
@ -16,7 +16,7 @@ struct rc4_prng {
|
||||
#endif
|
||||
|
||||
#ifdef LTC_CHACHA
|
||||
struct chacha_prng {
|
||||
struct chacha20_prng {
|
||||
chacha_state s; /* chacha state */
|
||||
unsigned char ent[40]; /* entropy buffer */
|
||||
unsigned long idx; /* entropy counter */
|
||||
@ -65,7 +65,7 @@ typedef union Prng_state {
|
||||
struct rc4_prng rc4;
|
||||
#endif
|
||||
#ifdef LTC_CHACHA
|
||||
struct chacha_prng chacha;
|
||||
struct chacha20_prng chacha;
|
||||
#endif
|
||||
#ifdef LTC_FORTUNA
|
||||
struct fortuna_prng fortuna;
|
||||
|
@ -224,7 +224,7 @@ static const crypt_size _crypt_sizes[] = {
|
||||
_SZ_STRINGIFY_S(fortuna_prng),
|
||||
#endif
|
||||
#ifdef LTC_CHACHA
|
||||
_SZ_STRINGIFY_S(chacha_prng),
|
||||
_SZ_STRINGIFY_S(chacha20_prng),
|
||||
#endif
|
||||
#ifdef LTC_RC4
|
||||
_SZ_STRINGIFY_S(rc4_prng),
|
||||
|
Loading…
Reference in New Issue
Block a user