Searched refs:LJWE_IV (Results 1 – 9 of 9) sorted by relevance
/third_party/libwebsockets/lib/jose/jwe/enc/ |
D | aesgcm.c | 70 if (jwe->jws.map.len[LJWE_IV] != LWS_AESGCM_IV) { /* MUST be 96-bit */ in lws_jwe_encrypt_gcm() 72 jwe->jws.map.len[LJWE_IV]); in lws_jwe_encrypt_gcm() 90 (uint8_t *)jwe->jws.map.buf[LJWE_IV], in lws_jwe_encrypt_gcm() 102 (uint8_t *)jwe->jws.map.buf[LJWE_IV], in lws_jwe_encrypt_gcm() 135 if (jwe->jws.map.len[LJWE_IV] != LWS_AESGCM_IV) { /* MUST be 96-bit */ in lws_jwe_auth_and_decrypt_gcm() 137 jwe->jws.map.len[LJWE_IV]); in lws_jwe_auth_and_decrypt_gcm() 154 (uint8_t *)jwe->jws.map.buf[LJWE_IV], in lws_jwe_auth_and_decrypt_gcm() 163 (uint8_t *)jwe->jws.map.buf[LJWE_IV], in lws_jwe_auth_and_decrypt_gcm()
|
D | aescbc.c | 48 if (jwe->jws.map.len[LJWE_IV] != 16) { in lws_jwe_encrypt_cbc_hs() 50 jwe->jws.map.len[LJWE_IV]); in lws_jwe_encrypt_cbc_hs() 72 lws_get_random(jwe->jws.context, (void *)jwe->jws.map.buf[LJWE_IV], 16); in lws_jwe_encrypt_cbc_hs() 99 (uint8_t *)jwe->jws.map.buf[LJWE_IV], in lws_jwe_encrypt_cbc_hs() 138 lws_genhmac_update(&hmacctx, jwe->jws.map.buf[LJWE_IV], in lws_jwe_encrypt_cbc_hs() 180 if (jwe->jws.map.len[LJWE_IV] != 16) { in lws_jwe_auth_and_decrypt_cbc_hs() 182 jwe->jws.map.len[LJWE_IV]); in lws_jwe_auth_and_decrypt_cbc_hs() 210 lws_genhmac_update(&hmacctx, (uint8_t *)jwe->jws.map.buf[LJWE_IV], in lws_jwe_auth_and_decrypt_cbc_hs() 211 jwe->jws.map.len[LJWE_IV]) || in lws_jwe_auth_and_decrypt_cbc_hs() 249 (uint8_t *)jwe->jws.map.buf[LJWE_IV], NULL, NULL, 16); in lws_jwe_auth_and_decrypt_cbc_hs()
|
D | aeskw.c | 67 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_IV, temp + (ot - *temp_len), in lws_jwe_encrypt_aeskw_cbc_hs()
|
/third_party/libwebsockets/lib/jose/jwe/ |
D | jwe.c | 75 m = LJWE_IV; in lws_jwe_json_cb() 512 n = lws_jws_base64_enc(jwe->jws.map.buf[LJWE_IV], in lws_jwe_render_compact() 513 jwe->jws.map.len[LJWE_IV], out, out_len); in lws_jwe_render_compact() 664 LJWE_EKEY, LJWE_AAD, LJWE_IV, LJWE_CTXT, LJWE_ATAG
|
D | jwe-rsa-aesgcm.c | 46 if (lws_jws_randomize_element(jwe->jws.context, &jwe->jws.map, LJWE_IV, in lws_jwe_encrypt_rsa_aes_gcm()
|
D | jwe-rsa-aescbc.c | 76 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_IV, temp + (ot - *temp_len), in lws_jwe_encrypt_rsa_aes_cbc_hs()
|
D | jwe-ecdh-es-aeskw.c | 412 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_IV, in lws_jwe_encrypt_ecdh_cbc_hs()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/ |
D | jwe.c | 1382 jwe.jws.map.buf[LJWE_IV] = (char *)jwa_b2_iv; in test_jwa_b2() 1383 jwe.jws.map.len[LJWE_IV] = sizeof(jwa_b2_iv); in test_jwa_b2() 1538 jwe.jws.map.buf[LJWE_IV] = (char *)jwa_b3_iv; in test_jwa_b3() 1539 jwe.jws.map.len[LJWE_IV] = sizeof(jwa_b3_iv); in test_jwa_b3()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-jws.h | 53 LJWE_IV, enumerator
|