diff options
author | lloyd <[email protected]> | 2010-10-12 20:00:20 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-12 20:00:20 +0000 |
commit | 9abeb56f7d355b8ff86cbb465ba1e0a08257ec12 (patch) | |
tree | 034f8a50d241c996e6ea1889e68a8650085bf2ff /src/pk_pad/emsa1/emsa1.h | |
parent | 39306575081f043d1c79ade43797d3595fd5aeec (diff) |
Use size_t instead of u32bit in pk_pad
Diffstat (limited to 'src/pk_pad/emsa1/emsa1.h')
-rw-r--r-- | src/pk_pad/emsa1/emsa1.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pk_pad/emsa1/emsa1.h b/src/pk_pad/emsa1/emsa1.h index 50fda5273..120cb0cd3 100644 --- a/src/pk_pad/emsa1/emsa1.h +++ b/src/pk_pad/emsa1/emsa1.h @@ -31,14 +31,14 @@ class BOTAN_DLL EMSA1 : public EMSA */ const HashFunction* hash_ptr() const { return hash; } private: - void update(const byte[], u32bit); + void update(const byte[], size_t); SecureVector<byte> raw_data(); - SecureVector<byte> encoding_of(const MemoryRegion<byte>&, u32bit, + SecureVector<byte> encoding_of(const MemoryRegion<byte>&, size_t, RandomNumberGenerator& rng); bool verify(const MemoryRegion<byte>&, const MemoryRegion<byte>&, - u32bit); + size_t); HashFunction* hash; }; |