Searched refs:vecdh (Results 1 – 1 of 1) sorted by relevance
102 int ecdh_init(void *vpecdhctx, void *vecdh, const OSSL_PARAM params[]) in ecdh_init() argument108 || vecdh == NULL in ecdh_init()109 || !EC_KEY_up_ref(vecdh)) in ecdh_init()112 pecdhctx->k = vecdh; in ecdh_init()116 && ossl_ec_check_key(pecdhctx->libctx, vecdh, 1); in ecdh_init()142 int ecdh_set_peer(void *vpecdhctx, void *vecdh) in ecdh_set_peer() argument148 || vecdh == NULL in ecdh_set_peer()149 || !ecdh_match_params(pecdhctx->k, vecdh) in ecdh_set_peer()150 || !ossl_ec_check_key(pecdhctx->libctx, vecdh, 1) in ecdh_set_peer()151 || !EC_KEY_up_ref(vecdh)) in ecdh_set_peer()[all …]
Completed in 19 milliseconds