Lines Matching refs:vpecdhctx

104 int ecdh_init(void *vpecdhctx, void *vecdh, const OSSL_PARAM params[])  in ecdh_init()  argument
106 PROV_ECDH_CTX *pecdhctx = (PROV_ECDH_CTX *)vpecdhctx; in ecdh_init()
154 int ecdh_set_peer(void *vpecdhctx, void *vecdh) in ecdh_set_peer() argument
156 PROV_ECDH_CTX *pecdhctx = (PROV_ECDH_CTX *)vpecdhctx; in ecdh_set_peer()
179 void ecdh_freectx(void *vpecdhctx) in ecdh_freectx() argument
181 PROV_ECDH_CTX *pecdhctx = (PROV_ECDH_CTX *)vpecdhctx; in ecdh_freectx()
193 void *ecdh_dupctx(void *vpecdhctx) in ecdh_dupctx() argument
195 PROV_ECDH_CTX *srcctx = (PROV_ECDH_CTX *)vpecdhctx; in ecdh_dupctx()
247 int ecdh_set_ctx_params(void *vpecdhctx, const OSSL_PARAM params[]) in ecdh_set_ctx_params() argument
251 PROV_ECDH_CTX *pectx = (PROV_ECDH_CTX *)vpecdhctx; in ecdh_set_ctx_params()
371 const OSSL_PARAM *ecdh_settable_ctx_params(ossl_unused void *vpecdhctx, in ecdh_settable_ctx_params() argument
378 int ecdh_get_ctx_params(void *vpecdhctx, OSSL_PARAM params[]) in ecdh_get_ctx_params() argument
380 PROV_ECDH_CTX *pectx = (PROV_ECDH_CTX *)vpecdhctx; in ecdh_get_ctx_params()
451 const OSSL_PARAM *ecdh_gettable_ctx_params(ossl_unused void *vpecdhctx, in ecdh_gettable_ctx_params() argument
473 int ecdh_plain_derive(void *vpecdhctx, unsigned char *secret, in ecdh_plain_derive() argument
476 PROV_ECDH_CTX *pecdhctx = (PROV_ECDH_CTX *)vpecdhctx; in ecdh_plain_derive()
579 int ecdh_X9_63_kdf_derive(void *vpecdhctx, unsigned char *secret, in ecdh_X9_63_kdf_derive() argument
582 PROV_ECDH_CTX *pecdhctx = (PROV_ECDH_CTX *)vpecdhctx; in ecdh_X9_63_kdf_derive()
596 if (!ecdh_plain_derive(vpecdhctx, NULL, &stmplen, 0)) in ecdh_X9_63_kdf_derive()
600 if (!ecdh_plain_derive(vpecdhctx, stmp, &stmplen, stmplen)) in ecdh_X9_63_kdf_derive()
620 int ecdh_derive(void *vpecdhctx, unsigned char *secret, in ecdh_derive() argument
623 PROV_ECDH_CTX *pecdhctx = (PROV_ECDH_CTX *)vpecdhctx; in ecdh_derive()
627 return ecdh_plain_derive(vpecdhctx, secret, psecretlen, outlen); in ecdh_derive()
629 return ecdh_X9_63_kdf_derive(vpecdhctx, secret, psecretlen, outlen); in ecdh_derive()