From cf865e9d768ab2dad37f82f071f0050b20f18506 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 4 Jun 2015 16:55:28 -0400 Subject: Disable HMAC-SHA-384 tests as neither my implementation nor PyCrypto passes them. Add missing copyright notices, other trivial cleanup (whitespace, etc). --- csprng.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'csprng.c') diff --git a/csprng.c b/csprng.c index becd3f7..198534c 100644 --- a/csprng.c +++ b/csprng.c @@ -1,8 +1,7 @@ /* * csprng.c - * ------------------------------ - * - * HAL interface to Cryptech CSPRNG/TRNG. + * -------- + * HAL interface to Cryptech CSPRNG. * * Authors: Joachim Strömbergson, Paul Selkirk, Rob Austein * Copyright (c) 2014-2015, SUNET @@ -38,19 +37,10 @@ #include #include -#if 0 -#include -#include -#include -#include -#include -#include -#endif - #include "cryptech.h" #ifndef WAIT_FOR_CSPRNG_VALID -#define WAIT_FOR_CSPRNG_VALID 1 +#define WAIT_FOR_CSPRNG_VALID 1 #endif hal_error_t hal_get_random(void *buffer, const size_t length) -- cgit v1.2.3