comparison libtomcrypt/src/prngs/sprng.c @ 1435:f849a5ca2efc

update to libtomcrypt 1.17 (with Dropbear changes)
author Matt Johnston <matt@ucc.asn.au>
date Sat, 24 Jun 2017 17:50:50 +0800
parents 0cbe8f6dbf9e
children 6dba84798cd5
comparison
equal deleted inserted replaced
1434:27b9ddb06b09 1435:f849a5ca2efc
4 * algorithms in a highly modular and flexible manner. 4 * algorithms in a highly modular and flexible manner.
5 * 5 *
6 * The library is free for all purposes without any express 6 * The library is free for all purposes without any express
7 * guarantee it works. 7 * guarantee it works.
8 * 8 *
9 * Tom St Denis, [email protected], http://libtomcrypt.com 9 * Tom St Denis, [email protected], http://libtom.org
10 */ 10 */
11 #include "tomcrypt.h" 11 #include "tomcrypt.h"
12 12
13 /** 13 /**
14 @file sprng.c 14 @file sprng.c
18 /* A secure PRNG using the RNG functions. Basically this is a 18 /* A secure PRNG using the RNG functions. Basically this is a
19 * wrapper that allows you to use a secure RNG as a PRNG 19 * wrapper that allows you to use a secure RNG as a PRNG
20 * in the various other functions. 20 * in the various other functions.
21 */ 21 */
22 22
23 #ifdef SPRNG 23 #ifdef LTC_SPRNG
24 24
25 const struct ltc_prng_descriptor sprng_desc = 25 const struct ltc_prng_descriptor sprng_desc =
26 { 26 {
27 "sprng", 0, 27 "sprng", 0,
28 &sprng_start, 28 &sprng_start,
129 #endif 129 #endif
130 130
131 131
132 132
133 133
134 /* $Source: /cvs/libtom/libtomcrypt/src/prngs/sprng.c,v $ */ 134 /* $Source$ */
135 /* $Revision: 1.4 $ */ 135 /* $Revision$ */
136 /* $Date: 2006/03/31 14:15:35 $ */ 136 /* $Date$ */