Lines Matching refs:vprsactx

386 static int rsa_signverify_init(void *vprsactx, void *vrsa,  in rsa_signverify_init()  argument
389 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_signverify_init()
507 static int rsa_sign_init(void *vprsactx, void *vrsa, const OSSL_PARAM params[]) in rsa_sign_init() argument
511 return rsa_signverify_init(vprsactx, vrsa, params, EVP_PKEY_OP_SIGN); in rsa_sign_init()
514 static int rsa_sign(void *vprsactx, unsigned char *sig, size_t *siglen, in rsa_sign() argument
517 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_sign()
660 static int rsa_verify_recover_init(void *vprsactx, void *vrsa, in rsa_verify_recover_init() argument
665 return rsa_signverify_init(vprsactx, vrsa, params, in rsa_verify_recover_init()
669 static int rsa_verify_recover(void *vprsactx, in rsa_verify_recover() argument
676 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_verify_recover()
753 static int rsa_verify_init(void *vprsactx, void *vrsa, in rsa_verify_init() argument
758 return rsa_signverify_init(vprsactx, vrsa, params, EVP_PKEY_OP_VERIFY); in rsa_verify_init()
761 static int rsa_verify(void *vprsactx, const unsigned char *sig, size_t siglen, in rsa_verify() argument
764 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_verify()
845 static int rsa_digest_signverify_init(void *vprsactx, const char *mdname, in rsa_digest_signverify_init() argument
849 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_digest_signverify_init()
854 if (!rsa_signverify_init(vprsactx, vrsa, params, operation)) in rsa_digest_signverify_init()
882 static int rsa_digest_signverify_update(void *vprsactx, in rsa_digest_signverify_update() argument
886 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_digest_signverify_update()
894 static int rsa_digest_sign_init(void *vprsactx, const char *mdname, in rsa_digest_sign_init() argument
899 return rsa_digest_signverify_init(vprsactx, mdname, vrsa, in rsa_digest_sign_init()
903 static int rsa_digest_sign_final(void *vprsactx, unsigned char *sig, in rsa_digest_sign_final() argument
906 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_digest_sign_final()
928 return rsa_sign(vprsactx, sig, siglen, sigsize, digest, (size_t)dlen); in rsa_digest_sign_final()
931 static int rsa_digest_verify_init(void *vprsactx, const char *mdname, in rsa_digest_verify_init() argument
936 return rsa_digest_signverify_init(vprsactx, mdname, vrsa, in rsa_digest_verify_init()
940 int rsa_digest_verify_final(void *vprsactx, const unsigned char *sig, in rsa_digest_verify_final() argument
943 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_digest_verify_final()
963 return rsa_verify(vprsactx, sig, siglen, digest, (size_t)dlen); in rsa_digest_verify_final()
966 static void rsa_freectx(void *vprsactx) in rsa_freectx() argument
968 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_freectx()
983 static void *rsa_dupctx(void *vprsactx) in rsa_dupctx() argument
985 PROV_RSA_CTX *srcctx = (PROV_RSA_CTX *)vprsactx; in rsa_dupctx()
1036 static int rsa_get_ctx_params(void *vprsactx, OSSL_PARAM *params) in rsa_get_ctx_params() argument
1038 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_get_ctx_params()
1143 static const OSSL_PARAM *rsa_gettable_ctx_params(ossl_unused void *vprsactx, in rsa_gettable_ctx_params() argument
1149 static int rsa_set_ctx_params(void *vprsactx, const OSSL_PARAM params[]) in rsa_set_ctx_params() argument
1151 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_set_ctx_params()
1389 static const OSSL_PARAM *rsa_settable_ctx_params(void *vprsactx, in rsa_settable_ctx_params() argument
1392 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_settable_ctx_params()
1399 static int rsa_get_ctx_md_params(void *vprsactx, OSSL_PARAM *params) in rsa_get_ctx_md_params() argument
1401 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_get_ctx_md_params()
1409 static const OSSL_PARAM *rsa_gettable_ctx_md_params(void *vprsactx) in rsa_gettable_ctx_md_params() argument
1411 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_gettable_ctx_md_params()
1419 static int rsa_set_ctx_md_params(void *vprsactx, const OSSL_PARAM params[]) in rsa_set_ctx_md_params() argument
1421 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_set_ctx_md_params()
1429 static const OSSL_PARAM *rsa_settable_ctx_md_params(void *vprsactx) in rsa_settable_ctx_md_params() argument
1431 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_settable_ctx_md_params()