| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
32-bit systems.
|
|
|
|
| |
the correct ssl_local.h etc be picked up.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Converted from BoringSSL.
|
|
|
|
|
|
|
| |
libssl or libtls so they can continue to see them after the shared
library namespace is cleaned up
ok jsing@
|
| |
|
|
|
|
| |
From BoringSSL commit: d13a5e15d4e4eb51513be665306a2beba39869df
|
| |
|
|
|
|
|
| |
Fixes Coverity 117506, 117507, 117508
ok doug@
|
|
|
|
|
|
|
| |
Previously, CBS_dup() had its own offset. However, it is more consistent
to copy everything.
ok miod@ jsing@
|
|
|
|
|
|
|
|
|
| |
The statements were chained together with OR which makes it more annoying
to debug. Also, it was short circuiting all tests as soon as one function
failed. Since the functions are independent, they should each run until
error.
Discussed with miod@ and jsing@
|
| |
|
|
|
|
| |
"no problem" miod@, tweak + ok jsing@
|
|
|
|
|
|
|
|
| |
bs_ber.c does not convert BER to DER. It's a hack to convert a DER-like
encoding with one violation (indefinite form) to strict DER. Rename
the functions to reflect this.
ok miod@ jsing@
|
|
|
|
|
|
|
|
|
|
| |
ASN.1 integers cannot have all zeros or all ones for the first 9 bits.
This rule ensures the numbers are encoded with the smallest number of
content octets (see ITU-T Rec X.690 section 8.3.2).
Based on BoringSSL commit 5933723b7b592e9914f703d630b596e140c93e16
ok deraadt@ jsing@
|
| |
|
|
|
|
|
|
|
|
| |
I checked that this doesn't change anything. Compiled with clang using
-Wno-pointer-sign -g0 to reduce the differences. Only difference in the
asm is due to assert(0) line number changes in bs_cbs.c and bs_cbb.c.
miod is ok with the general process.
|
|
This is imported with as few changes as possible for the initial commit.
I removed OPENSSL_EXPORT, replaced OPENSSL_malloc() etc with malloc()
and changed a few header includes.
BoringSSL has this as part of their public API. We're leaving it internal
to libssl for now.
Based on BoringSSL's CBB/CBS API as of commit
c5cc15b4f5b1d6e9b9112cb8d30205a638aa2c54.
input + ok jsing@, miod@
|