Home
last modified time | relevance | path

Searched refs:pmeth (Results 1 – 7 of 7) sorted by relevance

/external/openssl/crypto/evp/
Dpmeth_lib.c97 pmeth);
106 pmeth);
130 const EVP_PKEY_METHOD *pmeth; in int_ctx_new() local
157 pmeth = ENGINE_get_pkey_meth(e, id); in int_ctx_new()
160 pmeth = EVP_PKEY_meth_find(id); in int_ctx_new()
162 if (pmeth == NULL) in int_ctx_new()
179 ret->pmeth = pmeth; in int_ctx_new()
188 if (pmeth->init) in int_ctx_new()
190 if (pmeth->init(ret) <= 0) in int_ctx_new()
202 EVP_PKEY_METHOD *pmeth; in EVP_PKEY_meth_new() local
[all …]
Dpmeth_fn.c67 if (ctx->pmeth->flags & EVP_PKEY_FLAG_AUTOARGLEN) \
85 if (!ctx || !ctx->pmeth || !ctx->pmeth->sign) in EVP_PKEY_sign_init()
92 if (!ctx->pmeth->sign_init) in EVP_PKEY_sign_init()
94 ret = ctx->pmeth->sign_init(ctx); in EVP_PKEY_sign_init()
104 if (!ctx || !ctx->pmeth || !ctx->pmeth->sign) in EVP_PKEY_sign()
116 return ctx->pmeth->sign(ctx, sig, siglen, tbs, tbslen); in EVP_PKEY_sign()
122 if (!ctx || !ctx->pmeth || !ctx->pmeth->verify) in EVP_PKEY_verify_init()
129 if (!ctx->pmeth->verify_init) in EVP_PKEY_verify_init()
131 ret = ctx->pmeth->verify_init(ctx); in EVP_PKEY_verify_init()
141 if (!ctx || !ctx->pmeth || !ctx->pmeth->verify) in EVP_PKEY_verify()
[all …]
Dpmeth_gn.c70 if (!ctx || !ctx->pmeth || !ctx->pmeth->paramgen) in EVP_PKEY_paramgen_init()
77 if (!ctx->pmeth->paramgen_init) in EVP_PKEY_paramgen_init()
79 ret = ctx->pmeth->paramgen_init(ctx); in EVP_PKEY_paramgen_init()
88 if (!ctx || !ctx->pmeth || !ctx->pmeth->paramgen) in EVP_PKEY_paramgen()
107 ret = ctx->pmeth->paramgen(ctx, *ppkey); in EVP_PKEY_paramgen()
119 if (!ctx || !ctx->pmeth || !ctx->pmeth->keygen) in EVP_PKEY_keygen_init()
126 if (!ctx->pmeth->keygen_init) in EVP_PKEY_keygen_init()
128 ret = ctx->pmeth->keygen_init(ctx); in EVP_PKEY_keygen_init()
138 if (!ctx || !ctx->pmeth || !ctx->pmeth->keygen) in EVP_PKEY_keygen()
156 ret = ctx->pmeth->keygen(ctx, *ppkey); in EVP_PKEY_keygen()
Dm_sigver.c90 if (ctx->pctx->pmeth->verifyctx_init) in do_sigver_init()
92 if (ctx->pctx->pmeth->verifyctx_init(ctx->pctx, ctx) <=0) in do_sigver_init()
101 if (ctx->pctx->pmeth->signctx_init) in do_sigver_init()
103 if (ctx->pctx->pmeth->signctx_init(ctx->pctx, ctx) <= 0) in do_sigver_init()
134 if (ctx->pctx->pmeth->signctx) in EVP_DigestSignFinal()
147 r = tmp_ctx.pctx->pmeth->signctx(tmp_ctx.pctx, in EVP_DigestSignFinal()
161 if (ctx->pctx->pmeth->signctx(ctx->pctx, sigret, siglen, ctx) <= 0) in EVP_DigestSignFinal()
182 if (ctx->pctx->pmeth->verifyctx) in EVP_DigestVerifyFinal()
191 r = tmp_ctx.pctx->pmeth->verifyctx(tmp_ctx.pctx, in EVP_DigestVerifyFinal()
Devp.h1119 void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth);
1120 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth);
1184 void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth,
1187 void EVP_PKEY_meth_set_copy(EVP_PKEY_METHOD *pmeth,
1190 void EVP_PKEY_meth_set_cleanup(EVP_PKEY_METHOD *pmeth,
1193 void EVP_PKEY_meth_set_paramgen(EVP_PKEY_METHOD *pmeth,
1197 void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth,
1201 void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth,
1206 void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth,
1211 void EVP_PKEY_meth_set_verify_recover(EVP_PKEY_METHOD *pmeth,
[all …]
Devp_locl.h269 const EVP_PKEY_METHOD *pmeth; member
/external/openssl/include/openssl/
Devp.h1119 void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth);
1120 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth);
1184 void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth,
1187 void EVP_PKEY_meth_set_copy(EVP_PKEY_METHOD *pmeth,
1190 void EVP_PKEY_meth_set_cleanup(EVP_PKEY_METHOD *pmeth,
1193 void EVP_PKEY_meth_set_paramgen(EVP_PKEY_METHOD *pmeth,
1197 void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth,
1201 void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth,
1206 void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth,
1211 void EVP_PKEY_meth_set_verify_recover(EVP_PKEY_METHOD *pmeth,
[all …]