diff options
Diffstat (limited to 'src/asn1')
-rw-r--r-- | src/asn1/ber_dec.cpp | 4 | ||||
-rw-r--r-- | src/asn1/ber_dec.h | 4 | ||||
-rw-r--r-- | src/asn1/der_enc.cpp | 4 | ||||
-rw-r--r-- | src/asn1/der_enc.h | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/asn1/ber_dec.cpp b/src/asn1/ber_dec.cpp index e98ab3b61..b31c7b903 100644 --- a/src/asn1/ber_dec.cpp +++ b/src/asn1/ber_dec.cpp @@ -343,7 +343,7 @@ BER_Decoder& BER_Decoder::decode(bool& out) /* * Decode a small BER encoded INTEGER */ -BER_Decoder& BER_Decoder::decode(u32bit& out) +BER_Decoder& BER_Decoder::decode(size_t& out) { return decode(out, INTEGER, UNIVERSAL); } @@ -383,7 +383,7 @@ BER_Decoder& BER_Decoder::decode(bool& out, /* * Decode a small BER encoded INTEGER */ -BER_Decoder& BER_Decoder::decode(u32bit& out, +BER_Decoder& BER_Decoder::decode(size_t& out, ASN1_Tag type_tag, ASN1_Tag class_tag) { BigInt integer; diff --git a/src/asn1/ber_dec.h b/src/asn1/ber_dec.h index 8dddcb7f4..5f79d3fc1 100644 --- a/src/asn1/ber_dec.h +++ b/src/asn1/ber_dec.h @@ -33,12 +33,12 @@ class BOTAN_DLL BER_Decoder BER_Decoder& decode_null(); BER_Decoder& decode(bool&); - BER_Decoder& decode(u32bit&); + BER_Decoder& decode(size_t&); BER_Decoder& decode(class BigInt&); BER_Decoder& decode(MemoryRegion<byte>&, ASN1_Tag); BER_Decoder& decode(bool&, ASN1_Tag, ASN1_Tag = CONTEXT_SPECIFIC); - BER_Decoder& decode(u32bit&, ASN1_Tag, ASN1_Tag = CONTEXT_SPECIFIC); + BER_Decoder& decode(size_t&, ASN1_Tag, ASN1_Tag = CONTEXT_SPECIFIC); BER_Decoder& decode(class BigInt&, ASN1_Tag, ASN1_Tag = CONTEXT_SPECIFIC); BER_Decoder& decode(MemoryRegion<byte>&, ASN1_Tag, diff --git a/src/asn1/der_enc.cpp b/src/asn1/der_enc.cpp index c6ceaf86d..a14b3c5e2 100644 --- a/src/asn1/der_enc.cpp +++ b/src/asn1/der_enc.cpp @@ -214,7 +214,7 @@ DER_Encoder& DER_Encoder::encode(bool is_true) /* * DER encode a small INTEGER */ -DER_Encoder& DER_Encoder::encode(u32bit n) +DER_Encoder& DER_Encoder::encode(size_t n) { return encode(BigInt(n), INTEGER, UNIVERSAL); } @@ -259,7 +259,7 @@ DER_Encoder& DER_Encoder::encode(bool is_true, /* * DER encode a small INTEGER */ -DER_Encoder& DER_Encoder::encode(u32bit n, +DER_Encoder& DER_Encoder::encode(size_t n, ASN1_Tag type_tag, ASN1_Tag class_tag) { return encode(BigInt(n), type_tag, class_tag); diff --git a/src/asn1/der_enc.h b/src/asn1/der_enc.h index b3fce389d..f80c518b3 100644 --- a/src/asn1/der_enc.h +++ b/src/asn1/der_enc.h @@ -35,13 +35,13 @@ class BOTAN_DLL DER_Encoder DER_Encoder& encode_null(); DER_Encoder& encode(bool); - DER_Encoder& encode(u32bit); + DER_Encoder& encode(size_t); DER_Encoder& encode(const BigInt&); DER_Encoder& encode(const MemoryRegion<byte>&, ASN1_Tag); DER_Encoder& encode(const byte[], size_t, ASN1_Tag); DER_Encoder& encode(bool, ASN1_Tag, ASN1_Tag = CONTEXT_SPECIFIC); - DER_Encoder& encode(u32bit, ASN1_Tag, ASN1_Tag = CONTEXT_SPECIFIC); + DER_Encoder& encode(size_t, ASN1_Tag, ASN1_Tag = CONTEXT_SPECIFIC); DER_Encoder& encode(const BigInt&, ASN1_Tag, ASN1_Tag = CONTEXT_SPECIFIC); DER_Encoder& encode(const MemoryRegion<byte>&, ASN1_Tag, |