Home
last modified time | relevance | path

Searched refs:cofactor_mode (Results 1 – 5 of 5) sorted by relevance

/openssl-master/crypto/evp/
A Dec_ctrl.c40 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode) in EVP_PKEY_CTX_set_ecdh_cofactor_mode() argument
55 if (cofactor_mode < -1 || cofactor_mode > 1) { in EVP_PKEY_CTX_set_ecdh_cofactor_mode()
61 &cofactor_mode); in EVP_PKEY_CTX_set_ecdh_cofactor_mode()
/openssl-master/providers/implementations/exchange/
A Decdh_exch.c66 int cofactor_mode; member
95 pectx->cofactor_mode = -1; in ecdh_newctx()
113 pecdhctx->cofactor_mode = -1; in ecdh_init()
250 pectx->cofactor_mode = mode; in ecdh_set_ctx_params()
346 int mode = pectx->cofactor_mode; in ecdh_get_ctx_params()
476 if (pecdhctx->cofactor_mode != -1 in ecdh_plain_derive()
477 && pecdhctx->cofactor_mode != key_cofactor_mode in ecdh_plain_derive()
482 if (pecdhctx->cofactor_mode == 1) in ecdh_plain_derive()
/openssl-master/crypto/ec/
A Dec_pmeth.c35 signed char cofactor_mode; member
56 dctx->cofactor_mode = -1; in pkey_ec_init()
277 if (dctx->cofactor_mode != -1) in pkey_ec_ctrl()
278 return dctx->cofactor_mode; in pkey_ec_ctrl()
285 dctx->cofactor_mode = p1; in pkey_ec_ctrl()
/openssl-master/include/openssl/
A Dec.h33 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode);
/openssl-master/doc/man3/
A DEVP_PKEY_CTX_ctrl.pod165 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode);
580 EVP_PKEY_CTX_set_ecdh_cofactor_mode() sets the cofactor mode to I<cofactor_mode>

Completed in 9 milliseconds