Home
last modified time | relevance | path

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

/openssl/crypto/evp/
H 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/providers/implementations/exchange/
H A Decdh_exch.c66 int cofactor_mode; member
96 pectx->cofactor_mode = -1; in ecdh_newctx()
116 pecdhctx->cofactor_mode = -1; in ecdh_init()
279 pectx->cofactor_mode = mode; in ecdh_set_ctx_params()
388 int mode = pectx->cofactor_mode; in ecdh_get_ctx_params()
526 if (pecdhctx->cofactor_mode != -1 in ecdh_plain_derive()
527 && pecdhctx->cofactor_mode != key_cofactor_mode in ecdh_plain_derive()
532 if (pecdhctx->cofactor_mode == 1) { in ecdh_plain_derive()
/openssl/crypto/ec/
H A Dec_pmeth.c35 signed char cofactor_mode; member
54 dctx->cofactor_mode = -1; in pkey_ec_init()
273 if (dctx->cofactor_mode != -1) in pkey_ec_ctrl()
274 return dctx->cofactor_mode; in pkey_ec_ctrl()
281 dctx->cofactor_mode = p1; in pkey_ec_ctrl()
/openssl/include/openssl/
H A Dec.h35 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode);
/openssl/test/
H A Dacvp_test.c361 int cofactor_mode = t->derive_cofactor_mode; in ecdh_cofactor_derive_test() local
387 &cofactor_mode); in ecdh_cofactor_derive_test()
/openssl/doc/man3/
H A DEVP_PKEY_CTX_ctrl.pod165 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode);
597 EVP_PKEY_CTX_set_ecdh_cofactor_mode() sets the cofactor mode to I<cofactor_mode>

Completed in 21 milliseconds