boringssl/crypto/bytestring
David Benjamin fbe6f498cd The empty contents are not a valid ASN.1 INTEGER.
Zero is encoded as a single zero octet. Per X.690, 8.3.1:

  The encoding of an integer value shall be primitive. The contents octets
  shall consist of one or more octets.

Change-Id: If4304a2be5117b71446a3a62a2b8a6124f85a202
Reviewed-on: https://boringssl-review.googlesource.com/2010
Reviewed-by: Adam Langley <agl@google.com>
2014-10-24 18:26:11 +00:00
..
ber.c Remove hack in parsing PKCS#12. 2014-08-26 22:07:02 +00:00
bytestring_test.c The empty contents are not a valid ASN.1 INTEGER. 2014-10-24 18:26:11 +00:00
cbb.c Add CBB_add_asn1_uint64. 2014-10-24 18:25:52 +00:00
cbs.c The empty contents are not a valid ASN.1 INTEGER. 2014-10-24 18:26:11 +00:00
CMakeLists.txt Rework support for ASN.1 BER. 2014-08-25 21:38:08 +00:00
internal.h Export CBS_get_any_asn1_element. 2014-08-28 00:45:30 +00:00