LTC_CHACHA_STREAM >> LTC_CHACHA

This commit is contained in:
Karel Miko
2017-04-24 21:55:55 +02:00
parent dd35e86c60
commit 0df0c9b12c
11 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
#include "tomcrypt.h"
#ifdef LTC_CHACHA_STREAM
#ifdef LTC_CHACHA
#define QUARTERROUND(a,b,c,d) \
x[a] += x[b]; x[d] = ROL(x[d] ^ x[a], 16); \
+1 -1
View File
@@ -9,7 +9,7 @@
#include "tomcrypt.h"
#ifdef LTC_CHACHA_STREAM
#ifdef LTC_CHACHA
/**
Terminate and clear ChaCha state
+1 -1
View File
@@ -14,7 +14,7 @@
#include "tomcrypt.h"
#ifdef LTC_CHACHA_STREAM
#ifdef LTC_CHACHA
/**
Set IV + counter data to the ChaCha state
+1 -1
View File
@@ -14,7 +14,7 @@
#include "tomcrypt.h"
#ifdef LTC_CHACHA_STREAM
#ifdef LTC_CHACHA
/**
Set IV + counter data to the ChaCha state
+1 -1
View File
@@ -14,7 +14,7 @@
#include "tomcrypt.h"
#ifdef LTC_CHACHA_STREAM
#ifdef LTC_CHACHA
/**
Generate a stream of random bytes via ChaCha
+1 -1
View File
@@ -14,7 +14,7 @@
#include "tomcrypt.h"
#ifdef LTC_CHACHA_STREAM
#ifdef LTC_CHACHA
static const char * const sigma = "expand 32-byte k";
static const char * const tau = "expand 16-byte k";
+1 -1
View File
@@ -14,7 +14,7 @@
#include "tomcrypt.h"
#ifdef LTC_CHACHA_STREAM
#ifdef LTC_CHACHA
int chacha_test(void)
{