Commit f9e3fbf9 authored by Niels Möller's avatar Niels Möller
Browse files

rsa.h is now obsolete.

Rev: src/nettle/hmac-md5.h:1.1
Rev: src/nettle/rsa.h:1.5
Rev: src/nettle/rsa_md5.c:1.3
Rev: src/nettle/rsa_sha1.c:1.3
Rev: src/nettle/testsuite/Makefile.am:1.18
Rev: src/nettle/testsuite/aes-test.c:1.2
Rev: src/nettle/testsuite/arcfour-test.c:1.2
Rev: src/nettle/testsuite/bignum-test.c:1.2
Rev: src/nettle/testsuite/blowfish-test.c:1.2
Rev: src/nettle/testsuite/cast128-test.c:1.2
Rev: src/nettle/testsuite/cbc-test.c:1.2
Rev: src/nettle/testsuite/des-compat-test.c:1.3
Rev: src/nettle/testsuite/des-test.c:1.2
Rev: src/nettle/testsuite/des3-test.c:1.2
Rev: src/nettle/testsuite/md5-compat-test.c:1.2
Rev: src/nettle/testsuite/md5-test.c:1.2
Rev: src/nettle/testsuite/serpent-test.c:1.2
Rev: src/nettle/testsuite/sha1-test.c:1.2
Rev: src/nettle/testsuite/sha256-test.c:1.2
Rev: src/nettle/testsuite/testutils.c:1.6
Rev: src/nettle/testsuite/testutils.h:1.4
Rev: src/nettle/testsuite/twofish-test.c:1.2
Rev: src/nettle/testsuite/yarrow-test.c:1.11
parent 84ccbaa5
......@@ -20,6 +20,12 @@ decode_hex(uint8_t *dst, const char *hex);
const uint8_t *
decode_hex_dup(const char *hex);
/* The main program */
int
test_main(void);
extern int verbose;
void
test_cipher(const struct nettle_cipher *cipher,
unsigned key_length,
......@@ -42,7 +48,7 @@ test_hash(const struct nettle_hash *hash,
unsigned length,
const uint8_t *data,
const uint8_t *digest);
#define H2(d, s) decode_hex((d), (s))
#define H(x) decode_hex_dup(x)
#define HL(x) decode_hex_length(x), decode_hex_dup(x)
......
......@@ -2,7 +2,7 @@
#include "twofish.h"
int
main(int argc, char **argv)
test_main(void)
{
/* 128 bit key */
test_cipher(&nettle_twofish128,
......
......@@ -9,8 +9,6 @@
#include <stdlib.h>
#include <string.h>
static int verbose = 0;
/* Lagged fibonacci sequence as described in Knuth 3.6 */
#define KK 100
......@@ -166,7 +164,7 @@ open_file(const char *name)
}
int
main(int argc, char **argv)
test_main(void)
{
FILE *input;
......@@ -200,11 +198,6 @@ main(int argc, char **argv)
static const char zeroes[100];
if ((argc == 2)
&& (argv[1][0] == '-')
&& (argv[1][1] == 'v'))
verbose = 1;
yarrow256_init(&yarrow, 2, sources);
memset(&yarrow.seed_file, 0, sizeof(yarrow.seed_file));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment