MCPcopy Create free account
hub / github.com/LUX-Core/lux / BERDecodeNull

Function BERDecodeNull

src/cryptopp/asn.cpp:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void BERDecodeNull(BufferedTransformation &in)
94{
95 byte b;
96 if (!in.Get(b) || b != TAG_NULL)
97 BERDecodeError();
98 size_t length;
99 if (!BERLengthDecode(in, length) || length != 0)
100 BERDecodeError();
101}
102
103/// ASN Strings
104size_t DEREncodeOctetString(BufferedTransformation &bt, const byte *str, size_t strLen)

Callers 1

Calls 3

BERDecodeErrorFunction · 0.85
BERLengthDecodeFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected