List Info

Thread: OpenSSL: openssl/crypto/evp/ evp.h




OpenSSL: openssl/crypto/evp/ evp.h
user name
2006-04-19 12:17:00
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Dr.
Stephen Henson
  Root:   /v/openssl/cvs                   Email:  steveopenssl.org
  Module: openssl                          Date:  
19-Apr-2006 14:16:59
  Branch: HEAD                             Handle:
2006041913165800

  Modified files:
    openssl/crypto/evp      evp.h

  Log:
    Remove comment from SSLeay days about EVP_PKEY_METHOD.

  Summary:
    Revision    Changes     Path
    1.145       +0  -67     openssl/crypto/evp/evp.h
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/crypto/evp/evp.h
 
============================================================
================
  $ cvs diff -u -r1.144 -r1.145 evp.h
  --- openssl/crypto/evp/evp.h	17 Apr 2006 17:12:22
-0000	1.144
  +++ openssl/crypto/evp/evp.h	19 Apr 2006 12:16:58
-0000	1.145
   -154,73 +154,6 
   #define EVP_PKEY_MO_ENCRYPT	0x0004
   #define EVP_PKEY_MO_DECRYPT	0x0008
   
  -#if 0
  -/* This structure is required to tie the message digest
and signing together.
  - * The lookup can be done by md/pkey_method, oid,
oid/pkey_method, or
  - * oid, md and pkey.
  - * This is required because for various smart-card
perform the digest and
  - * signing/verification on-board.  To handle this case,
the specific
  - * EVP_MD and EVP_PKEY_METHODs need to be closely
associated.
  - * When a PKEY is created, it will have a EVP_PKEY_METHOD
associated with it.
  - * This can either be software or a token to provide the
required low level
  - * routines.
  - */
  -typedef struct evp_pkey_md_st
  -	{
  -	int oid;
  -	EVP_MD *md;
  -	EVP_PKEY_METHOD *pkey;
  -	} EVP_PKEY_MD;
  -
  -#define EVP_rsa_md2() \
  -		EVP_PKEY_MD_add(NID_md2WithRSAEncryption,\
  -			EVP_rsa_pkcs1(),EVP_md2())
  -#define EVP_rsa_md5() \
  -		EVP_PKEY_MD_add(NID_md5WithRSAEncryption,\
  -			EVP_rsa_pkcs1(),EVP_md5())
  -#define EVP_rsa_sha0() \
  -		EVP_PKEY_MD_add(NID_shaWithRSAEncryption,\
  -			EVP_rsa_pkcs1(),EVP_sha())
  -#define EVP_rsa_sha1() \
  -		EVP_PKEY_MD_add(NID_sha1WithRSAEncryption,\
  -			EVP_rsa_pkcs1(),EVP_sha1())
  -#define EVP_rsa_ripemd160() \
  -		EVP_PKEY_MD_add(NID_ripemd160WithRSA,\
  -			EVP_rsa_pkcs1(),EVP_ripemd160())
  -#define EVP_rsa_mdc2() \
  -		EVP_PKEY_MD_add(NID_mdc2WithRSA,\
  -			EVP_rsa_octet_string(),EVP_mdc2())
  -#define EVP_dsa_sha() \
  -		EVP_PKEY_MD_add(NID_dsaWithSHA,\
  -			EVP_dsa(),EVP_sha())
  -#define EVP_dsa_sha1() \
  -		EVP_PKEY_MD_add(NID_dsaWithSHA1,\
  -			EVP_dsa(),EVP_sha1())
  -
  -typedef struct evp_pkey_method_st
  -	{
  -	char *name;
  -	int flags;
  -	int type;		/* RSA, DSA, an SSLeay specific constant */
  -	int oid;		/* For the pub-key type */
  -	int encrypt_oid;	/* pub/priv key encryption */
  -
  -	int (*sign)();
  -	int (*verify)();
  -	struct	{
  -		int (*set)();	/* get and/or set the underlying type */
  -		int (*get)();
  -		int (*encrypt)();
  -		int (*decrypt)();
  -		int (*i2d)();
  -		int (*d2i)();
  -		int (*dup)();
  -		} pub,priv;
  -	int (*set_asn1_parameters)();
  -	int (*get_asn1_parameters)();
  -	} EVP_PKEY_METHOD;
  -#endif
  -
   #ifndef EVP_MD
   struct env_md_st
   	{
   .
____________________________________________________________
__________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                    
openssl-cvsopenssl.org
Automated List Manager                          
majordomoopenssl.org
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )