config FREETZ_LIB_libgcrypt
	bool "GnuPG crypto library (libgcrypt.so)"
	select FREETZ_LIB_libgpg_error
	select FREETZ_LIB_libgcrypt_WITH_DIGEST_md5
	select FREETZ_LIB_libgcrypt_WITH_DIGEST_rmd160
	select FREETZ_LIB_libgcrypt_WITH_DIGEST_sha1
	select FREETZ_LIB_libgcrypt_WITH_DIGEST_sha256
	select FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_aes
	select FREETZ_LIB_libgcrypt_WITH_ASYMMETRIC_CIPHER_ecc
	select FREETZ_LIB_libgcrypt_WITH_ASYMMETRIC_CIPHER_rsa
	default n
	help
		Libgcrypt is a general-purpose cryptographic library based on the code
		from GnuPG. It provides functions for all cryptographic building blocks:
		symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, and Arcfour),
		hash algorithms (MD4, MD5, RIPE-MD160, SHA-1, and TIGER-192), MACs
		(HMAC for all hash algorithms), public key algorithms (RSA, ElGamal,
		and DSA), large integer functions, random numbers, and a lot of
		supporting functions.

menu "Configuration"
	visible if FREETZ_LIB_libgcrypt
comment "Digests ---"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_blake2
	bool "BLAKE2"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_crc
	bool "CRC"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_gostr3411_94
	bool "GOST R 34.11-94"
	select FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_gost28147
config FREETZ_LIB_libgcrypt_WITH_DIGEST_md4
	bool "MD4"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_md5
	bool "MD5"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_rmd160
	bool "RMD160"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_sha1
	bool "SHA1"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_sha256
	bool "SHA256"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_sha512
	bool "SHA512"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_stribog
	bool "Stribog"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_tiger
	bool "TIGER"
config FREETZ_LIB_libgcrypt_WITH_DIGEST_whirlpool
	bool "Whirlpool"
comment "Symmetric ciphers ---"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_aes
	bool "AES"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_arcfour
	bool "Arcfour"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_blowfish
	bool "Blowfish"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_camellia
	bool "Camellia"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_cast5
	bool "CAST5"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_des
	bool "DES"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_gost28147
	bool "GOST 28147-89"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_idea
	bool "IDEA"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_rfc2268
	bool "RFC2268"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_salsa20
	bool "Salsa20"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_seed
	bool "SEED"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_serpent
	bool "Serpent"
config FREETZ_LIB_libgcrypt_WITH_SYMMETRIC_CIPHER_twofish
	bool "Twofish"
comment "Asymmetric ciphers ---"
config FREETZ_LIB_libgcrypt_WITH_ASYMMETRIC_CIPHER_dsa
	bool "DSA"
config FREETZ_LIB_libgcrypt_WITH_ASYMMETRIC_CIPHER_ecc
	bool "ECC"
config FREETZ_LIB_libgcrypt_WITH_ASYMMETRIC_CIPHER_elgamal
	bool "Elgamal"
config FREETZ_LIB_libgcrypt_WITH_ASYMMETRIC_CIPHER_rsa
	bool "RSA"
endmenu
