Searched refs:genec_alg (Results 1 – 4 of 4) sorted by relevance
116 switch (ctx->genec_alg) { in lws_genec_keypair_import()162 ctx->genec_alg = LEGENEC_ECDH; in lws_genecdh_create()181 ctx->genec_alg = LEGENEC_ECDSA; in lws_genecdsa_create()197 if (ctx->genec_alg != LEGENEC_ECDH) in lws_genecdh_set_key()207 if (ctx->genec_alg != LEGENEC_ECDSA) in lws_genecdsa_set_key()216 switch (ctx->genec_alg) { in lws_genec_destroy()247 if (ctx->genec_alg != LEGENEC_ECDH) in lws_genecdh_new_keypair()329 if (ctx->genec_alg != LEGENEC_ECDSA) in lws_genecdsa_new_keypair()403 if (ctx->genec_alg != LEGENEC_ECDSA) in lws_genecdsa_hash_sign_jws()464 if (ctx->genec_alg != LEGENEC_ECDSA) in lws_genecdsa_hash_sig_verify_jws()
282 ctx->genec_alg = LEGENEC_ECDH; in lws_genecdh_create()295 ctx->genec_alg = LEGENEC_ECDSA; in lws_genecdsa_create()304 if (ctx->genec_alg != LEGENEC_ECDH) in lws_genecdh_set_key()314 if (ctx->genec_alg != LEGENEC_ECDSA) in lws_genecdsa_set_key()456 if (ctx->genec_alg != LEGENEC_ECDH) in lws_genecdh_new_keypair()466 if (ctx->genec_alg != LEGENEC_ECDSA) in lws_genecdsa_new_keypair()481 if (ctx->genec_alg != LEGENEC_ECDSA)530 if (ctx->genec_alg != LEGENEC_ECDSA) { in lws_genecdsa_hash_sign_jws()531 lwsl_notice("%s: ctx alg %d\n", __func__, ctx->genec_alg); in lws_genecdsa_hash_sign_jws()616 if (ctx->genec_alg != LEGENEC_ECDSA) in lws_genecdsa_hash_sig_verify_jws()
43 enum enum_genec_alg genec_alg; member
879 ctx.genec_alg = LEGENEC_ECDSA; in lws_cose_key_generate()