summaryrefslogtreecommitdiffabout
path: root/pwmanager/libcrypt/cipher/rand-internal.h
Unidiff
Diffstat (limited to 'pwmanager/libcrypt/cipher/rand-internal.h') (more/less context) (show whitespace changes)
-rw-r--r--pwmanager/libcrypt/cipher/rand-internal.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/pwmanager/libcrypt/cipher/rand-internal.h b/pwmanager/libcrypt/cipher/rand-internal.h
new file mode 100644
index 0000000..bf1b2af
--- a/dev/null
+++ b/pwmanager/libcrypt/cipher/rand-internal.h
@@ -0,0 +1,41 @@
1/* rand-internal.h - header to glue the random functions
2 *Copyright (C) 1998, 2002 Free Software Foundation, Inc.
3 *
4 * This file is part of Libgcrypt.
5 *
6 * Libgcrypt is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser general Public License as
8 * published by the Free Software Foundation; either version 2.1 of
9 * the License, or (at your option) any later version.
10 *
11 * Libgcrypt is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19 */
20#ifndef G10_RAND_INTERNAL_H
21#define G10_RAND_INTERNAL_H
22
23void _gcry_random_progress (const char *what, int printchar,
24 int current, int total);
25
26
27int _gcry_rndlinux_gather_random (void (*add) (const void *, size_t, int),
28 int requester, size_t length, int level);
29int _gcry_rndunix_gather_random (void (*add) (const void *, size_t, int),
30 int requester, size_t length, int level);
31int _gcry_rndegd_gather_random (void (*add) (const void *, size_t, int),
32 int requester, size_t length, int level);
33int _gcry_rndegd_connect_socket (int nofail);
34int _gcry_rndw32_gather_random (void (*add) (const void *, size_t, int),
35 int requester, size_t length, int level);
36int _gcry_rndw32_gather_random_fast (void (*add)(const void*, size_t, int),
37 int requester );
38
39
40
41#endif /*G10_RAND_INTERNAL_H*/