Home
last modified time | relevance | path

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

/third_party/openssl/providers/implementations/exchange/
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()
/third_party/node/deps/openssl/openssl/providers/implementations/exchange/
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()
/third_party/node/deps/openssl/openssl/crypto/evp/
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()
/third_party/openssl/crypto/evp/
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()
/third_party/node/deps/openssl/openssl/crypto/ec/
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()
/third_party/openssl/crypto/ec/
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()
/third_party/openssl/include/openssl/
Dec.h35 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode);
/third_party/node/deps/openssl/openssl/include/openssl/
Dec.h35 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode);
/third_party/openssl/doc/man3/
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>