diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-07-15 23:46:24 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-07-15 23:46:24 +0800 |
commit | 7890ea1f95fa8968fa6f5bb5860e6632932abfd3 (patch) | |
tree | 2759b92fc817b3cae8cf88d9a8e5b74feeabb4cd /crypto/prng.h | |
parent | 5a86102248592e178a9023359ccf7f0e489d8e35 (diff) |
Revert crypto: prng - Deterministic CPRNG
This patch is clearly not ready yet for prime time.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/prng.h')
-rw-r--r-- | crypto/prng.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/crypto/prng.h b/crypto/prng.h deleted file mode 100644 index 1ac9be5009b..00000000000 --- a/crypto/prng.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * PRNG: Pseudo Random Number Generator - * - * (C) Neil Horman <nhorman@tuxdriver.com> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * any later version. - * - * - */ - -#ifndef _PRNG_H_ -#define _PRNG_H_ -struct prng_context; - -int get_prng_bytes(char *buf, int nbytes, struct prng_context *ctx); -struct prng_context *alloc_prng_context(void); -int reset_prng_context(struct prng_context *ctx, - unsigned char *key, unsigned char *iv, - unsigned char *V, - unsigned char *DT); -void free_prng_context(struct prng_context *ctx); - -#endif - |