Searched refs:vecdh (Results 1 – 1 of 1) sorted by relevance
104 int ecdh_init(void *vpecdhctx, void *vecdh, const OSSL_PARAM params[]) in ecdh_init() argument110 || vecdh == NULL in ecdh_init()111 || (EC_KEY_get0_group(vecdh) == NULL) in ecdh_init()112 || !EC_KEY_up_ref(vecdh)) in ecdh_init()115 pecdhctx->k = vecdh; in ecdh_init()125 EC_KEY_get0_group(vecdh), "ECDH Init", 1)) in ecdh_init()154 int ecdh_set_peer(void *vpecdhctx, void *vecdh) in ecdh_set_peer() argument160 || vecdh == NULL in ecdh_set_peer()161 || !ecdh_match_params(pecdhctx->k, vecdh)) in ecdh_set_peer()170 if (!EC_KEY_up_ref(vecdh)) in ecdh_set_peer()[all …]
Completed in 4 milliseconds