diff options
author | Michael Brown <mcb30@ipxe.org> | 2017-06-13 12:09:52 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2017-06-20 09:49:00 +0100 |
commit | 5b608bbfe00c352f425ebaebad7f1ba2dd41334c (patch) | |
tree | 58e99073e4f62b4f791c0f68a39cecd152d6e36b /src/include/ipxe/rsa.h | |
parent | a6a5825f8d658834610de31b7b9be2e7d0a8804e (diff) | |
download | ipxe-5b608bbfe00c352f425ebaebad7f1ba2dd41334c.tar.gz |
[crypto] Expose RSA_CTX_SIZE constant
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/rsa.h')
-rw-r--r-- | src/include/ipxe/rsa.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/rsa.h b/src/include/ipxe/rsa.h index d947eec73..a1b5e0c03 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 */ |