aboutsummaryrefslogtreecommitdiff
path: root/crypto/bytestring
AgeCommit message (Expand)AuthorFilesLines
7 daysRewrite CBS_get_asn1_int64 slightlyDavid Benjamin1-5/+3
2024-03-29Document that our Unicode APIs reject noncharactersDavid Benjamin1-2/+3
2024-03-06Inline CBS_init, CBS_data, and CBS_lenDavid Benjamin1-13/+0
2024-01-17Reduce the BER conversion recursion depthDavid Benjamin2-5/+18
2024-01-17Fix a bug detecting BER deeply nested inside DERDavid Benjamin2-3/+40
2023-10-11Avoid GCC's -Wdangling-pointer warning in CBBDavid Benjamin1-8/+41
2023-10-05Also add OPENSSL_callocDavid Benjamin1-4/+1
2023-08-24Export CBS/CBB unicode functionsDavid Benjamin3-110/+88
2023-07-16Replace BIO_snprintf with snprintf within the libraryDavid Benjamin1-1/+1
2023-03-16Rewrite c2i_ASN1_OBJECTDavid Benjamin2-7/+40
2023-02-13Make OPENSSL_malloc push ERR_R_MALLOC_FAILURE on failure.Bob Beck1-0/+7
2023-01-30Remove now unnecessary check in CBS_peek_asn1_tag.David Benjamin1-4/+0
2023-01-30Introduce a locale-independent version of isdigitBob Beck1-3/+3
2023-01-26Add CBS_get_u64_decimal.David Benjamin3-23/+82
2022-11-14Define CBS/CBB tags as uint32_t with a typedef.David Benjamin5-41/+42
2022-11-14More -Wshorten-64-to-32 fixes.David Benjamin1-2/+2
2022-10-11Make CBB_init_fixed infallible and allocationless.David Benjamin3-176/+149
2022-10-06Add CBB_add_asn1_[u]int64_with_tag.David Benjamin2-17/+56
2022-06-16Validate ASN.1 times according to RFC 5280Bob Beck2-3/+288
2022-06-08Replace some more C unions.David Benjamin2-14/+8
2022-04-19Reject [UNIVERSAL 0] in DER/BER element parsers.David Benjamin3-11/+25
2022-03-07Add an explicit indefinite-length output to CBS_get_any_ber_asn1_element.David Benjamin3-36/+52
2021-11-01Don't parse constructed BIT STRINGs in crypto/bytestringDavid Benjamin2-25/+25
2021-11-01Remove support for constructed strings in crypto/asn1.David Benjamin1-0/+3
2021-08-25Rewrite name constraints matching with CBS.David Benjamin2-0/+30
2021-08-24Add a CBB_add_zeros helper.David Benjamin2-5/+16
2020-12-18Allow some non-minimal lengths in BER.Adam Langley3-23/+101
2020-11-17Add APIs for checking ASN.1 INTEGERs.David Benjamin2-61/+92
2020-01-17Add a few little-endian functions to CBS/CBB.Adam Langley3-1/+50
2019-12-16bytestring: add methods for int64.Matthew Braithwaite3-0/+135
2019-10-21Rename a number of BUF_* functions to OPENSSL_*.David Benjamin2-5/+3
2019-04-10Handle CBB_cleanup on child CBBs more gracefully.David Benjamin1-6/+11
2019-02-22Add uint64_t support in CBS and CBB.Kaustubha Govind3-17/+48
2018-11-14Speculatively remove __STDC_*_MACROS.David Benjamin2-8/+0
2018-09-05Flatten most of the crypto target.David Benjamin1-13/+0
2018-06-26Properly advance the CBS when parsing BER structures.David Benjamin3-20/+22
2018-05-11Add new character encoding functions.David Benjamin4-0/+396
2018-03-19bytestring: document that |CBS_get_optional_asn1| can have a NULL output.Adam Langley1-0/+1
2018-01-25Add some more utility functions to bytestring.Adam Langley2-0/+38
2018-01-05Add a function for encoding SET OF.David Benjamin2-0/+145
2018-01-03Support high tag numbers in CBS/CBB.David Benjamin4-64/+193
2017-11-30Revert "Support high tag numbers in CBS/CBB."David Benjamin4-193/+64
2017-11-30Also add a decoupled OBJ_obj2txt.David Benjamin3-64/+177
2017-11-27Reimplement OBJ_txt2obj and add a lower-level function.David Benjamin2-18/+149
2017-11-22Support high tag numbers in CBS/CBB.David Benjamin4-64/+221
2017-08-18Run the comment converter on libcrypto.David Benjamin4-127/+126
2017-04-17Convert bytestring_test to GTest.David Benjamin2-539/+315
2017-04-17Convert base64_test to GTest.David Benjamin1-6/+3
2017-03-16Correct a typo in ASN.1 type name.Victor Vasiliev1-1/+1
2016-12-21Work around language and compiler bug in memcpy, etc.David Benjamin5-30/+41