summaryrefslogtreecommitdiff
path: root/lib/libssl/bs_cbb.c
AgeCommit message (Expand)Author
2022-07-07Make CBB_finish() fail if *out_data is not NULLTheo Buehler
2022-01-06Provide CBB_add_u64()Joel Sing
2021-05-16Fix formatting of multi-line license comment per style(9).Joel Sing
2021-05-16Remove unnecessary includes from the bytestring APIs.Joel Sing
2021-01-04whitespaceTheo Buehler
2020-09-16Avoid memset() before memcpy() for CBB_add_bytes().Joel Sing
2020-03-13Ensure that CBB_add_space() always provides zeroed memory.Joel Sing
2020-03-12Use calloc() rather than malloc() when allocating initial CBB buffer.Joel Sing
2019-01-23assert.h is often misused. It should not be used in a libraryBob Beck
2018-08-16Provide CBB_add_u32(), as needed for an upcoming conversion.Joel Sing
2017-11-28Add CBB_discard_child(), which allows for a child CBB to be discarded.Joel Sing
2017-08-12Clear the child pointer in CBB_cleanup(), so that we have fewer pointersJoel Sing
2017-05-07Instead of starting a 'zero-sized' CBB at the size of the first additionJoel Sing
2017-04-14Use freezero(3) in the CBB clean up path, since this could hold sensitiveJoel Sing
2017-03-10Switch CBB to use recallocarray() - this ensures that we do not leakJoel Sing
2015-09-01Make it always safe to call CBB_cleanup() providing that CBB_init() orJoel Sing
2015-06-18Extend the input types for CBB_add_*() to help catch bugs.Doug Hogan
2015-06-13Split up the logic in CBB_flush to separately handle the lengths.Doug Hogan
2015-06-13Explain the ASN.1 restriction that requires extra logic for encoding.Doug Hogan
2015-06-13When initial capacity is 0, always use NULL buffer.Doug Hogan
2015-04-29Call CBB_add_space() rather than reimplementing it.Doug Hogan
2015-04-29Rename cbb_buffer_add_u to cbb_add_u and remove redundant code.Doug Hogan
2015-04-29Added len_len error checking for internal cbb_buffer_add_u().Doug Hogan
2015-02-07Don't allow tag number 31 in CBB_add_asn1().Doug Hogan
2015-02-07Only call free in CBB_init().Doug Hogan
2015-02-06KNF bytestring files.Doug Hogan
2015-02-06Remove accidental, commented out code.Doug Hogan
2015-02-06Import BoringSSL's crypto bytestring and crypto bytebuilder APIs.Doug Hogan