aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/des/des.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/des/des.h')
-rw-r--r--src/block/des/des.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/block/des/des.h b/src/block/des/des.h
index 6fa59de5e..39d1ac404 100644
--- a/src/block/des/des.h
+++ b/src/block/des/des.h
@@ -23,8 +23,8 @@ class BOTAN_DLL DES : public BlockCipher
BlockCipher* clone() const { return new DES; }
DES() : BlockCipher(8, 8) {}
private:
- void enc(const byte[], byte[]) const;
- void dec(const byte[], byte[]) const;
+ void encrypt_n(const byte in[], byte out[], u32bit blocks) const;
+ void decrypt_n(const byte in[], byte out[], u32bit blocks) const;
void key_schedule(const byte[], u32bit);
SecureBuffer<u32bit, 32> round_key;
@@ -41,8 +41,8 @@ class BOTAN_DLL TripleDES : public BlockCipher
BlockCipher* clone() const { return new TripleDES; }
TripleDES() : BlockCipher(8, 16, 24, 8) {}
private:
- void enc(const byte[], byte[]) const;
- void dec(const byte[], byte[]) const;
+ void encrypt_n(const byte in[], byte out[], u32bit blocks) const;
+ void decrypt_n(const byte in[], byte out[], u32bit blocks) const;
void key_schedule(const byte[], u32bit);
SecureBuffer<u32bit, 96> round_key;