Lines Matching refs:jose
125 if (lws_gencrypto_jwe_alg_to_definition("RSA-OAEP", &jwe.jose.alg)) { in test_jwe_a1()
129 if (lws_gencrypto_jwe_enc_to_definition("A256GCM", &jwe.jose.enc_alg)) { in test_jwe_a1()
155 n = lws_gencrypto_bits_to_bytes(jwe.jose.enc_alg->keybits_fixed); in test_jwe_a1()
532 n = lws_jwe_parse_jose(&jwe.jose, jwe.jws.map.buf[LJWE_JOSE], in test_jwe_ra_ptext_1024()
662 n = lws_jwe_parse_jose(&jwe.jose, jwe.jws.map.buf[LJWE_JOSE], in test_jwe_r256a192_ptext()
794 n = lws_jwe_parse_jose(&jwe.jose, rsa256a256_jose, in test_jwe_r256a256_ptext()
1396 if (lws_gencrypto_jwe_alg_to_definition("A128KW", &jwe.jose.alg)) in test_jwa_b2()
1399 &jwe.jose.enc_alg)) in test_jwa_b2()
1552 if (lws_gencrypto_jwe_alg_to_definition("A128KW", &jwe.jose.alg)) in test_jwa_b3()
1555 &jwe.jose.enc_alg)) in test_jwa_b3()
1653 if (lws_jwe_parse_jose(&jwe.jose, ex_jwa_c_jose, (int)strlen(ex_jwa_c_jose), in test_jwa_c()
1801 if (lws_jwe_parse_jose(&jwe.jose, jose_hdr, (int)strlen(jose_hdr), in test_ecdhes_t1()
2033 if (lws_gencrypto_jwe_alg_to_definition(alg, &jwe.jose.alg)) { in test_akw_encrypt()
2037 if (lws_gencrypto_jwe_enc_to_definition(enc, &jwe.jose.enc_alg)) { in test_akw_encrypt()
2065 n = lws_gencrypto_bits_to_bytes(jwe.jose.enc_alg->keybits_fixed); in test_akw_encrypt()
2145 if (lws_jwe_parse_jose(&jwe.jose, complete, (int)strlen(complete), in test_jwe_json_complete()
2152 if (jwe.jose.recipients != 2) { in test_jwe_json_complete()
2154 jwe.jose.recipients); in test_jwe_json_complete()