Lines Matching refs:jose
206 enc_hlen = (int)lws_genhmac_size(jwe->jose.enc_alg->hmac_type), in lws_jwe_encrypt_ecdh()
209 struct lws_jwk *ephem = &jwe->jose.recipient[jwe->recip].jwk_ephemeral; in lws_jwe_encrypt_ecdh()
267 jwe->jose.alg->algtype_crypto == LWS_JOSE_ENCTYPE_NONE, in lws_jwe_encrypt_ecdh()
290 if (jwe->jose.alg->algtype_crypto != LWS_JOSE_ENCTYPE_NONE) { in lws_jwe_encrypt_ecdh()
342 jwe->jose.alg->alg, jwe->jose.enc_alg->alg); in lws_jwe_encrypt_ecdh()
381 enc_hlen = (int)lws_genhmac_size(jwe->jose.enc_alg->hmac_type); in lws_jwe_encrypt_ecdh_cbc_hs()
383 int ekbytes = jwe->jose.alg->keybits_fixed / 8; in lws_jwe_encrypt_ecdh_cbc_hs()
388 if (jwe->jose.alg->algtype_crypto != LWS_JOSE_ENCTYPE_NONE) { in lws_jwe_encrypt_ecdh_cbc_hs()
432 if (ret || jwe->jose.enc_alg->algtype_crypto == LWS_JOSE_ENCTYPE_NONE) { in lws_jwe_encrypt_ecdh_cbc_hs()
457 int ekbytes = jwe->jose.enc_alg->keybits_fixed / 8, in lws_jwe_auth_and_decrypt_ecdh()
458 enc_hlen = (int)lws_genhmac_size(jwe->jose.enc_alg->hmac_type); in lws_jwe_auth_and_decrypt_ecdh()
468 if (jwe->jose.recipient[jwe->recip].jwk_ephemeral.kty != in lws_jwe_auth_and_decrypt_ecdh()
497 jwe->jose.recipient[jwe->recip].jwk_ephemeral.e, in lws_jwe_auth_and_decrypt_ecdh()
525 jwe->jose.alg->algtype_crypto == LWS_JOSE_ENCTYPE_NONE, in lws_jwe_auth_and_decrypt_ecdh()
538 if (jwe->jose.alg->algtype_crypto != LWS_JOSE_ENCTYPE_NONE) { in lws_jwe_auth_and_decrypt_ecdh()