Lines Matching refs:meth
531 RSA_meth_free(RSA_METHOD *meth) in RSA_meth_free() argument
533 if (meth != NULL) { in RSA_meth_free()
534 free((char *)meth->name); in RSA_meth_free()
535 free(meth); in RSA_meth_free()
542 RSA_meth_dup(const RSA_METHOD *meth) in RSA_meth_dup() argument
548 memcpy(copy, meth, sizeof(*copy)); in RSA_meth_dup()
549 if ((copy->name = strdup(meth->name)) == NULL) { in RSA_meth_dup()
560 RSA_meth_set1_name(RSA_METHOD *meth, const char *name) in RSA_meth_set1_name() argument
566 free((char *)meth->name); in RSA_meth_set1_name()
567 meth->name = copy; in RSA_meth_set1_name()
574 (*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa) in RSA_meth_get_finish() argument
576 return meth->finish; in RSA_meth_get_finish()
582 RSA_meth_set_priv_enc(RSA_METHOD *meth, int (*priv_enc)(int flen, in RSA_meth_set_priv_enc() argument
585 meth->rsa_priv_enc = priv_enc; in RSA_meth_set_priv_enc()
592 RSA_meth_set_priv_dec(RSA_METHOD *meth, int (*priv_dec)(int flen, in RSA_meth_set_priv_dec() argument
595 meth->rsa_priv_dec = priv_dec; in RSA_meth_set_priv_dec()
602 RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa)) in RSA_meth_set_finish() argument
604 meth->finish = finish; in RSA_meth_set_finish()