Lines Matching refs:vprsactx
658 static int rsa_sign_init(void *vprsactx, void *vrsa, const OSSL_PARAM params[]) in rsa_sign_init() argument
660 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_sign_init()
830 static int rsa_signverify_message_update(void *vprsactx, in rsa_signverify_message_update() argument
834 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_signverify_message_update()
848 static int rsa_sign_message_final(void *vprsactx, unsigned char *sig, in rsa_sign_message_final() argument
851 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_sign_message_final()
888 static int rsa_sign(void *vprsactx, unsigned char *sig, size_t *siglen, in rsa_sign() argument
891 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_sign()
914 static int rsa_verify_recover_init(void *vprsactx, void *vrsa, in rsa_verify_recover_init() argument
917 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_verify_recover_init()
932 static int rsa_verify_recover(void *vprsactx, in rsa_verify_recover() argument
937 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_verify_recover()
1014 static int rsa_verify_init(void *vprsactx, void *vrsa, in rsa_verify_init() argument
1017 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_verify_init()
1118 static int rsa_verify_set_sig(void *vprsactx, in rsa_verify_set_sig() argument
1121 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_verify_set_sig()
1131 static int rsa_verify_message_final(void *vprsactx) in rsa_verify_message_final() argument
1133 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_verify_message_final()
1165 static int rsa_verify(void *vprsactx, in rsa_verify() argument
1169 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_verify()
1187 static int rsa_digest_signverify_init(void *vprsactx, const char *mdname, in rsa_digest_signverify_init() argument
1191 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_digest_signverify_init()
1227 static int rsa_digest_sign_init(void *vprsactx, const char *mdname, in rsa_digest_sign_init() argument
1232 return rsa_digest_signverify_init(vprsactx, mdname, vrsa, in rsa_digest_sign_init()
1237 static int rsa_digest_sign_update(void *vprsactx, const unsigned char *data, in rsa_digest_sign_update() argument
1240 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_digest_sign_update()
1251 static int rsa_digest_sign_final(void *vprsactx, unsigned char *sig, in rsa_digest_sign_final() argument
1254 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_digest_sign_final()
1271 static int rsa_digest_verify_init(void *vprsactx, const char *mdname, in rsa_digest_verify_init() argument
1276 return rsa_digest_signverify_init(vprsactx, mdname, vrsa, in rsa_digest_verify_init()
1281 static int rsa_digest_verify_update(void *vprsactx, const unsigned char *data, in rsa_digest_verify_update() argument
1284 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_digest_verify_update()
1295 int rsa_digest_verify_final(void *vprsactx, const unsigned char *sig, in rsa_digest_verify_final() argument
1298 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_digest_verify_final()
1308 && rsa_verify_message_final(vprsactx)) in rsa_digest_verify_final()
1316 static void rsa_freectx(void *vprsactx) in rsa_freectx() argument
1318 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_freectx()
1334 static void *rsa_dupctx(void *vprsactx) in rsa_dupctx() argument
1336 PROV_RSA_CTX *srcctx = (PROV_RSA_CTX *)vprsactx; in rsa_dupctx()
1385 static int rsa_get_ctx_params(void *vprsactx, OSSL_PARAM *params) in rsa_get_ctx_params() argument
1387 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_get_ctx_params()
1507 static const OSSL_PARAM *rsa_gettable_ctx_params(ossl_unused void *vprsactx, in rsa_gettable_ctx_params() argument
1532 static int rsa_set_ctx_params(void *vprsactx, const OSSL_PARAM params[]) in rsa_set_ctx_params() argument
1534 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_set_ctx_params()
1811 static const OSSL_PARAM *rsa_settable_ctx_params(void *vprsactx, in rsa_settable_ctx_params() argument
1814 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_settable_ctx_params()
1821 static int rsa_get_ctx_md_params(void *vprsactx, OSSL_PARAM *params) in rsa_get_ctx_md_params() argument
1823 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_get_ctx_md_params()
1831 static const OSSL_PARAM *rsa_gettable_ctx_md_params(void *vprsactx) in rsa_gettable_ctx_md_params() argument
1833 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_gettable_ctx_md_params()
1841 static int rsa_set_ctx_md_params(void *vprsactx, const OSSL_PARAM params[]) in rsa_set_ctx_md_params() argument
1843 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_set_ctx_md_params()
1851 static const OSSL_PARAM *rsa_settable_ctx_md_params(void *vprsactx) in rsa_settable_ctx_md_params() argument
1853 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_settable_ctx_md_params()
1918 static int rsa_sigalg_signverify_init(void *vprsactx, void *vrsa, in rsa_sigalg_signverify_init() argument
1925 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_sigalg_signverify_init()
1976 static const OSSL_PARAM *rsa_sigalg_settable_ctx_params(void *vprsactx, in rsa_sigalg_settable_ctx_params() argument
1979 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_sigalg_settable_ctx_params()
1986 static int rsa_sigalg_set_ctx_params(void *vprsactx, const OSSL_PARAM params[]) in rsa_sigalg_set_ctx_params() argument
1988 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_sigalg_set_ctx_params()
2019 rsa_##md##_sign_init(void *vprsactx, void *vrsa, \
2024 return rsa_sigalg_signverify_init(vprsactx, vrsa, \
2033 rsa_##md##_sign_message_init(void *vprsactx, void *vrsa, \
2038 return rsa_sigalg_signverify_init(vprsactx, vrsa, \
2047 rsa_##md##_verify_init(void *vprsactx, void *vrsa, \
2052 return rsa_sigalg_signverify_init(vprsactx, vrsa, \
2061 rsa_##md##_verify_recover_init(void *vprsactx, void *vrsa, \
2066 return rsa_sigalg_signverify_init(vprsactx, vrsa, \
2075 rsa_##md##_verify_message_init(void *vprsactx, void *vrsa, \
2080 return rsa_sigalg_signverify_init(vprsactx, vrsa, \