Home
last modified time | relevance | path

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

/external/libwebsockets/lib/jose/jwe/
Djwe-ecdh-es-aeskw.c206 enc_hlen = lws_genhmac_size(jwe->jose.enc_alg->hmac_type), in lws_jwe_encrypt_ecdh() local
275 if (ss_len < enc_hlen) { in lws_jwe_encrypt_ecdh()
296 if (lws_get_random(jwe->jws.context, cek, enc_hlen) != in lws_jwe_encrypt_ecdh()
297 (size_t)enc_hlen) { in lws_jwe_encrypt_ecdh()
305 el.len = enc_hlen / 2; in lws_jwe_encrypt_ecdh()
316 n = lws_genaes_crypt(&aesctx, cek, enc_hlen, in lws_jwe_encrypt_ecdh()
329 jwe->jws.map.len[LJWE_EKEY] = enc_hlen + 8; in lws_jwe_encrypt_ecdh()
334 memcpy(cek, derived, enc_hlen); in lws_jwe_encrypt_ecdh()
365 ret = enc_hlen; in lws_jwe_encrypt_ecdh()
381 enc_hlen = lws_genhmac_size(jwe->jose.enc_alg->hmac_type); in lws_jwe_encrypt_ecdh_cbc_hs() local
[all …]