mirror of https://github.com/openssl/openssl.git
				
				
				
			Convert _meth_get_ functions to const getters
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2181)
This commit is contained in:
		
							parent
							
								
									424afe931e
								
							
						
					
					
						commit
						693be9a2cb
					
				| 
						 | 
				
			
			@ -55,12 +55,12 @@ void BIO_meth_free(BIO_METHOD *biom)
 | 
			
		|||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int (*BIO_meth_get_write(BIO_METHOD *biom)) (BIO *, const char *, int)
 | 
			
		||||
int (*BIO_meth_get_write(const BIO_METHOD *biom)) (BIO *, const char *, int)
 | 
			
		||||
{
 | 
			
		||||
    return biom->bwrite_old;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int (*BIO_meth_get_write_ex(BIO_METHOD *biom)) (BIO *, const char *, size_t,
 | 
			
		||||
int (*BIO_meth_get_write_ex(const BIO_METHOD *biom)) (BIO *, const char *, size_t,
 | 
			
		||||
                                                size_t *)
 | 
			
		||||
{
 | 
			
		||||
    return biom->bwrite;
 | 
			
		||||
| 
						 | 
				
			
			@ -102,12 +102,12 @@ int BIO_meth_set_write_ex(BIO_METHOD *biom,
 | 
			
		|||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int (*BIO_meth_get_read(BIO_METHOD *biom)) (BIO *, char *, int)
 | 
			
		||||
int (*BIO_meth_get_read(const BIO_METHOD *biom)) (BIO *, char *, int)
 | 
			
		||||
{
 | 
			
		||||
    return biom->bread_old;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int (*BIO_meth_get_read_ex(BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *)
 | 
			
		||||
int (*BIO_meth_get_read_ex(const BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *)
 | 
			
		||||
{
 | 
			
		||||
    return biom->bread;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -148,7 +148,7 @@ int BIO_meth_set_read_ex(BIO_METHOD *biom,
 | 
			
		|||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int (*BIO_meth_get_puts(BIO_METHOD *biom)) (BIO *, const char *)
 | 
			
		||||
int (*BIO_meth_get_puts(const BIO_METHOD *biom)) (BIO *, const char *)
 | 
			
		||||
{
 | 
			
		||||
    return biom->bputs;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -160,7 +160,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
 | 
			
		|||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int (*BIO_meth_get_gets(BIO_METHOD *biom)) (BIO *, char *, int)
 | 
			
		||||
int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int)
 | 
			
		||||
{
 | 
			
		||||
    return biom->bgets;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -172,7 +172,7 @@ int BIO_meth_set_gets(BIO_METHOD *biom,
 | 
			
		|||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
long (*BIO_meth_get_ctrl(BIO_METHOD *biom)) (BIO *, int, long, void *)
 | 
			
		||||
long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *)
 | 
			
		||||
{
 | 
			
		||||
    return biom->ctrl;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -184,7 +184,7 @@ int BIO_meth_set_ctrl(BIO_METHOD *biom,
 | 
			
		|||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int (*BIO_meth_get_create(BIO_METHOD *biom)) (BIO *)
 | 
			
		||||
int (*BIO_meth_get_create(const BIO_METHOD *biom)) (BIO *)
 | 
			
		||||
{
 | 
			
		||||
    return biom->create;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -195,7 +195,7 @@ int BIO_meth_set_create(BIO_METHOD *biom, int (*create) (BIO *))
 | 
			
		|||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int (*BIO_meth_get_destroy(BIO_METHOD *biom)) (BIO *)
 | 
			
		||||
int (*BIO_meth_get_destroy(const BIO_METHOD *biom)) (BIO *)
 | 
			
		||||
{
 | 
			
		||||
    return biom->destroy;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -206,7 +206,7 @@ int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy) (BIO *))
 | 
			
		|||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
long (*BIO_meth_get_callback_ctrl(BIO_METHOD *biom)) (BIO *, int, BIO_info_cb *)
 | 
			
		||||
long (*BIO_meth_get_callback_ctrl(const BIO_METHOD *biom)) (BIO *, int, BIO_info_cb *)
 | 
			
		||||
{
 | 
			
		||||
    return biom->callback_ctrl;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -75,7 +75,7 @@ int DH_meth_set1_name(DH_METHOD *dhm, const char *name)
 | 
			
		|||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int DH_meth_get_flags(DH_METHOD *dhm)
 | 
			
		||||
int DH_meth_get_flags(const DH_METHOD *dhm)
 | 
			
		||||
{
 | 
			
		||||
    return dhm->flags;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -83,7 +83,7 @@ int DSA_meth_set1_name(DSA_METHOD *dsam, const char *name)
 | 
			
		|||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int DSA_meth_get_flags(DSA_METHOD *dsam)
 | 
			
		||||
int DSA_meth_get_flags(const DSA_METHOD *dsam)
 | 
			
		||||
{
 | 
			
		||||
    return dsam->flags;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -644,26 +644,26 @@ void EVP_PKEY_meth_set_param_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
    pmeth->param_check = check;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_init(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_init(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                            int (**pinit) (EVP_PKEY_CTX *ctx))
 | 
			
		||||
{
 | 
			
		||||
    *pinit = pmeth->init;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_copy(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_copy(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                            int (**pcopy) (EVP_PKEY_CTX *dst,
 | 
			
		||||
                                           EVP_PKEY_CTX *src))
 | 
			
		||||
{
 | 
			
		||||
    *pcopy = pmeth->copy;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_cleanup(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_cleanup(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               void (**pcleanup) (EVP_PKEY_CTX *ctx))
 | 
			
		||||
{
 | 
			
		||||
    *pcleanup = pmeth->cleanup;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_paramgen(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_paramgen(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                int (**pparamgen_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                                int (**pparamgen) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                   EVP_PKEY *pkey))
 | 
			
		||||
| 
						 | 
				
			
			@ -674,7 +674,7 @@ void EVP_PKEY_meth_get_paramgen(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *pparamgen = pmeth->paramgen;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_keygen(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_keygen(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                              int (**pkeygen_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                              int (**pkeygen) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                               EVP_PKEY *pkey))
 | 
			
		||||
| 
						 | 
				
			
			@ -685,7 +685,7 @@ void EVP_PKEY_meth_get_keygen(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *pkeygen = pmeth->keygen;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_sign(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_sign(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                            int (**psign_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                            int (**psign) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                           unsigned char *sig, size_t *siglen,
 | 
			
		||||
| 
						 | 
				
			
			@ -698,7 +698,7 @@ void EVP_PKEY_meth_get_sign(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *psign = pmeth->sign;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_verify(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_verify(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                              int (**pverify_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                              int (**pverify) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                               const unsigned char *sig,
 | 
			
		||||
| 
						 | 
				
			
			@ -712,7 +712,7 @@ void EVP_PKEY_meth_get_verify(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *pverify = pmeth->verify;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_verify_recover(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_verify_recover(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                      int (**pverify_recover_init) (EVP_PKEY_CTX
 | 
			
		||||
                                                                    *ctx),
 | 
			
		||||
                                      int (**pverify_recover) (EVP_PKEY_CTX
 | 
			
		||||
| 
						 | 
				
			
			@ -730,7 +730,7 @@ void EVP_PKEY_meth_get_verify_recover(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *pverify_recover = pmeth->verify_recover;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_signctx(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_signctx(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               int (**psignctx_init) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                      EVP_MD_CTX *mctx),
 | 
			
		||||
                               int (**psignctx) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
| 
						 | 
				
			
			@ -744,7 +744,7 @@ void EVP_PKEY_meth_get_signctx(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *psignctx = pmeth->signctx;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_verifyctx(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_verifyctx(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                 int (**pverifyctx_init) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                          EVP_MD_CTX *mctx),
 | 
			
		||||
                                 int (**pverifyctx) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
| 
						 | 
				
			
			@ -758,7 +758,7 @@ void EVP_PKEY_meth_get_verifyctx(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *pverifyctx = pmeth->verifyctx;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_encrypt(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_encrypt(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               int (**pencrypt_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                               int (**pencryptfn) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                   unsigned char *out,
 | 
			
		||||
| 
						 | 
				
			
			@ -772,7 +772,7 @@ void EVP_PKEY_meth_get_encrypt(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *pencryptfn = pmeth->encrypt;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_decrypt(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_decrypt(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               int (**pdecrypt_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                               int (**pdecrypt) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                 unsigned char *out,
 | 
			
		||||
| 
						 | 
				
			
			@ -786,7 +786,7 @@ void EVP_PKEY_meth_get_decrypt(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *pdecrypt = pmeth->decrypt;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_derive(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_derive(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                              int (**pderive_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                              int (**pderive) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                               unsigned char *key,
 | 
			
		||||
| 
						 | 
				
			
			@ -798,7 +798,7 @@ void EVP_PKEY_meth_get_derive(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *pderive = pmeth->derive;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_ctrl(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_ctrl(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                            int (**pctrl) (EVP_PKEY_CTX *ctx, int type, int p1,
 | 
			
		||||
                                           void *p2),
 | 
			
		||||
                            int (**pctrl_str) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
| 
						 | 
				
			
			@ -811,21 +811,21 @@ void EVP_PKEY_meth_get_ctrl(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
        *pctrl_str = pmeth->ctrl_str;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                             int (**pcheck) (EVP_PKEY *pkey))
 | 
			
		||||
{
 | 
			
		||||
    if (*pcheck)
 | 
			
		||||
        *pcheck = pmeth->check;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_public_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_public_check(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                    int (**pcheck) (EVP_PKEY *pkey))
 | 
			
		||||
{
 | 
			
		||||
    if (*pcheck)
 | 
			
		||||
        *pcheck = pmeth->public_check;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_param_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_param_check(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                   int (**pcheck) (EVP_PKEY *pkey))
 | 
			
		||||
{
 | 
			
		||||
    if (*pcheck)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -75,7 +75,7 @@ int RSA_meth_set1_name(RSA_METHOD *meth, const char *name)
 | 
			
		|||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int RSA_meth_get_flags(RSA_METHOD *meth)
 | 
			
		||||
int RSA_meth_get_flags(const RSA_METHOD *meth)
 | 
			
		||||
{
 | 
			
		||||
    return meth->flags;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,38 +21,38 @@ BIO_meth_set_callback_ctrl - Routines to build up BIO methods
 | 
			
		|||
 | 
			
		||||
 void BIO_meth_free(BIO_METHOD *biom);
 | 
			
		||||
 | 
			
		||||
 int (*BIO_meth_get_write_ex(BIO_METHOD *biom))(BIO *, const char *, size_t,
 | 
			
		||||
 int (*BIO_meth_get_write_ex(const BIO_METHOD *biom))(BIO *, const char *, size_t,
 | 
			
		||||
                                                size_t *);
 | 
			
		||||
 int (*BIO_meth_get_write(BIO_METHOD *biom))(BIO *, const char *, int);
 | 
			
		||||
 int (*BIO_meth_get_write(const BIO_METHOD *biom))(BIO *, const char *, int);
 | 
			
		||||
 int BIO_meth_set_write_ex(BIO_METHOD *biom,
 | 
			
		||||
                           int (*bwrite)(BIO *, const char *, size_t, size_t *));
 | 
			
		||||
 int BIO_meth_set_write(BIO_METHOD *biom,
 | 
			
		||||
                        int (*write)(BIO *, const char *, int));
 | 
			
		||||
 | 
			
		||||
 int (*BIO_meth_get_read_ex(BIO_METHOD *biom))(BIO *, char *, size_t, size_t *);
 | 
			
		||||
 int (*BIO_meth_get_read(BIO_METHOD *biom))(BIO *, char *, int);
 | 
			
		||||
 int (*BIO_meth_get_read_ex(const BIO_METHOD *biom))(BIO *, char *, size_t, size_t *);
 | 
			
		||||
 int (*BIO_meth_get_read(const BIO_METHOD *biom))(BIO *, char *, int);
 | 
			
		||||
 int BIO_meth_set_read_ex(BIO_METHOD *biom,
 | 
			
		||||
                          int (*bread)(BIO *, char *, size_t, size_t *));
 | 
			
		||||
 int BIO_meth_set_read(BIO_METHOD *biom, int (*read)(BIO *, char *, int));
 | 
			
		||||
 | 
			
		||||
 int (*BIO_meth_get_puts(BIO_METHOD *biom))(BIO *, const char *);
 | 
			
		||||
 int (*BIO_meth_get_puts(const BIO_METHOD *biom))(BIO *, const char *);
 | 
			
		||||
 int BIO_meth_set_puts(BIO_METHOD *biom, int (*puts)(BIO *, const char *));
 | 
			
		||||
 | 
			
		||||
 int (*BIO_meth_get_gets(BIO_METHOD *biom))(BIO *, char *, int);
 | 
			
		||||
 int (*BIO_meth_get_gets(const BIO_METHOD *biom))(BIO *, char *, int);
 | 
			
		||||
 int BIO_meth_set_gets(BIO_METHOD *biom,
 | 
			
		||||
                       int (*gets)(BIO *, char *, int));
 | 
			
		||||
 | 
			
		||||
 long (*BIO_meth_get_ctrl(BIO_METHOD *biom))(BIO *, int, long, void *);
 | 
			
		||||
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom))(BIO *, int, long, void *);
 | 
			
		||||
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
 | 
			
		||||
                       long (*ctrl)(BIO *, int, long, void *));
 | 
			
		||||
 | 
			
		||||
 int (*BIO_meth_get_create(BIO_METHOD *bion))(BIO *);
 | 
			
		||||
 int (*BIO_meth_get_create(const BIO_METHOD *bion))(BIO *);
 | 
			
		||||
 int BIO_meth_set_create(BIO_METHOD *biom, int (*create)(BIO *));
 | 
			
		||||
 | 
			
		||||
 int (*BIO_meth_get_destroy(BIO_METHOD *biom))(BIO *);
 | 
			
		||||
 int (*BIO_meth_get_destroy(const BIO_METHOD *biom))(BIO *);
 | 
			
		||||
 int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy)(BIO *));
 | 
			
		||||
 | 
			
		||||
 long (*BIO_meth_get_callback_ctrl(BIO_METHOD *biom))(BIO *, int, BIO_info_cb *);
 | 
			
		||||
 long (*BIO_meth_get_callback_ctrl(const BIO_METHOD *biom))(BIO *, int, BIO_info_cb *);
 | 
			
		||||
 int BIO_meth_set_callback_ctrl(BIO_METHOD *biom,
 | 
			
		||||
                                long (*callback_ctrl)(BIO *, int, BIO_info_cb *));
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,7 +23,7 @@ DH_meth_set_generate_params - Routines to build up DH methods
 | 
			
		|||
 const char *DH_meth_get0_name(const DH_METHOD *dhm);
 | 
			
		||||
 int DH_meth_set1_name(DH_METHOD *dhm, const char *name);
 | 
			
		||||
 | 
			
		||||
 int DH_meth_get_flags(DH_METHOD *dhm);
 | 
			
		||||
 int DH_meth_get_flags(const DH_METHOD *dhm);
 | 
			
		||||
 int DH_meth_set_flags(DH_METHOD *dhm, int flags);
 | 
			
		||||
 | 
			
		||||
 void *DH_meth_get0_app_data(const DH_METHOD *dhm);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,7 @@ DSA_meth_set_keygen - Routines to build up DSA methods
 | 
			
		|||
 const char *DSA_meth_get0_name(const DSA_METHOD *dsam);
 | 
			
		||||
 int DSA_meth_set1_name(DSA_METHOD *dsam, const char *name);
 | 
			
		||||
 | 
			
		||||
 int DSA_meth_get_flags(DSA_METHOD *dsam);
 | 
			
		||||
 int DSA_meth_get_flags(const DSA_METHOD *dsam);
 | 
			
		||||
 int DSA_meth_set_flags(DSA_METHOD *dsam, int flags);
 | 
			
		||||
 | 
			
		||||
 void *DSA_meth_get0_app_data(const DSA_METHOD *dsam);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -117,35 +117,35 @@ EVP_PKEY_meth_remove
 | 
			
		|||
 void EVP_PKEY_meth_set_param_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                    int (*check) (EVP_PKEY *pkey));
 | 
			
		||||
 | 
			
		||||
 void EVP_PKEY_meth_get_init(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_init(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                             int (**pinit) (EVP_PKEY_CTX *ctx));
 | 
			
		||||
 void EVP_PKEY_meth_get_copy(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_copy(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                             int (**pcopy) (EVP_PKEY_CTX *dst,
 | 
			
		||||
                                            EVP_PKEY_CTX *src));
 | 
			
		||||
 void EVP_PKEY_meth_get_cleanup(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_cleanup(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                void (**pcleanup) (EVP_PKEY_CTX *ctx));
 | 
			
		||||
 void EVP_PKEY_meth_get_paramgen(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_paramgen(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                 int (**pparamgen_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                                 int (**pparamgen) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                    EVP_PKEY *pkey));
 | 
			
		||||
 void EVP_PKEY_meth_get_keygen(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_keygen(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               int (**pkeygen_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                               int (**pkeygen) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                EVP_PKEY *pkey));
 | 
			
		||||
 void EVP_PKEY_meth_get_sign(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_sign(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                             int (**psign_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                             int (**psign) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                            unsigned char *sig, size_t *siglen,
 | 
			
		||||
                                            const unsigned char *tbs,
 | 
			
		||||
                                            size_t tbslen));
 | 
			
		||||
 void EVP_PKEY_meth_get_verify(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_verify(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               int (**pverify_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                               int (**pverify) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                const unsigned char *sig,
 | 
			
		||||
                                                size_t siglen,
 | 
			
		||||
                                                const unsigned char *tbs,
 | 
			
		||||
                                                size_t tbslen));
 | 
			
		||||
 void EVP_PKEY_meth_get_verify_recover(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_verify_recover(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                       int (**pverify_recover_init) (EVP_PKEY_CTX
 | 
			
		||||
                                                                     *ctx),
 | 
			
		||||
                                       int (**pverify_recover) (EVP_PKEY_CTX
 | 
			
		||||
| 
						 | 
				
			
			@ -156,50 +156,50 @@ EVP_PKEY_meth_remove
 | 
			
		|||
                                                                const unsigned
 | 
			
		||||
                                                                char *tbs,
 | 
			
		||||
                                                                size_t tbslen));
 | 
			
		||||
 void EVP_PKEY_meth_get_signctx(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_signctx(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                int (**psignctx_init) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                       EVP_MD_CTX *mctx),
 | 
			
		||||
                                int (**psignctx) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                  unsigned char *sig,
 | 
			
		||||
                                                  size_t *siglen,
 | 
			
		||||
                                                  EVP_MD_CTX *mctx));
 | 
			
		||||
 void EVP_PKEY_meth_get_verifyctx(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_verifyctx(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                  int (**pverifyctx_init) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                           EVP_MD_CTX *mctx),
 | 
			
		||||
                                  int (**pverifyctx) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                      const unsigned char *sig,
 | 
			
		||||
                                                      int siglen,
 | 
			
		||||
                                                      EVP_MD_CTX *mctx));
 | 
			
		||||
 void EVP_PKEY_meth_get_encrypt(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_encrypt(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                int (**pencrypt_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                                int (**pencryptfn) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                    unsigned char *out,
 | 
			
		||||
                                                    size_t *outlen,
 | 
			
		||||
                                                    const unsigned char *in,
 | 
			
		||||
                                                    size_t inlen));
 | 
			
		||||
 void EVP_PKEY_meth_get_decrypt(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_decrypt(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                int (**pdecrypt_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                                int (**pdecrypt) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                  unsigned char *out,
 | 
			
		||||
                                                  size_t *outlen,
 | 
			
		||||
                                                  const unsigned char *in,
 | 
			
		||||
                                                  size_t inlen));
 | 
			
		||||
 void EVP_PKEY_meth_get_derive(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_derive(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               int (**pderive_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                               int (**pderive) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                unsigned char *key,
 | 
			
		||||
                                                size_t *keylen));
 | 
			
		||||
 void EVP_PKEY_meth_get_ctrl(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_ctrl(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                             int (**pctrl) (EVP_PKEY_CTX *ctx, int type, int p1,
 | 
			
		||||
                                            void *p2),
 | 
			
		||||
                             int (**pctrl_str) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                const char *type,
 | 
			
		||||
                                                const char *value));
 | 
			
		||||
 void EVP_PKEY_meth_get_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                              int (**pcheck) (EVP_PKEY *pkey));
 | 
			
		||||
 void EVP_PKEY_meth_get_public_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_public_check(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                     int (**pcheck) (EVP_PKEY *pkey));
 | 
			
		||||
 void EVP_PKEY_meth_get_param_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
 void EVP_PKEY_meth_get_param_check(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                    int (**pcheck) (EVP_PKEY *pkey));
 | 
			
		||||
 | 
			
		||||
=head1 DESCRIPTION
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,7 +28,7 @@ RSA_meth_get_multi_prime_keygen, RSA_meth_set_multi_prime_keygen
 | 
			
		|||
 const char *RSA_meth_get0_name(const RSA_METHOD *meth);
 | 
			
		||||
 int RSA_meth_set1_name(RSA_METHOD *meth, const char *name);
 | 
			
		||||
 | 
			
		||||
 int RSA_meth_get_flags(RSA_METHOD *meth);
 | 
			
		||||
 int RSA_meth_get_flags(const RSA_METHOD *meth);
 | 
			
		||||
 int RSA_meth_set_flags(RSA_METHOD *meth, int flags);
 | 
			
		||||
 | 
			
		||||
 void *RSA_meth_get0_app_data(const RSA_METHOD *meth);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -760,33 +760,33 @@ __bio_h__attr__((__format__(__printf__, 3, 0)));
 | 
			
		|||
 | 
			
		||||
BIO_METHOD *BIO_meth_new(int type, const char *name);
 | 
			
		||||
void BIO_meth_free(BIO_METHOD *biom);
 | 
			
		||||
int (*BIO_meth_get_write(BIO_METHOD *biom)) (BIO *, const char *, int);
 | 
			
		||||
int (*BIO_meth_get_write_ex(BIO_METHOD *biom)) (BIO *, const char *, size_t,
 | 
			
		||||
int (*BIO_meth_get_write(const BIO_METHOD *biom)) (BIO *, const char *, int);
 | 
			
		||||
int (*BIO_meth_get_write_ex(const BIO_METHOD *biom)) (BIO *, const char *, size_t,
 | 
			
		||||
                                                size_t *);
 | 
			
		||||
int BIO_meth_set_write(BIO_METHOD *biom,
 | 
			
		||||
                       int (*write) (BIO *, const char *, int));
 | 
			
		||||
int BIO_meth_set_write_ex(BIO_METHOD *biom,
 | 
			
		||||
                       int (*bwrite) (BIO *, const char *, size_t, size_t *));
 | 
			
		||||
int (*BIO_meth_get_read(BIO_METHOD *biom)) (BIO *, char *, int);
 | 
			
		||||
int (*BIO_meth_get_read_ex(BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *);
 | 
			
		||||
int (*BIO_meth_get_read(const BIO_METHOD *biom)) (BIO *, char *, int);
 | 
			
		||||
int (*BIO_meth_get_read_ex(const BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *);
 | 
			
		||||
int BIO_meth_set_read(BIO_METHOD *biom,
 | 
			
		||||
                      int (*read) (BIO *, char *, int));
 | 
			
		||||
int BIO_meth_set_read_ex(BIO_METHOD *biom,
 | 
			
		||||
                         int (*bread) (BIO *, char *, size_t, size_t *));
 | 
			
		||||
int (*BIO_meth_get_puts(BIO_METHOD *biom)) (BIO *, const char *);
 | 
			
		||||
int (*BIO_meth_get_puts(const BIO_METHOD *biom)) (BIO *, const char *);
 | 
			
		||||
int BIO_meth_set_puts(BIO_METHOD *biom,
 | 
			
		||||
                      int (*puts) (BIO *, const char *));
 | 
			
		||||
int (*BIO_meth_get_gets(BIO_METHOD *biom)) (BIO *, char *, int);
 | 
			
		||||
int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 | 
			
		||||
int BIO_meth_set_gets(BIO_METHOD *biom,
 | 
			
		||||
                      int (*gets) (BIO *, char *, int));
 | 
			
		||||
long (*BIO_meth_get_ctrl(BIO_METHOD *biom)) (BIO *, int, long, void *);
 | 
			
		||||
long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 | 
			
		||||
int BIO_meth_set_ctrl(BIO_METHOD *biom,
 | 
			
		||||
                      long (*ctrl) (BIO *, int, long, void *));
 | 
			
		||||
int (*BIO_meth_get_create(BIO_METHOD *bion)) (BIO *);
 | 
			
		||||
int (*BIO_meth_get_create(const BIO_METHOD *bion)) (BIO *);
 | 
			
		||||
int BIO_meth_set_create(BIO_METHOD *biom, int (*create) (BIO *));
 | 
			
		||||
int (*BIO_meth_get_destroy(BIO_METHOD *biom)) (BIO *);
 | 
			
		||||
int (*BIO_meth_get_destroy(const BIO_METHOD *biom)) (BIO *);
 | 
			
		||||
int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy) (BIO *));
 | 
			
		||||
long (*BIO_meth_get_callback_ctrl(BIO_METHOD *biom))
 | 
			
		||||
long (*BIO_meth_get_callback_ctrl(const BIO_METHOD *biom))
 | 
			
		||||
                                 (BIO *, int, BIO_info_cb *);
 | 
			
		||||
int BIO_meth_set_callback_ctrl(BIO_METHOD *biom,
 | 
			
		||||
                               long (*callback_ctrl) (BIO *, int,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -195,7 +195,7 @@ void DH_meth_free(DH_METHOD *dhm);
 | 
			
		|||
DH_METHOD *DH_meth_dup(const DH_METHOD *dhm);
 | 
			
		||||
const char *DH_meth_get0_name(const DH_METHOD *dhm);
 | 
			
		||||
int DH_meth_set1_name(DH_METHOD *dhm, const char *name);
 | 
			
		||||
int DH_meth_get_flags(DH_METHOD *dhm);
 | 
			
		||||
int DH_meth_get_flags(const DH_METHOD *dhm);
 | 
			
		||||
int DH_meth_set_flags(DH_METHOD *dhm, int flags);
 | 
			
		||||
void *DH_meth_get0_app_data(const DH_METHOD *dhm);
 | 
			
		||||
int DH_meth_set0_app_data(DH_METHOD *dhm, void *app_data);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -182,7 +182,7 @@ void DSA_meth_free(DSA_METHOD *dsam);
 | 
			
		|||
DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam);
 | 
			
		||||
const char *DSA_meth_get0_name(const DSA_METHOD *dsam);
 | 
			
		||||
int DSA_meth_set1_name(DSA_METHOD *dsam, const char *name);
 | 
			
		||||
int DSA_meth_get_flags(DSA_METHOD *dsam);
 | 
			
		||||
int DSA_meth_get_flags(const DSA_METHOD *dsam);
 | 
			
		||||
int DSA_meth_set_flags(DSA_METHOD *dsam, int flags);
 | 
			
		||||
void *DSA_meth_get0_app_data(const DSA_METHOD *dsam);
 | 
			
		||||
int DSA_meth_set0_app_data(DSA_METHOD *dsam, void *app_data);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1505,34 +1505,34 @@ void EVP_PKEY_meth_set_public_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
void EVP_PKEY_meth_set_param_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                   int (*check) (EVP_PKEY *pkey));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_init(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_init(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                            int (**pinit) (EVP_PKEY_CTX *ctx));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_copy(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_copy(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                            int (**pcopy) (EVP_PKEY_CTX *dst,
 | 
			
		||||
                                           EVP_PKEY_CTX *src));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_cleanup(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_cleanup(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               void (**pcleanup) (EVP_PKEY_CTX *ctx));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_paramgen(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_paramgen(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                int (**pparamgen_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                                int (**pparamgen) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                   EVP_PKEY *pkey));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_keygen(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_keygen(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                              int (**pkeygen_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                              int (**pkeygen) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                               EVP_PKEY *pkey));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_sign(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_sign(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                            int (**psign_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                            int (**psign) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                           unsigned char *sig, size_t *siglen,
 | 
			
		||||
                                           const unsigned char *tbs,
 | 
			
		||||
                                           size_t tbslen));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_verify(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_verify(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                              int (**pverify_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                              int (**pverify) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                               const unsigned char *sig,
 | 
			
		||||
| 
						 | 
				
			
			@ -1540,7 +1540,7 @@ void EVP_PKEY_meth_get_verify(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
                                               const unsigned char *tbs,
 | 
			
		||||
                                               size_t tbslen));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_verify_recover(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_verify_recover(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                      int (**pverify_recover_init) (EVP_PKEY_CTX
 | 
			
		||||
                                                                    *ctx),
 | 
			
		||||
                                      int (**pverify_recover) (EVP_PKEY_CTX
 | 
			
		||||
| 
						 | 
				
			
			@ -1552,7 +1552,7 @@ void EVP_PKEY_meth_get_verify_recover(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
                                                               char *tbs,
 | 
			
		||||
                                                               size_t tbslen));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_signctx(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_signctx(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               int (**psignctx_init) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                      EVP_MD_CTX *mctx),
 | 
			
		||||
                               int (**psignctx) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
| 
						 | 
				
			
			@ -1560,7 +1560,7 @@ void EVP_PKEY_meth_get_signctx(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
                                                 size_t *siglen,
 | 
			
		||||
                                                 EVP_MD_CTX *mctx));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_verifyctx(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_verifyctx(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                 int (**pverifyctx_init) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                          EVP_MD_CTX *mctx),
 | 
			
		||||
                                 int (**pverifyctx) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
| 
						 | 
				
			
			@ -1568,7 +1568,7 @@ void EVP_PKEY_meth_get_verifyctx(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
                                                     int siglen,
 | 
			
		||||
                                                     EVP_MD_CTX *mctx));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_encrypt(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_encrypt(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               int (**pencrypt_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                               int (**pencryptfn) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                   unsigned char *out,
 | 
			
		||||
| 
						 | 
				
			
			@ -1576,7 +1576,7 @@ void EVP_PKEY_meth_get_encrypt(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
                                                   const unsigned char *in,
 | 
			
		||||
                                                   size_t inlen));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_decrypt(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_decrypt(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                               int (**pdecrypt_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                               int (**pdecrypt) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                                 unsigned char *out,
 | 
			
		||||
| 
						 | 
				
			
			@ -1584,26 +1584,26 @@ void EVP_PKEY_meth_get_decrypt(EVP_PKEY_METHOD *pmeth,
 | 
			
		|||
                                                 const unsigned char *in,
 | 
			
		||||
                                                 size_t inlen));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_derive(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_derive(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                              int (**pderive_init) (EVP_PKEY_CTX *ctx),
 | 
			
		||||
                              int (**pderive) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                               unsigned char *key,
 | 
			
		||||
                                               size_t *keylen));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_ctrl(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_ctrl(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                            int (**pctrl) (EVP_PKEY_CTX *ctx, int type, int p1,
 | 
			
		||||
                                           void *p2),
 | 
			
		||||
                            int (**pctrl_str) (EVP_PKEY_CTX *ctx,
 | 
			
		||||
                                               const char *type,
 | 
			
		||||
                                               const char *value));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                             int (**pcheck) (EVP_PKEY *pkey));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_public_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_public_check(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                    int (**pcheck) (EVP_PKEY *pkey));
 | 
			
		||||
 | 
			
		||||
void EVP_PKEY_meth_get_param_check(EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
void EVP_PKEY_meth_get_param_check(const EVP_PKEY_METHOD *pmeth,
 | 
			
		||||
                                   int (**pcheck) (EVP_PKEY *pkey));
 | 
			
		||||
 | 
			
		||||
void EVP_add_alg_module(void);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -415,7 +415,7 @@ void RSA_meth_free(RSA_METHOD *meth);
 | 
			
		|||
RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth);
 | 
			
		||||
const char *RSA_meth_get0_name(const RSA_METHOD *meth);
 | 
			
		||||
int RSA_meth_set1_name(RSA_METHOD *meth, const char *name);
 | 
			
		||||
int RSA_meth_get_flags(RSA_METHOD *meth);
 | 
			
		||||
int RSA_meth_get_flags(const RSA_METHOD *meth);
 | 
			
		||||
int RSA_meth_set_flags(RSA_METHOD *meth, int flags);
 | 
			
		||||
void *RSA_meth_get0_app_data(const RSA_METHOD *meth);
 | 
			
		||||
int RSA_meth_set0_app_data(RSA_METHOD *meth, void *app_data);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue