Searched refs:cofactor_mode (Results 1 – 9 of 9) sorted by relevance
66 int cofactor_mode; member95 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()
40 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode) in EVP_PKEY_CTX_set_ecdh_cofactor_mode() argument55 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()
35 signed char cofactor_mode; member56 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()
35 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode);
165 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>