commit | 7244fa46f72985b3abc0354e075e883c15ac57a3 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Wed Jun 10 16:52:59 2015 -0400 |
committer | Adam Langley <agl@google.com> | Thu Jun 18 22:23:12 2015 +0000 |
tree | 579579e59311021c0c086385e5703369a83c5b81 | |
parent | b4d65fda70db407a560e12cdba60a87c0ef32937 [diff] |
Expose ECDSA_SIG_max_len to size a DER ECDSA-Sig-Value. Also implement it without reference to crypto/asn1 or fake ASN1_INTEGERs and add a test. Some platform crypto APIs only give back the key size, and not the encoded signature length. No sense in implementing it twice. BUG=347404,499653 Change-Id: I9aa27d52674375f8b036e57bb5850f091c9b25dd Reviewed-on: https://boringssl-review.googlesource.com/5080 Reviewed-by: Adam Langley <agl@google.com>