boringssl/crypto
Adam Langley 449f16b947 Change ECDSA_METHOD's size() to group_order_size()
The |size| method was documented to return the same as |ECDSA_size| -
the max size of an ECDSA signature. However, this involves some ASN.1
calculations which is best done once. What custom implementations want
to give is the size of the group order on which the ASN.1 computations
are based.

This change switches the |size| method to allow that.

Change-Id: I95b6e0c2b52bfcd0d74850c2c4e9bc01269255e2
Reviewed-on: https://boringssl-review.googlesource.com/1200
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2014-07-15 22:26:08 +00:00
..
aes Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
asn1 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
base64 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
bio Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
bn Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
buf Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
bytestring Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
chacha Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
cipher Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
conf Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
des Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
dh Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
digest Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
dsa Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ec Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ecdh Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ecdsa Change ECDSA_METHOD's size() to group_order_size() 2014-07-15 22:26:08 +00:00
engine Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
err Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
evp Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
hmac Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
lhash Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
md5 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
modes Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
obj Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
pem Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
perlasm perlasm/x86asm.pl: recognize elf-1 denoting old ELF platforms. 2014-06-20 13:17:39 -07:00
pkcs8 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
poly1305 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
rand Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
rc4 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
rsa Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
sha Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
stack Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
x509 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
x509v3 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
arm_arch.h Inital import. 2014-06-20 13:17:32 -07:00
CMakeLists.txt Include some build fixes for OS X. 2014-06-24 11:15:12 -07:00
cpu-arm.c Inital import. 2014-06-20 13:17:32 -07:00
cpu-intel.c Include some build fixes for OS X. 2014-06-24 11:15:12 -07:00
cpu-x86_64-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
cpu-x86-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
crypto_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
crypto_error.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
directory_posix.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
directory_win.c Inital import. 2014-06-20 13:17:32 -07:00
directory.h Inital import. 2014-06-20 13:17:32 -07:00
ex_data_impl.c Inital import. 2014-06-20 13:17:32 -07:00
ex_data.c Inital import. 2014-06-20 13:17:32 -07:00
header_removed.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
internal.h Inital import. 2014-06-20 13:17:32 -07:00
mem_clear.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
mem.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
thread.c Inital import. 2014-06-20 13:17:32 -07:00
time_support.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00