aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/libgcrypt/libgcrypt-1.2.2/src/cipher.h
diff options
context:
space:
mode:
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.h160
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 --*/
32void _gcry_rmd160_hash_buffer (char *outbuf, const char *buffer, size_t length); 32void _gcry_rmd160_hash_buffer (char *outbuf, const char *buffer, size_t length);
33/*-- sha1.c --*/ 33/*-- sha1.c --*/
34void _gcry_sha1_hash_buffer (char *outbuf, const char *buffer, size_t length); 34void _gcry_sha1_hash_buffer (char *outbuf, const char *buffer, size_t length);
35 35
36/*-- dsa.c --*/ 36/*-- dsa.c --*/
37void _gcry_register_pk_dsa_progress (gcry_handler_progress_t cbc, void *cb_data); 37void _gcry_register_pk_dsa_progress (gcry_handler_progress_t cbc, void *cb_data);
38/*-- elgamal.c --*/ 38/*-- elgamal.c --*/
39void _gcry_register_pk_elg_progress (gcry_handler_progress_t cb, void *cb_data); 39void _gcry_register_pk_elg_progress (gcry_handler_progress_t cb, void *cb_data);
40/*-- primegen.c --*/ 40/*-- primegen.c --*/
41void _gcry_register_primegen_progress (gcry_handler_progress_t cb, void *cb_data); 41void _gcry_register_primegen_progress (gcry_handler_progress_t cb, void *cb_data);
42 42
43/*-- pubkey.c --*/ 43/*-- pubkey.c --*/
44const char * _gcry_pk_aliased_algo_name (int algorithm); 44const char * _gcry_pk_aliased_algo_name (int algorithm);
45 45
46/* Declarations for the cipher specifications. */ 46/* Declarations for the cipher specifications. */
47extern gcry_cipher_spec_t _gcry_cipher_spec_blowfish; 47extern gcry_cipher_spec_t _gcry_cipher_spec_blowfish;
48extern gcry_cipher_spec_t _gcry_cipher_spec_des; 48extern gcry_cipher_spec_t _gcry_cipher_spec_des;
49extern gcry_cipher_spec_t _gcry_cipher_spec_tripledes; 49extern gcry_cipher_spec_t _gcry_cipher_spec_tripledes;
50extern gcry_cipher_spec_t _gcry_cipher_spec_arcfour; 50extern gcry_cipher_spec_t _gcry_cipher_spec_arcfour;
51extern gcry_cipher_spec_t _gcry_cipher_spec_cast5; 51extern gcry_cipher_spec_t _gcry_cipher_spec_cast5;
52extern gcry_cipher_spec_t _gcry_cipher_spec_aes; 52extern gcry_cipher_spec_t _gcry_cipher_spec_aes;
53extern gcry_cipher_spec_t _gcry_cipher_spec_aes192; 53extern gcry_cipher_spec_t _gcry_cipher_spec_aes192;
54extern gcry_cipher_spec_t _gcry_cipher_spec_aes256; 54extern gcry_cipher_spec_t _gcry_cipher_spec_aes256;
55extern gcry_cipher_spec_t _gcry_cipher_spec_twofish; 55extern gcry_cipher_spec_t _gcry_cipher_spec_twofish;
56extern gcry_cipher_spec_t _gcry_cipher_spec_twofish128; 56extern gcry_cipher_spec_t _gcry_cipher_spec_twofish128;
57extern gcry_cipher_spec_t _gcry_cipher_spec_serpent128; 57extern gcry_cipher_spec_t _gcry_cipher_spec_serpent128;
58extern gcry_cipher_spec_t _gcry_cipher_spec_serpent192; 58extern gcry_cipher_spec_t _gcry_cipher_spec_serpent192;
59extern gcry_cipher_spec_t _gcry_cipher_spec_serpent256; 59extern gcry_cipher_spec_t _gcry_cipher_spec_serpent256;
60extern gcry_cipher_spec_t _gcry_cipher_spec_rfc2268_40; 60extern gcry_cipher_spec_t _gcry_cipher_spec_rfc2268_40;
61 61
62/* Declarations for the digest specifications. */ 62/* Declarations for the digest specifications. */
63extern gcry_md_spec_t _gcry_digest_spec_crc32; 63extern gcry_md_spec_t _gcry_digest_spec_crc32;
64extern gcry_md_spec_t _gcry_digest_spec_crc32_rfc1510; 64extern gcry_md_spec_t _gcry_digest_spec_crc32_rfc1510;
65extern gcry_md_spec_t _gcry_digest_spec_crc24_rfc2440; 65extern gcry_md_spec_t _gcry_digest_spec_crc24_rfc2440;
66extern gcry_md_spec_t _gcry_digest_spec_md4; 66extern gcry_md_spec_t _gcry_digest_spec_md4;
67extern gcry_md_spec_t _gcry_digest_spec_md5; 67extern gcry_md_spec_t _gcry_digest_spec_md5;
68extern gcry_md_spec_t _gcry_digest_spec_rmd160; 68extern gcry_md_spec_t _gcry_digest_spec_rmd160;
69extern gcry_md_spec_t _gcry_digest_spec_sha1; 69extern gcry_md_spec_t _gcry_digest_spec_sha1;
70extern gcry_md_spec_t _gcry_digest_spec_sha256; 70extern gcry_md_spec_t _gcry_digest_spec_sha256;
71extern gcry_md_spec_t _gcry_digest_spec_sha512; 71extern gcry_md_spec_t _gcry_digest_spec_sha512;
72extern gcry_md_spec_t _gcry_digest_spec_sha384; 72extern gcry_md_spec_t _gcry_digest_spec_sha384;
73extern gcry_md_spec_t _gcry_digest_spec_tiger; 73extern gcry_md_spec_t _gcry_digest_spec_tiger;
74 74
75/* Declarations for the pubkey cipher specifications. */ 75/* Declarations for the pubkey cipher specifications. */
76extern gcry_pk_spec_t _gcry_pubkey_spec_rsa; 76extern gcry_pk_spec_t _gcry_pubkey_spec_rsa;
77extern gcry_pk_spec_t _gcry_pubkey_spec_elg; 77extern gcry_pk_spec_t _gcry_pubkey_spec_elg;
78extern gcry_pk_spec_t _gcry_pubkey_spec_dsa; 78extern gcry_pk_spec_t _gcry_pubkey_spec_dsa;
79 79
80#endif /*G10_CIPHER_H*/ 80#endif /*G10_CIPHER_H*/