diff options
Diffstat (limited to 'linden/indra/libgcrypt/libgcrypt-1.2.2/src/cipher.h')
-rw-r--r--[-rwxr-xr-x] | linden/indra/libgcrypt/libgcrypt-1.2.2/src/cipher.h | 160 |
1 files changed, 80 insertions, 80 deletions
diff --git a/linden/indra/libgcrypt/libgcrypt-1.2.2/src/cipher.h b/linden/indra/libgcrypt/libgcrypt-1.2.2/src/cipher.h index f5df86e..a5f194e 100755..100644 --- a/linden/indra/libgcrypt/libgcrypt-1.2.2/src/cipher.h +++ b/linden/indra/libgcrypt/libgcrypt-1.2.2/src/cipher.h | |||
@@ -1,80 +1,80 @@ | |||
1 | /* cipher.h | 1 | /* cipher.h |
2 | * Copyright (C) 1998, 2002, 2003 Free Software Foundation, Inc. | 2 | * Copyright (C) 1998, 2002, 2003 Free Software Foundation, Inc. |
3 | * | 3 | * |
4 | * This file is part of Libgcrypt. | 4 | * This file is part of Libgcrypt. |
5 | * | 5 | * |
6 | * Libgcrypt is free software; you can redistribute it and/or modify | 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 | 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 | 8 | * published by the Free Software Foundation; either version 2.1 of |
9 | * the License, or (at your option) any later version. | 9 | * the License, or (at your option) any later version. |
10 | * | 10 | * |
11 | * Libgcrypt is distributed in the hope that it will be useful, | 11 | * Libgcrypt is distributed in the hope that it will be useful, |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | * GNU Lesser General Public License for more details. | 14 | * GNU Lesser General Public License for more details. |
15 | * | 15 | * |
16 | * You should have received a copy of the GNU Lesser General Public | 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 | 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 | 18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
19 | */ | 19 | */ |
20 | #ifndef G10_CIPHER_H | 20 | #ifndef G10_CIPHER_H |
21 | #define G10_CIPHER_H | 21 | #define G10_CIPHER_H |
22 | 22 | ||
23 | #include <gcrypt.h> | 23 | #include <gcrypt.h> |
24 | 24 | ||
25 | #define DBG_CIPHER _gcry_get_debug_flag( 1 ) | 25 | #define DBG_CIPHER _gcry_get_debug_flag( 1 ) |
26 | 26 | ||
27 | #include "../cipher/random.h" | 27 | #include "../cipher/random.h" |
28 | 28 | ||
29 | #define PUBKEY_FLAG_NO_BLINDING (1 << 0) | 29 | #define PUBKEY_FLAG_NO_BLINDING (1 << 0) |
30 | 30 | ||
31 | /*-- rmd160.c --*/ | 31 | /*-- rmd160.c --*/ |
32 | void _gcry_rmd160_hash_buffer (char *outbuf, const char *buffer, size_t length); | 32 | void _gcry_rmd160_hash_buffer (char *outbuf, const char *buffer, size_t length); |
33 | /*-- sha1.c --*/ | 33 | /*-- sha1.c --*/ |
34 | void _gcry_sha1_hash_buffer (char *outbuf, const char *buffer, size_t length); | 34 | void _gcry_sha1_hash_buffer (char *outbuf, const char *buffer, size_t length); |
35 | 35 | ||
36 | /*-- dsa.c --*/ | 36 | /*-- dsa.c --*/ |
37 | void _gcry_register_pk_dsa_progress (gcry_handler_progress_t cbc, void *cb_data); | 37 | void _gcry_register_pk_dsa_progress (gcry_handler_progress_t cbc, void *cb_data); |
38 | /*-- elgamal.c --*/ | 38 | /*-- elgamal.c --*/ |
39 | void _gcry_register_pk_elg_progress (gcry_handler_progress_t cb, void *cb_data); | 39 | void _gcry_register_pk_elg_progress (gcry_handler_progress_t cb, void *cb_data); |
40 | /*-- primegen.c --*/ | 40 | /*-- primegen.c --*/ |
41 | void _gcry_register_primegen_progress (gcry_handler_progress_t cb, void *cb_data); | 41 | void _gcry_register_primegen_progress (gcry_handler_progress_t cb, void *cb_data); |
42 | 42 | ||
43 | /*-- pubkey.c --*/ | 43 | /*-- pubkey.c --*/ |
44 | const char * _gcry_pk_aliased_algo_name (int algorithm); | 44 | const char * _gcry_pk_aliased_algo_name (int algorithm); |
45 | 45 | ||
46 | /* Declarations for the cipher specifications. */ | 46 | /* Declarations for the cipher specifications. */ |
47 | extern gcry_cipher_spec_t _gcry_cipher_spec_blowfish; | 47 | extern gcry_cipher_spec_t _gcry_cipher_spec_blowfish; |
48 | extern gcry_cipher_spec_t _gcry_cipher_spec_des; | 48 | extern gcry_cipher_spec_t _gcry_cipher_spec_des; |
49 | extern gcry_cipher_spec_t _gcry_cipher_spec_tripledes; | 49 | extern gcry_cipher_spec_t _gcry_cipher_spec_tripledes; |
50 | extern gcry_cipher_spec_t _gcry_cipher_spec_arcfour; | 50 | extern gcry_cipher_spec_t _gcry_cipher_spec_arcfour; |
51 | extern gcry_cipher_spec_t _gcry_cipher_spec_cast5; | 51 | extern gcry_cipher_spec_t _gcry_cipher_spec_cast5; |
52 | extern gcry_cipher_spec_t _gcry_cipher_spec_aes; | 52 | extern gcry_cipher_spec_t _gcry_cipher_spec_aes; |
53 | extern gcry_cipher_spec_t _gcry_cipher_spec_aes192; | 53 | extern gcry_cipher_spec_t _gcry_cipher_spec_aes192; |
54 | extern gcry_cipher_spec_t _gcry_cipher_spec_aes256; | 54 | extern gcry_cipher_spec_t _gcry_cipher_spec_aes256; |
55 | extern gcry_cipher_spec_t _gcry_cipher_spec_twofish; | 55 | extern gcry_cipher_spec_t _gcry_cipher_spec_twofish; |
56 | extern gcry_cipher_spec_t _gcry_cipher_spec_twofish128; | 56 | extern gcry_cipher_spec_t _gcry_cipher_spec_twofish128; |
57 | extern gcry_cipher_spec_t _gcry_cipher_spec_serpent128; | 57 | extern gcry_cipher_spec_t _gcry_cipher_spec_serpent128; |
58 | extern gcry_cipher_spec_t _gcry_cipher_spec_serpent192; | 58 | extern gcry_cipher_spec_t _gcry_cipher_spec_serpent192; |
59 | extern gcry_cipher_spec_t _gcry_cipher_spec_serpent256; | 59 | extern gcry_cipher_spec_t _gcry_cipher_spec_serpent256; |
60 | extern gcry_cipher_spec_t _gcry_cipher_spec_rfc2268_40; | 60 | extern gcry_cipher_spec_t _gcry_cipher_spec_rfc2268_40; |
61 | 61 | ||
62 | /* Declarations for the digest specifications. */ | 62 | /* Declarations for the digest specifications. */ |
63 | extern gcry_md_spec_t _gcry_digest_spec_crc32; | 63 | extern gcry_md_spec_t _gcry_digest_spec_crc32; |
64 | extern gcry_md_spec_t _gcry_digest_spec_crc32_rfc1510; | 64 | extern gcry_md_spec_t _gcry_digest_spec_crc32_rfc1510; |
65 | extern gcry_md_spec_t _gcry_digest_spec_crc24_rfc2440; | 65 | extern gcry_md_spec_t _gcry_digest_spec_crc24_rfc2440; |
66 | extern gcry_md_spec_t _gcry_digest_spec_md4; | 66 | extern gcry_md_spec_t _gcry_digest_spec_md4; |
67 | extern gcry_md_spec_t _gcry_digest_spec_md5; | 67 | extern gcry_md_spec_t _gcry_digest_spec_md5; |
68 | extern gcry_md_spec_t _gcry_digest_spec_rmd160; | 68 | extern gcry_md_spec_t _gcry_digest_spec_rmd160; |
69 | extern gcry_md_spec_t _gcry_digest_spec_sha1; | 69 | extern gcry_md_spec_t _gcry_digest_spec_sha1; |
70 | extern gcry_md_spec_t _gcry_digest_spec_sha256; | 70 | extern gcry_md_spec_t _gcry_digest_spec_sha256; |
71 | extern gcry_md_spec_t _gcry_digest_spec_sha512; | 71 | extern gcry_md_spec_t _gcry_digest_spec_sha512; |
72 | extern gcry_md_spec_t _gcry_digest_spec_sha384; | 72 | extern gcry_md_spec_t _gcry_digest_spec_sha384; |
73 | extern gcry_md_spec_t _gcry_digest_spec_tiger; | 73 | extern gcry_md_spec_t _gcry_digest_spec_tiger; |
74 | 74 | ||
75 | /* Declarations for the pubkey cipher specifications. */ | 75 | /* Declarations for the pubkey cipher specifications. */ |
76 | extern gcry_pk_spec_t _gcry_pubkey_spec_rsa; | 76 | extern gcry_pk_spec_t _gcry_pubkey_spec_rsa; |
77 | extern gcry_pk_spec_t _gcry_pubkey_spec_elg; | 77 | extern gcry_pk_spec_t _gcry_pubkey_spec_elg; |
78 | extern gcry_pk_spec_t _gcry_pubkey_spec_dsa; | 78 | extern gcry_pk_spec_t _gcry_pubkey_spec_dsa; |
79 | 79 | ||
80 | #endif /*G10_CIPHER_H*/ | 80 | #endif /*G10_CIPHER_H*/ |