diff options
author | Werner Koch <wk@gnupg.org> | 2007-05-02 09:46:53 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-05-02 09:46:53 +0000 |
commit | 074dd6d81470a16795bc571c066aa32ef2a0a588 (patch) | |
tree | fbe651c56ec0f8945cd478542a07389317cde232 /cipher/camellia.h | |
parent | 1a9086a608dd11312d53c1232816561cf187f0c4 (diff) | |
download | libgcrypt-074dd6d81470a16795bc571c066aa32ef2a0a588.tar.gz |
More info from GCRYCTL_PRINT_CONFIG.
Put Camellia symbols into our namespace.
Diffstat (limited to 'cipher/camellia.h')
-rw-r--r-- | cipher/camellia.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cipher/camellia.h b/cipher/camellia.h index 740ed8bf..26a88d6c 100644 --- a/cipher/camellia.h +++ b/cipher/camellia.h @@ -21,6 +21,20 @@ #ifndef HEADER_CAMELLIA_H #define HEADER_CAMELLIA_H +/* Need to redefine the external symbols to keep the libgcrypt name + space clean. */ +#define Camellia_Ekeygen _gcry_Camellia_Ekeygen +#define Camellia_EncryptBlock _gcry_Camellia_EncryptBlock +#define Camellia_DecryptBlock _gcry_Camellia_DecryptBlock +#define camellia_decrypt128 _gcry_camellia_decrypt128 +#define camellia_decrypt256 _gcry_camellia_decrypt256 +#define camellia_encrypt128 _gcry_camellia_encrypt128 +#define camellia_encrypt256 _gcry_camellia_encrypt256 +#define camellia_setup128 _gcry_camellia_setup128 +#define camellia_setup192 _gcry_camellia_setup192 +#define camellia_setup256 _gcry_camellia_setup256 + + #ifdef __cplusplus extern "C" { #endif |