aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk_pad/emsa.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 20:00:20 +0000
committerlloyd <[email protected]>2010-10-12 20:00:20 +0000
commit9abeb56f7d355b8ff86cbb465ba1e0a08257ec12 (patch)
tree034f8a50d241c996e6ea1889e68a8650085bf2ff /src/pk_pad/emsa.h
parent39306575081f043d1c79ade43797d3595fd5aeec (diff)
Use size_t instead of u32bit in pk_pad
Diffstat (limited to 'src/pk_pad/emsa.h')
-rw-r--r--src/pk_pad/emsa.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pk_pad/emsa.h b/src/pk_pad/emsa.h
index 372eb836d..e943fc5eb 100644
--- a/src/pk_pad/emsa.h
+++ b/src/pk_pad/emsa.h
@@ -24,7 +24,7 @@ class BOTAN_DLL EMSA
* @param input some data
* @param length length of input in bytes
*/
- virtual void update(const byte input[], u32bit length) = 0;
+ virtual void update(const byte input[], size_t length) = 0;
/**
* @return raw hash
@@ -39,7 +39,7 @@ class BOTAN_DLL EMSA
* @return encoded signature
*/
virtual SecureVector<byte> encoding_of(const MemoryRegion<byte>& msg,
- u32bit output_bits,
+ size_t output_bits,
RandomNumberGenerator& rng) = 0;
/**
@@ -51,7 +51,7 @@ class BOTAN_DLL EMSA
*/
virtual bool verify(const MemoryRegion<byte>& coded,
const MemoryRegion<byte>& raw,
- u32bit key_bits) = 0;
+ size_t key_bits) = 0;
virtual ~EMSA() {}
};