diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-10-22 09:32:11 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-10-22 09:32:11 +0200 |
commit | 2d6501c921265a1536ca044f45773e761b639706 (patch) | |
tree | 6bb32010b57733220b78cd4d3d4d9edf7ccf0d77 /lib/gc-libgcrypt.c | |
parent | b942324d82c17e89893255fbd619a7de68fc8ef4 (diff) | |
download | gnulib-2d6501c921265a1536ca044f45773e761b639706.tar.gz |
Add module 'gc-camellia'.
Diffstat (limited to 'lib/gc-libgcrypt.c')
-rw-r--r-- | lib/gc-libgcrypt.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/gc-libgcrypt.c b/lib/gc-libgcrypt.c index ea0de060ac..a147d44656 100644 --- a/lib/gc-libgcrypt.c +++ b/lib/gc-libgcrypt.c @@ -142,6 +142,16 @@ gc_cipher_open (Gc_cipher alg, Gc_cipher_mode mode, gcryalg = GCRY_CIPHER_RFC2268_40; break; +#ifdef HAVE_CAMELLIA + case GC_CAMELLIA128: + gcryalg = GCRY_CIPHER_CAMELLIA128; + break; + + case GC_CAMELLIA256: + gcryalg = GCRY_CIPHER_CAMELLIA256; + break; +#endif + default: return GC_INVALID_CIPHER; } |