Searched refs:enc_cek (Results 1 – 7 of 7) sorted by relevance
/third_party/libwebsockets/lib/jose/jwe/enc/ |
D | aeskw.c | 42 uint8_t enc_cek[LWS_JWE_LIMIT_KEY_ELEMENT_BYTES + in lws_jwe_encrypt_aeskw_cbc_hs() local 96 jwe->jws.map.len[LJWE_EKEY], enc_cek, NULL, NULL, NULL, in lws_jwe_encrypt_aeskw_cbc_hs() 110 memcpy((uint8_t *)jwe->jws.map.buf[LJWE_EKEY], enc_cek, in lws_jwe_encrypt_aeskw_cbc_hs() 121 uint8_t enc_cek[LWS_JWE_LIMIT_KEY_ELEMENT_BYTES + in lws_jwe_auth_and_decrypt_aeskw_cbc_hs() local 133 if (jwe->jws.map.len[LJWE_EKEY] > sizeof(enc_cek)) in lws_jwe_auth_and_decrypt_aeskw_cbc_hs() 150 jwe->jws.map.len[LJWE_EKEY], enc_cek, NULL, NULL, NULL, in lws_jwe_auth_and_decrypt_aeskw_cbc_hs() 165 n = lws_jwe_auth_and_decrypt_cbc_hs(jwe, enc_cek, in lws_jwe_auth_and_decrypt_aeskw_cbc_hs()
|
D | aesgcm.c | 54 uint8_t *enc_cek, uint8_t *aad, int aad_len) in lws_jwe_encrypt_gcm() argument 77 el.buf = enc_cek; in lws_jwe_encrypt_gcm() 118 uint8_t *enc_cek, uint8_t *aad, int aad_len) in lws_jwe_auth_and_decrypt_gcm() argument 142 el.buf = enc_cek; in lws_jwe_auth_and_decrypt_gcm()
|
D | aescbc.c | 162 lws_jwe_auth_and_decrypt_cbc_hs(struct lws_jwe *jwe, uint8_t *enc_cek, in lws_jwe_auth_and_decrypt_cbc_hs() argument 203 if (lws_genhmac_init(&hmacctx, jwe->jose.enc_alg->hmac_type, enc_cek, in lws_jwe_auth_and_decrypt_cbc_hs() 236 el.buf = enc_cek + (hlen / 2); in lws_jwe_auth_and_decrypt_cbc_hs()
|
/third_party/libwebsockets/lib/jose/jwe/ |
D | private-lib-jose-jwe.h | 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, 54 uint8_t *enc_cek, uint8_t *aad, int aad_len); 75 lws_jwe_auth_and_decrypt_cbc_hs(struct lws_jwe *jwe, uint8_t *enc_cek,
|
D | jwe-rsa-aesgcm.c | 128 uint8_t enc_cek[LWS_JWE_LIMIT_KEY_ELEMENT_BYTES]; in lws_jwe_auth_and_decrypt_rsa_aes_gcm() local 156 jwe->jws.map.len[LJWE_EKEY], enc_cek, in lws_jwe_auth_and_decrypt_rsa_aes_gcm() 157 sizeof(enc_cek)); in lws_jwe_auth_and_decrypt_rsa_aes_gcm() 164 n = lws_jwe_auth_and_decrypt_gcm(jwe, enc_cek, in lws_jwe_auth_and_decrypt_rsa_aes_gcm()
|
D | jwe-rsa-aescbc.c | 137 uint8_t enc_cek[512]; in lws_jwe_auth_and_decrypt_rsa_aes_cbc_hs() local 165 jwe->jws.map.len[LJWE_EKEY], enc_cek, in lws_jwe_auth_and_decrypt_rsa_aes_cbc_hs() 166 sizeof(enc_cek)); in lws_jwe_auth_and_decrypt_rsa_aes_cbc_hs() 173 n = lws_jwe_auth_and_decrypt_cbc_hs(jwe, enc_cek, in lws_jwe_auth_and_decrypt_rsa_aes_cbc_hs()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-jwe.h | 158 lws_jwe_auth_and_decrypt_cbc_hs(struct lws_jwe *jwe, uint8_t *enc_cek,
|