Lines Matching refs:keymgmt
231 || !EVP_PKEY_set_type_by_keymgmt(pkey, ctx->keymgmt)
232 || (pkey->keydata = evp_keymgmt_newdata(ctx->keymgmt)) == NULL) {
242 * Try to derive the supported exch from |ctx->keymgmt|.
244 if (!ossl_assert(ctx->pkey->keymgmt == NULL
245 || ctx->pkey->keymgmt == ctx->keymgmt)) {
250 supported_exch = evp_keymgmt_util_query_operation_name(ctx->keymgmt,
265 * as |ctx->keymgmt|
267 * We then try to fetch the keymgmt from the same provider as the
268 * exchange, and try to export |ctx->pkey| to that keymgmt (when
269 * this keymgmt happens to be the same as |ctx->keymgmt|, the export
295 tmp_prov = EVP_KEYMGMT_get0_provider(ctx->keymgmt);
308 * export. We start by fetching the keymgmt with the same name as
309 * |ctx->keymgmt|, but from the provider of the exchange method, using
311 * With the keymgmt we found (if we did), we try to export |ctx->pkey|
313 * export it if |tmp_keymgmt| is different from |ctx->pkey|'s keymgmt)
317 EVP_KEYMGMT_get0_name(ctx->keymgmt),
410 * export. We start by fetching the keymgmt with the same name as
411 * |ctx->keymgmt|, but from the provider of the exchange method, using
413 * With the keymgmt we found (if we did), we try to export |peer|
415 * export it if |tmp_keymgmt| is different from |peer|'s keymgmt)
420 EVP_KEYMGMT_get0_name(ctx->keymgmt),