From 9a8ea65fb584adcf4b74bc9d692811fc563ad1c5 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 10 Jul 2014 12:08:22 +0000 Subject: Tweak some comments. We do not really need to know that "New!" flags were added 10+ years ago (they're kinda somewhat stale by now...) --- src/lib/libcrypto/rsa/rsa.h | 17 ++++++++--------- src/lib/libssl/src/crypto/rsa/rsa.h | 17 ++++++++--------- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index fdfd29c33a..b84ab4c6d7 100644 --- a/src/lib/libcrypto/rsa/rsa.h +++ b/src/lib/libcrypto/rsa/rsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa.h,v 1.23 2014/07/10 11:04:49 jsing Exp $ */ +/* $OpenBSD: rsa.h,v 1.24 2014/07/10 12:08:22 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -187,18 +187,17 @@ struct rsa_st { #define RSA_FLAG_SIGN_VER 0x0040 /* - * New with 0.9.6j and 0.9.7b; the built-in RSA implementation now uses - * blinding by default (ignoring RSA_FLAG_BLINDING), but other engines might - * not need it. + * The built-in RSA implementation uses blinding by default, but other engines + * might not need it. */ #define RSA_FLAG_NO_BLINDING 0x0080 /* - * New with 0.9.8f; the built-in RSA implementation now uses constant time - * operations by default in private key operations, e.g., constant time modular - * exponentiation, modular inverse without leaking branches, division without - * leaking branches. This flag disables these constant time operations and - * results in faster RSA private key operations. + * The built-in RSA implementation uses constant time operations by default + * in private key operations, e.g., constant time modular exponentiation, + * modular inverse without leaking branches, division without leaking branches. + * This flag disables these constant time operations and results in faster RSA + * private key operations. */ #define RSA_FLAG_NO_CONSTTIME 0x0100 diff --git a/src/lib/libssl/src/crypto/rsa/rsa.h b/src/lib/libssl/src/crypto/rsa/rsa.h index fdfd29c33a..b84ab4c6d7 100644 --- a/src/lib/libssl/src/crypto/rsa/rsa.h +++ b/src/lib/libssl/src/crypto/rsa/rsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa.h,v 1.23 2014/07/10 11:04:49 jsing Exp $ */ +/* $OpenBSD: rsa.h,v 1.24 2014/07/10 12:08:22 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -187,18 +187,17 @@ struct rsa_st { #define RSA_FLAG_SIGN_VER 0x0040 /* - * New with 0.9.6j and 0.9.7b; the built-in RSA implementation now uses - * blinding by default (ignoring RSA_FLAG_BLINDING), but other engines might - * not need it. + * The built-in RSA implementation uses blinding by default, but other engines + * might not need it. */ #define RSA_FLAG_NO_BLINDING 0x0080 /* - * New with 0.9.8f; the built-in RSA implementation now uses constant time - * operations by default in private key operations, e.g., constant time modular - * exponentiation, modular inverse without leaking branches, division without - * leaking branches. This flag disables these constant time operations and - * results in faster RSA private key operations. + * The built-in RSA implementation uses constant time operations by default + * in private key operations, e.g., constant time modular exponentiation, + * modular inverse without leaking branches, division without leaking branches. + * This flag disables these constant time operations and results in faster RSA + * private key operations. */ #define RSA_FLAG_NO_CONSTTIME 0x0100 -- cgit v1.2.3-55-g6feb