boringssl/crypto/ecdsa
Adam Langley 5129e2d695 Align EVP return values with BoringSSL convention.
Where possible, functions should return one for success and zero for
error. The use of additional negative values to indicate an error is,
itself, error prone.

This change fixes many EVP functions to remove the possibility of
negative return values. Existing code that is testing for <= 0 will
continue to function, although there is the possibility that some code
was differentiating between negative values (error) and zero (invalid
signature) for the verify functions and will now show the wrong error
message.

Change-Id: I982512596bb18a82df65861394dbd7487783bd3d
Reviewed-on: https://boringssl-review.googlesource.com/1333
Reviewed-by: Adam Langley <agl@google.com>
2014-07-29 21:47:51 +00:00
..
CMakeLists.txt
ecdsa_asn1.c Change ECDSA_METHOD's size() to group_order_size() 2014-07-15 22:26:08 +00:00
ecdsa_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ecdsa_test.c
ecdsa.c Align EVP return values with BoringSSL convention. 2014-07-29 21:47:51 +00:00