Lines Matching refs:priv_key
400 BIGNUM *priv_key = NULL;
471 if ((priv_key = BN_secure_new()) == NULL)
473 if (bn_wexpand(priv_key, fixed_words) == NULL)
475 BN_set_flags(priv_key, BN_FLG_CONSTTIME);
477 if (!OSSL_PARAM_get_BN(param_priv_key, &priv_key))
481 if (priv_key != NULL
482 && !EC_KEY_set_private_key(ec, priv_key))
493 BN_clear_free(priv_key);
642 if (src->priv_key != NULL
647 ret->priv_key = BN_new();
648 if (ret->priv_key == NULL || !BN_copy(ret->priv_key, src->priv_key))