OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________
________________
Server: cvs.openssl.org Name: Dr.
Stephen Henson
Root: /v/openssl/cvs Email: steve openssl.org
Module: openssl Date:
26-Apr-2006 13:52:36
Branch: HEAD Handle:
2006042612523600
Modified files:
openssl/crypto/evp evp.h pmeth_lib.c
Log:
Add prototypes and pkey accessor function for
EVP_PKEY_CTX.
Summary:
Revision Changes Path
1.148 +5 -0 openssl/crypto/evp/evp.h
1.19 +5 -0 openssl/crypto/evp/pmeth_lib.c
____________________________________________________________
________________
patch -p0 <<' .'
Index: openssl/crypto/evp/evp.h
============================================================
================
$ cvs diff -u -r1.147 -r1.148 evp.h
--- openssl/crypto/evp/evp.h 21 Apr 2006 17:38:58
-0000 1.147
+++ openssl/crypto/evp/evp.h 26 Apr 2006 11:52:36
-0000 1.148
 -885,6 +885,9 
#define EVP_PKEY_FLAG_AUTOARGLEN 2
const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type,
ENGINE *e);
+EVP_PKEY_METHOD* EVP_PKEY_meth_new(int id, int flags);
+int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth);
+
EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE
*e);
EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e);
void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx);
 -896,6 +899,8 
void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx, void
*data);
void *EVP_PKEY_CTX_get_data(EVP_PKEY_CTX *ctx);
+EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx);
+
void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void
*data);
void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx);
 .
patch -p0 <<' .'
Index: openssl/crypto/evp/pmeth_lib.c
============================================================
================
$ cvs diff -u -r1.18 -r1.19 pmeth_lib.c
--- openssl/crypto/evp/pmeth_lib.c 17 Apr 2006 12:08:18
-0000 1.18
+++ openssl/crypto/evp/pmeth_lib.c 26 Apr 2006 11:52:36
-0000 1.19
 -284,6 +284,11 
return ctx->data;
}
+EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx)
+ {
+ return ctx->pkey;
+ }
+
void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void
*data)
{
ctx->app_data = data;
 .
____________________________________________________________
__________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List
openssl-cvs openssl.org
Automated List Manager
majordomo openssl.org
|