aboutsummaryrefslogtreecommitdiffstats
path: root/src/fpe/fpe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fpe/fpe.h')
-rw-r--r--src/fpe/fpe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fpe/fpe.h b/src/fpe/fpe.h
index 677304b1d..fba1652d3 100644
--- a/src/fpe/fpe.h
+++ b/src/fpe/fpe.h
@@ -13,10 +13,16 @@
namespace Botan {
+/*
+* Encrypt X from and onto the group Z_n using key and tweak
+*/
BigInt fpe_encrypt(const BigInt& n, const BigInt& X,
const SymmetricKey& key,
const MemoryRegion<byte>& tweak);
+/*
+* Decrypt X from and onto the group Z_n using key and tweak
+*/
BigInt fpe_decrypt(const BigInt& n, const BigInt& X,
const SymmetricKey& key,
const MemoryRegion<byte>& tweak);