diff options
| author | tb <> | 2023-07-28 10:05:16 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-28 10:05:16 +0000 |
| commit | 8f7aef795a81efc6cca2f7503141e0fddb4358c1 (patch) | |
| tree | 9d9e5e88058fce53bb18a48739125946a2639657 /src/lib/libcrypto/hidden/openssl/rsa.h | |
| parent | f72d08156c2afabfd1c38468eca631a5afed0f79 (diff) | |
| download | openbsd-8f7aef795a81efc6cca2f7503141e0fddb4358c1.tar.gz openbsd-8f7aef795a81efc6cca2f7503141e0fddb4358c1.tar.bz2 openbsd-8f7aef795a81efc6cca2f7503141e0fddb4358c1.zip | |
Make BN_BLINDING internal
RSA is pretty bad. In my most optimistic moments I dream of a world that
stopped using it. That won't happen during my lifetime, unfortunately.
Blinding is one way of making it a little less leaky. Unfortunately this
side-channel leak mitigation leaked out of the library for no good reason.
Let's at least fix that aspect of it.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/rsa.h')
| -rw-r--r-- | src/lib/libcrypto/hidden/openssl/rsa.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/rsa.h b/src/lib/libcrypto/hidden/openssl/rsa.h index f4342e21da..ff47101a07 100644 --- a/src/lib/libcrypto/hidden/openssl/rsa.h +++ b/src/lib/libcrypto/hidden/openssl/rsa.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rsa.h,v 1.1 2023/07/08 12:26:45 beck Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.2 2023/07/28 10:05:16 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> |
| 4 | * | 4 | * |
| @@ -66,7 +66,6 @@ LCRYPTO_USED(RSA_sign_ASN1_OCTET_STRING); | |||
| 66 | LCRYPTO_USED(RSA_verify_ASN1_OCTET_STRING); | 66 | LCRYPTO_USED(RSA_verify_ASN1_OCTET_STRING); |
| 67 | LCRYPTO_USED(RSA_blinding_on); | 67 | LCRYPTO_USED(RSA_blinding_on); |
| 68 | LCRYPTO_USED(RSA_blinding_off); | 68 | LCRYPTO_USED(RSA_blinding_off); |
| 69 | LCRYPTO_USED(RSA_setup_blinding); | ||
| 70 | LCRYPTO_USED(RSA_padding_add_PKCS1_type_1); | 69 | LCRYPTO_USED(RSA_padding_add_PKCS1_type_1); |
| 71 | LCRYPTO_USED(RSA_padding_check_PKCS1_type_1); | 70 | LCRYPTO_USED(RSA_padding_check_PKCS1_type_1); |
| 72 | LCRYPTO_USED(RSA_padding_add_PKCS1_type_2); | 71 | LCRYPTO_USED(RSA_padding_add_PKCS1_type_2); |
