From 8cc0b24cddb67d68aebc5809ee24aecd8b33cd65 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Sat, 2 Aug 2014 04:15:54 -0400 Subject: [PATCH] Spell Bleichenbacher's name right. Change-Id: I2096f760165f7aaa9b5d922a2e6d4d755365087b Reviewed-on: https://boringssl-review.googlesource.com/1372 Reviewed-by: Adam Langley --- crypto/rsa/padding.c | 2 +- include/openssl/rsa.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/rsa/padding.c b/crypto/rsa/padding.c index b422bb87d..36314240b 100644 --- a/crypto/rsa/padding.c +++ b/crypto/rsa/padding.c @@ -271,7 +271,7 @@ int RSA_padding_check_PKCS1_type_2(uint8_t *to, unsigned tlen, /* NOTE: Although |RSA_message_index_PKCS1_type_2| itself is constant time, * the API contracts of this function and |RSA_decrypt| with - * |RSA_PKCS1_PADDING| make it impossible to completely avoid Bleichenbacker's + * |RSA_PKCS1_PADDING| make it impossible to completely avoid Bleichenbacher's * attack. */ if (!RSA_message_index_PKCS1_type_2(from, flen, &msg_index)) { OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_2, diff --git a/include/openssl/rsa.h b/include/openssl/rsa.h index 533882751..9827e697d 100644 --- a/include/openssl/rsa.h +++ b/include/openssl/rsa.h @@ -166,7 +166,7 @@ OPENSSL_EXPORT int RSA_private_decrypt(int flen, const uint8_t *from, * length |from_len - *out_index|. Otherwise, it returns zero and sets * |*out_index| to some undefined value. This function runs in time independent * of the input data and is intended to be used directly to avoid - * Bleichenbacker's attack. + * Bleichenbacher's attack. * * WARNING: This function behaves differently from the usual OpenSSL convention * in that it does NOT put an error on the queue in the error case. */