Searched refs:LJWE_ATAG (Results 1 – 9 of 9) sorted by relevance
/third_party/libwebsockets/lib/jose/jwe/enc/ |
D | aesgcm.c | 64 if (jwe->jws.map.len[LJWE_ATAG] != LWS_AESGCM_TAG) { in lws_jwe_encrypt_gcm() 66 __func__, jwe->jws.map.len[LJWE_ATAG]); in lws_jwe_encrypt_gcm() 91 (uint8_t *)jwe->jws.map.buf[LJWE_ATAG], &ivs, in lws_jwe_encrypt_gcm() 106 n |= lws_genaes_destroy(&aesctx, (uint8_t *)jwe->jws.map.buf[LJWE_ATAG], in lws_jwe_encrypt_gcm() 129 if (jwe->jws.map.len[LJWE_ATAG] != LWS_AESGCM_TAG) { in lws_jwe_auth_and_decrypt_gcm() 131 __func__, jwe->jws.map.len[LJWE_ATAG]); in lws_jwe_auth_and_decrypt_gcm() 155 (uint8_t *)jwe->jws.map.buf[LJWE_ATAG], &ivs, 16); in lws_jwe_auth_and_decrypt_gcm() 164 (uint8_t *)jwe->jws.map.buf[LJWE_ATAG], &ivs, 16); in lws_jwe_auth_and_decrypt_gcm()
|
D | aescbc.c | 42 if (jwe->jws.map.len[LJWE_ATAG] != (unsigned int)hlen / 2) { in lws_jwe_encrypt_cbc_hs() 44 hlen / 2, jwe->jws.map.len[LJWE_ATAG]); in lws_jwe_encrypt_cbc_hs() 156 memcpy((void *)jwe->jws.map.buf[LJWE_ATAG], digest, (unsigned int)hlen / 2); in lws_jwe_encrypt_cbc_hs() 174 if (jwe->jws.map.len[LJWE_ATAG] != (unsigned int)hlen / 2) { in lws_jwe_auth_and_decrypt_cbc_hs() 176 hlen / 2, jwe->jws.map.len[LJWE_ATAG]); in lws_jwe_auth_and_decrypt_cbc_hs() 227 if (lws_timingsafe_bcmp(digest, jwe->jws.map.buf[LJWE_ATAG], (unsigned int)hlen / 2)) { in lws_jwe_auth_and_decrypt_cbc_hs() 229 __func__, hlen / 2, jwe->jws.map.len[LJWE_ATAG]); in lws_jwe_auth_and_decrypt_cbc_hs() 230 lwsl_hexdump_notice(jwe->jws.map.buf[LJWE_ATAG], (unsigned int)hlen / 2); in lws_jwe_auth_and_decrypt_cbc_hs()
|
D | aeskw.c | 63 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_ATAG, temp + (ot - *temp_len), in lws_jwe_encrypt_aeskw_cbc_hs()
|
/third_party/libwebsockets/lib/jose/jwe/ |
D | jwe.c | 81 m = LJWE_ATAG; in lws_jwe_json_cb() 533 n = lws_jws_base64_enc(jwe->jws.map.buf[LJWE_ATAG], in lws_jwe_render_compact() 534 jwe->jws.map.len[LJWE_ATAG], out, out_len); in lws_jwe_render_compact() 664 LJWE_EKEY, LJWE_AAD, LJWE_IV, LJWE_CTXT, LJWE_ATAG
|
D | jwe-rsa-aesgcm.c | 51 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_ATAG, in lws_jwe_encrypt_rsa_aes_gcm()
|
D | jwe-rsa-aescbc.c | 72 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_ATAG, temp + (ot - *temp_len), in lws_jwe_encrypt_rsa_aes_cbc_hs()
|
D | jwe-ecdh-es-aeskw.c | 407 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_ATAG, in lws_jwe_encrypt_ecdh_cbc_hs()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/ |
D | jwe.c | 1388 jwe.jws.map.buf[LJWE_ATAG] = (char *)jwa_b2_tag; in test_jwa_b2() 1389 jwe.jws.map.len[LJWE_ATAG] = sizeof(jwa_b2_tag); in test_jwa_b2() 1544 jwe.jws.map.buf[LJWE_ATAG] = (char *)jws_b3_tag; in test_jwa_b3() 1545 jwe.jws.map.len[LJWE_ATAG] = sizeof(jws_b3_tag); in test_jwa_b3()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-jws.h | 55 LJWE_ATAG, enumerator
|