From 5b608bbfe00c352f425ebaebad7f1ba2dd41334c Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 13 Jun 2017 12:09:52 +0100 Subject: [crypto] Expose RSA_CTX_SIZE constant Signed-off-by: Michael Brown --- src/include/ipxe/rsa.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include') diff --git a/src/include/ipxe/rsa.h b/src/include/ipxe/rsa.h index d947eec7..a1b5e0c0 100644 --- a/src/include/ipxe/rsa.h +++ b/src/include/ipxe/rsa.h @@ -77,6 +77,9 @@ struct rsa_context { void *tmp; }; +/** RSA context size */ +#define RSA_CTX_SIZE sizeof ( struct rsa_context ) + extern struct pubkey_algorithm rsa_algorithm; #endif /* _IPXE_RSA_H */ -- cgit v1.2.3-55-g7522