summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-05-11 21:33:00 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-05-11 21:33:00 +0000
commit7f57b076a60235a3b8c6bec703efde40c6418d07 (patch)
tree0fa0453dc3373146107613c09a5d599a57de02cc /crypto/evp/evp.h
parent7144c4212a18e01bf805169ad1f3fdd885975759 (diff)
New functions to get key types without dereferncing EVP_PKEY.
More error checking for RSA pmeth.
Diffstat (limited to 'crypto/evp/evp.h')
-rw-r--r--crypto/evp/evp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h
index ae7bee8097..73f211e4d3 100644
--- a/crypto/evp/evp.h
+++ b/crypto/evp/evp.h
@@ -717,6 +717,8 @@ int EVP_PKEY_encrypt_old(unsigned char *enc_key,
const unsigned char *key,int key_len,
EVP_PKEY *pub_key);
int EVP_PKEY_type(int type);
+int EVP_PKEY_id(const EVP_PKEY *pkey);
+int EVP_PKEY_base_id(const EVP_PKEY *pkey);
int EVP_PKEY_bits(EVP_PKEY *pkey);
int EVP_PKEY_size(EVP_PKEY *pkey);
int EVP_PKEY_assign(EVP_PKEY *pkey,int type,void *key);