Searched refs:cofactor_mode (Results 1 – 6 of 6) sorted by relevance
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()
66 int cofactor_mode; member96 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()
35 signed char cofactor_mode; member54 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()
35 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode);
361 int cofactor_mode = t->derive_cofactor_mode; in ecdh_cofactor_derive_test() local387 &cofactor_mode); in ecdh_cofactor_derive_test()
165 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 27 milliseconds