Searched refs:ecdsactx (Results 1 – 1 of 1) sorted by relevance
453 struct lws_genec_ctx ecdsactx; in lws_jws_sig_confirm() local634 if (lws_genecdsa_create(&ecdsactx, context, NULL)) { in lws_jws_sig_confirm()640 if (lws_genecdsa_set_key(&ecdsactx, jwk->e)) { in lws_jws_sig_confirm()641 lws_genec_destroy(&ecdsactx); in lws_jws_sig_confirm()646 n = lws_genecdsa_hash_sig_verify_jws(&ecdsactx, digest, in lws_jws_sig_confirm()651 lws_genec_destroy(&ecdsactx); in lws_jws_sig_confirm()746 struct lws_genec_ctx ecdsactx; in lws_jws_sign_from_b64() local837 if (lws_genecdsa_create(&ecdsactx, jws->context, NULL)) { in lws_jws_sign_from_b64()843 if (lws_genecdsa_set_key(&ecdsactx, jws->jwk->e)) { in lws_jws_sign_from_b64()844 lws_genec_destroy(&ecdsactx); in lws_jws_sign_from_b64()[all …]