Home
last modified time | relevance | path

Searched refs:lws_jwe (Results 1 – 12 of 12) sorted by relevance

/third_party/libwebsockets/lib/jose/jwe/
Dprivate-lib-jose-jwe.h31 lws_jwe_auth_and_decrypt_rsa_aes_cbc_hs(struct lws_jwe *jwe);
35 lws_jwe_encrypt_rsa_aes_cbc_hs(struct lws_jwe *jwe,
39 lws_jwe_auth_and_decrypt_cbc_hs(struct lws_jwe *jwe, uint8_t *enc_cek,
46 lws_jwe_auth_and_decrypt_gcm(struct lws_jwe *jwe, uint8_t *enc_cek,
50 lws_jwe_auth_and_decrypt_rsa_aes_gcm(struct lws_jwe *jwe);
53 lws_jwe_encrypt_gcm(struct lws_jwe *jwe,
57 lws_jwe_encrypt_rsa_aes_gcm(struct lws_jwe *jwe,
66 lws_jwe_encrypt_aeskw_cbc_hs(struct lws_jwe *jwe,
70 lws_jwe_auth_and_decrypt_aeskw_cbc_hs(struct lws_jwe *jwe);
75 lws_jwe_auth_and_decrypt_cbc_hs(struct lws_jwe *jwe, uint8_t *enc_cek,
[all …]
Djwe.c137 lws_jwe_json_parse(struct lws_jwe *jwe, const uint8_t *buf, int len, in lws_jwe_json_parse()
162 lws_jwe_init(struct lws_jwe *jwe, struct lws_context *context) in lws_jwe_init()
172 lws_jwe_destroy(struct lws_jwe *jwe) in lws_jwe_destroy()
209 lws_jwa_concat_kdf(struct lws_jwe *jwe, int direct, uint8_t *out, in lws_jwa_concat_kdf()
323 lws_jwe_auth_and_decrypt(struct lws_jwe *jwe, char *temp, int *temp_len) in lws_jwe_auth_and_decrypt()
384 lws_jwe_encrypt(struct lws_jwe *jwe, char *temp, int *temp_len) in lws_jwe_encrypt()
478 lws_jwe_render_compact(struct lws_jwe *jwe, char *out, size_t out_len) in lws_jwe_render_compact()
548 lws_jwe_create_packet(struct lws_jwe *jwe, const char *payload, size_t len, in lws_jwe_create_packet()
722 lws_jwe_render_flattened(struct lws_jwe *jwe, char *out, size_t out_len) in lws_jwe_render_flattened()
Djwe-ecdh-es-aeskw.c199 lws_jwe_encrypt_ecdh(struct lws_jwe *jwe, char *temp, int *temp_len, in lws_jwe_encrypt_ecdh()
378 lws_jwe_encrypt_ecdh_cbc_hs(struct lws_jwe *jwe, char *temp, int *temp_len) in lws_jwe_encrypt_ecdh_cbc_hs()
453 lws_jwe_auth_and_decrypt_ecdh(struct lws_jwe *jwe) in lws_jwe_auth_and_decrypt_ecdh()
604 lws_jwe_auth_and_decrypt_ecdh_cbc_hs(struct lws_jwe *jwe, in lws_jwe_auth_and_decrypt_ecdh_cbc_hs()
Djwe-rsa-aescbc.c46 lws_jwe_encrypt_rsa_aes_cbc_hs(struct lws_jwe *jwe, in lws_jwe_encrypt_rsa_aes_cbc_hs()
133 lws_jwe_auth_and_decrypt_rsa_aes_cbc_hs(struct lws_jwe *jwe) in lws_jwe_auth_and_decrypt_rsa_aes_cbc_hs()
Djwe-rsa-aesgcm.c32 lws_jwe_encrypt_rsa_aes_gcm(struct lws_jwe *jwe, char *temp, int *temp_len) in lws_jwe_encrypt_rsa_aes_gcm()
124 lws_jwe_auth_and_decrypt_rsa_aes_gcm(struct lws_jwe *jwe) in lws_jwe_auth_and_decrypt_rsa_aes_gcm()
/third_party/libwebsockets/include/libwebsockets/
Dlws-jwe.h45 struct lws_jwe { struct
61 lws_jwe_init(struct lws_jwe *jwe, struct lws_context *context); argument
64 lws_jwe_destroy(struct lws_jwe *jwe);
80 lws_jwe_render_compact(struct lws_jwe *jwe, char *out, size_t out_len);
83 lws_jwe_render_flattened(struct lws_jwe *jwe, char *out, size_t out_len);
86 lws_jwe_json_parse(struct lws_jwe *jwe, const uint8_t *buf, int len,
113 lws_jwe_auth_and_decrypt(struct lws_jwe *jwe, char *temp, int *temp_len);
129 lws_jwe_encrypt(struct lws_jwe *jwe, char *temp, int *temp_len);
151 lws_jwe_create_packet(struct lws_jwe *jwe,
158 lws_jwe_auth_and_decrypt_cbc_hs(struct lws_jwe *jwe, uint8_t *enc_cek,
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/
Djwe.c72 struct lws_jwe jwe; in test_jwe_a1()
288 struct lws_jwe jwe; in test_jwe_a2()
496 struct lws_jwe jwe; in test_jwe_ra_ptext_1024()
622 struct lws_jwe jwe; in test_jwe_r256a192_ptext()
754 struct lws_jwe jwe; in test_jwe_r256a256_ptext()
1048 struct lws_jwe jwe; in test_jwe_r256a128_jwe_openssl()
1139 struct lws_jwe jwe; in test_jwe_r256a128_jwe_mbedtls()
1230 struct lws_jwe jwe; in test_jwe_a3()
1364 struct lws_jwe jwe; in test_jwa_b2()
1520 struct lws_jwe jwe; in test_jwa_b3()
[all …]
/third_party/libwebsockets/lib/jose/jwe/enc/
Daesgcm.c53 lws_jwe_encrypt_gcm(struct lws_jwe *jwe, in lws_jwe_encrypt_gcm()
117 lws_jwe_auth_and_decrypt_gcm(struct lws_jwe *jwe, in lws_jwe_auth_and_decrypt_gcm()
Daeskw.c38 lws_jwe_encrypt_aeskw_cbc_hs(struct lws_jwe *jwe, char *temp, int *temp_len) in lws_jwe_encrypt_aeskw_cbc_hs()
118 lws_jwe_auth_and_decrypt_aeskw_cbc_hs(struct lws_jwe *jwe) in lws_jwe_auth_and_decrypt_aeskw_cbc_hs()
Daescbc.c29 lws_jwe_encrypt_cbc_hs(struct lws_jwe *jwe, uint8_t *cek, in lws_jwe_encrypt_cbc_hs()
162 lws_jwe_auth_and_decrypt_cbc_hs(struct lws_jwe *jwe, uint8_t *enc_cek, in lws_jwe_auth_and_decrypt_cbc_hs()
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-jwe/
Dmain.c90 struct lws_jwe jwe; in main()
/third_party/libwebsockets/plugins/acme-client/
Dprotocol_lws_acme_client.c218 jws_create_packet(struct lws_jwe *jwe, const char *payload, size_t len, in jws_create_packet()
787 struct lws_jwe jwe; in callback_acme_client()