aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/dlies/dlies.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/dlies/dlies.h')
-rw-r--r--src/pubkey/dlies/dlies.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pubkey/dlies/dlies.h b/src/pubkey/dlies/dlies.h
index ad8f36b40..8e5c05852 100644
--- a/src/pubkey/dlies/dlies.h
+++ b/src/pubkey/dlies/dlies.h
@@ -23,22 +23,22 @@ class BOTAN_DLL DLIES_Encryptor : public PK_Encryptor
DLIES_Encryptor(const PK_Key_Agreement_Key&,
KDF* kdf,
MessageAuthenticationCode* mac,
- u32bit mac_key_len = 20);
+ size_t mac_key_len = 20);
~DLIES_Encryptor();
void set_other_key(const MemoryRegion<byte>&);
private:
- SecureVector<byte> enc(const byte[], u32bit,
+ SecureVector<byte> enc(const byte[], size_t,
RandomNumberGenerator&) const;
- u32bit maximum_input_size() const;
+ size_t maximum_input_size() const;
SecureVector<byte> other_key, my_key;
PK_Key_Agreement ka;
KDF* kdf;
MessageAuthenticationCode* mac;
- u32bit mac_keylen;
+ size_t mac_keylen;
};
/**
@@ -50,19 +50,19 @@ class BOTAN_DLL DLIES_Decryptor : public PK_Decryptor
DLIES_Decryptor(const PK_Key_Agreement_Key&,
KDF* kdf,
MessageAuthenticationCode* mac,
- u32bit mac_key_len = 20);
+ size_t mac_key_len = 20);
~DLIES_Decryptor();
private:
- SecureVector<byte> dec(const byte[], u32bit) const;
+ SecureVector<byte> dec(const byte[], size_t) const;
SecureVector<byte> my_key;
PK_Key_Agreement ka;
KDF* kdf;
MessageAuthenticationCode* mac;
- u32bit mac_keylen;
+ size_t mac_keylen;
};
}