From 5d48b02a5b3436f42f00b1027e003899fc5bc7c1 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sun, 15 Mar 2015 03:02:15 -1000 Subject: [PATCH] Remove TODO about removing ECDSA_do_sign/ECDSA_do_verify. These functions are useful for implementing non-ASN.1-based protocols like JSON Web Signature (JWS) and they are even already used within Chromium. Change-Id: I58f41ca7beedc5a0b7a8c3da53f319aadff4c0e7 Reviewed-on: https://boringssl-review.googlesource.com/3936 Reviewed-by: Adam Langley --- include/openssl/ecdsa.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/openssl/ecdsa.h b/include/openssl/ecdsa.h index 8d9dde36..e0454634 100644 --- a/include/openssl/ecdsa.h +++ b/include/openssl/ecdsa.h @@ -107,17 +107,13 @@ OPENSSL_EXPORT ECDSA_SIG *ECDSA_SIG_new(void); OPENSSL_EXPORT void ECDSA_SIG_free(ECDSA_SIG *sig); /* ECDSA_sign signs |digest_len| bytes from |digest| with |key| and returns the - * resulting signature structure, or NULL on error. - * - * TODO(fork): remove this function. */ + * resulting signature structure, or NULL on error. */ OPENSSL_EXPORT ECDSA_SIG *ECDSA_do_sign(const uint8_t *digest, size_t digest_len, EC_KEY *key); /* ECDSA_verify verifies that |sig| constitutes a valid signature by |key| of * |digest|. It returns one on success or zero if the signature is invalid or - * on error. - * - * TODO(fork): remove this function. */ + * on error. */ OPENSSL_EXPORT int ECDSA_do_verify(const uint8_t *digest, size_t digest_len, const ECDSA_SIG *sig, EC_KEY *key);