summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_local.h')
-rw-r--r--src/lib/libcrypto/rsa/rsa_local.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_local.h b/src/lib/libcrypto/rsa/rsa_local.h
index f2639d59b1..d537ab9c77 100644
--- a/src/lib/libcrypto/rsa/rsa_local.h
+++ b/src/lib/libcrypto/rsa/rsa_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa_local.h,v 1.7 2023/11/29 21:35:57 tb Exp $ */ 1/* $OpenBSD: rsa_local.h,v 1.8 2024/01/01 15:43:02 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -60,10 +60,6 @@ __BEGIN_HIDDEN_DECLS
60 60
61#define RSA_MIN_MODULUS_BITS 512 61#define RSA_MIN_MODULUS_BITS 512
62 62
63/* Macros to test if a pkey or ctx is for a PSS key */
64#define pkey_is_pss(pkey) (pkey->ameth->pkey_id == EVP_PKEY_RSA_PSS)
65#define pkey_ctx_is_pss(ctx) (ctx->pmeth->pkey_id == EVP_PKEY_RSA_PSS)
66
67struct rsa_meth_st { 63struct rsa_meth_st {
68 char *name; 64 char *name;
69 int (*rsa_pub_enc)(int flen, const unsigned char *from, 65 int (*rsa_pub_enc)(int flen, const unsigned char *from,