Lines Matching refs:pmeth
361 if (ctx->pmeth == NULL || ctx->pmeth->derive == NULL) { in EVP_PKEY_derive_init_ex()
366 if (ctx->pmeth->derive_init == NULL) in EVP_PKEY_derive_init_ex()
368 ret = ctx->pmeth->derive_init(ctx); in EVP_PKEY_derive_init_ex()
440 if (ctx->pmeth == NULL in EVP_PKEY_derive_set_peer_ex()
441 || !(ctx->pmeth->derive != NULL in EVP_PKEY_derive_set_peer_ex()
442 || ctx->pmeth->encrypt != NULL in EVP_PKEY_derive_set_peer_ex()
443 || ctx->pmeth->decrypt != NULL) in EVP_PKEY_derive_set_peer_ex()
444 || ctx->pmeth->ctrl == NULL) { in EVP_PKEY_derive_set_peer_ex()
455 ret = ctx->pmeth->ctrl(ctx, EVP_PKEY_CTRL_PEER_KEY, 0, peer); in EVP_PKEY_derive_set_peer_ex()
489 ret = ctx->pmeth->ctrl(ctx, EVP_PKEY_CTRL_PEER_KEY, 1, peer); in EVP_PKEY_derive_set_peer_ex()
528 if (ctx->pmeth == NULL || ctx->pmeth->derive == NULL) { in EVP_PKEY_derive()
534 return ctx->pmeth->derive(ctx, key, pkeylen); in EVP_PKEY_derive()