boringssl/crypto/bytestring
David Benjamin 66801feb17 Support high tag numbers in CBS/CBB.
Android's attestion format uses some ludicrously large tag numbers:
https://developer.android.com/training/articles/security-key-attestation.html#certificate_schema

Add support for these in CBS/CBB. The public API does not change for
callers who were using the CBS_ASN1_* constants, but it is no longer the
case that tag representations match their DER encodings for small tag
numbers.

Chromium needs https://chromium-review.googlesource.com/#/c/chromium/src/+/783254,
but otherwise I don't expect this to break things.

Bug: 214
Change-Id: I9b5dc27ae3ea020e9edaabec4d665fd73da7d31e
Reviewed-on: https://boringssl-review.googlesource.com/23304
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-11-22 22:34:05 +00:00
..
asn1_compat.c
ber.c Support high tag numbers in CBS/CBB. 2017-11-22 22:34:05 +00:00
bytestring_test.cc Support high tag numbers in CBS/CBB. 2017-11-22 22:34:05 +00:00
cbb.c Support high tag numbers in CBS/CBB. 2017-11-22 22:34:05 +00:00
cbs.c Support high tag numbers in CBS/CBB. 2017-11-22 22:34:05 +00:00
CMakeLists.txt
internal.h Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00