• Home
  • Raw
  • Download

Lines Matching refs:pmeth

67 	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()
152 return ctx->pmeth->verify(ctx, sig, siglen, tbs, tbslen); in EVP_PKEY_verify()
158 if (!ctx || !ctx->pmeth || !ctx->pmeth->verify_recover) in EVP_PKEY_verify_recover_init()
165 if (!ctx->pmeth->verify_recover_init) in EVP_PKEY_verify_recover_init()
167 ret = ctx->pmeth->verify_recover_init(ctx); in EVP_PKEY_verify_recover_init()
177 if (!ctx || !ctx->pmeth || !ctx->pmeth->verify_recover) in EVP_PKEY_verify_recover()
189 return ctx->pmeth->verify_recover(ctx, rout, routlen, sig, siglen); in EVP_PKEY_verify_recover()
195 if (!ctx || !ctx->pmeth || !ctx->pmeth->encrypt) in EVP_PKEY_encrypt_init()
202 if (!ctx->pmeth->encrypt_init) in EVP_PKEY_encrypt_init()
204 ret = ctx->pmeth->encrypt_init(ctx); in EVP_PKEY_encrypt_init()
214 if (!ctx || !ctx->pmeth || !ctx->pmeth->encrypt) in EVP_PKEY_encrypt()
226 return ctx->pmeth->encrypt(ctx, out, outlen, in, inlen); in EVP_PKEY_encrypt()
232 if (!ctx || !ctx->pmeth || !ctx->pmeth->decrypt) in EVP_PKEY_decrypt_init()
239 if (!ctx->pmeth->decrypt_init) in EVP_PKEY_decrypt_init()
241 ret = ctx->pmeth->decrypt_init(ctx); in EVP_PKEY_decrypt_init()
251 if (!ctx || !ctx->pmeth || !ctx->pmeth->decrypt) in EVP_PKEY_decrypt()
263 return ctx->pmeth->decrypt(ctx, out, outlen, in, inlen); in EVP_PKEY_decrypt()
270 if (!ctx || !ctx->pmeth || !ctx->pmeth->derive) in EVP_PKEY_derive_init()
277 if (!ctx->pmeth->derive_init) in EVP_PKEY_derive_init()
279 ret = ctx->pmeth->derive_init(ctx); in EVP_PKEY_derive_init()
288 …if (!ctx || !ctx->pmeth || !(ctx->pmeth->derive||ctx->pmeth->encrypt||ctx->pmeth->decrypt) || !ctx… in EVP_PKEY_derive_set_peer()
301 ret = ctx->pmeth->ctrl(ctx, EVP_PKEY_CTRL_PEER_KEY, 0, peer); in EVP_PKEY_derive_set_peer()
339 ret = ctx->pmeth->ctrl(ctx, EVP_PKEY_CTRL_PEER_KEY, 1, peer); in EVP_PKEY_derive_set_peer()
354 if (!ctx || !ctx->pmeth || !ctx->pmeth->derive) in EVP_PKEY_derive()
366 return ctx->pmeth->derive(ctx, key, pkeylen); in EVP_PKEY_derive()