Home
last modified time | relevance | path

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

/external/libwebsockets/lib/jose/jwe/enc/
Daescbc.c32 int n, hlen = lws_genhmac_size(jwe->jose.enc_alg->hmac_type); in lws_jwe_encrypt_cbc_hs()
119 if (lws_genhmac_init(&hmacctx, jwe->jose.enc_alg->hmac_type, in lws_jwe_encrypt_cbc_hs()
165 int n, hlen = lws_genhmac_size(jwe->jose.enc_alg->hmac_type); in lws_jwe_auth_and_decrypt_cbc_hs()
203 if (lws_genhmac_init(&hmacctx, jwe->jose.enc_alg->hmac_type, enc_cek, in lws_jwe_auth_and_decrypt_cbc_hs()
Daeskw.c44 int n, m, hlen = lws_genhmac_size(jwe->jose.enc_alg->hmac_type), in lws_jwe_encrypt_aeskw_cbc_hs()
/external/libwebsockets/lib/jose/jwe/
Djwe.c347 (jwe->jose.enc_alg->hmac_type == LWS_GENHMAC_TYPE_SHA256 || in lws_jwe_auth_and_decrypt()
348 jwe->jose.enc_alg->hmac_type == LWS_GENHMAC_TYPE_SHA384 || in lws_jwe_auth_and_decrypt()
349 jwe->jose.enc_alg->hmac_type == LWS_GENHMAC_TYPE_SHA512); in lws_jwe_auth_and_decrypt()
407 (jwe->jose.enc_alg->hmac_type == LWS_GENHMAC_TYPE_SHA256 || in lws_jwe_encrypt()
408 jwe->jose.enc_alg->hmac_type == LWS_GENHMAC_TYPE_SHA384 || in lws_jwe_encrypt()
409 jwe->jose.enc_alg->hmac_type == LWS_GENHMAC_TYPE_SHA512); in lws_jwe_encrypt()
Djwe-ecdh-es-aeskw.c206 enc_hlen = lws_genhmac_size(jwe->jose.enc_alg->hmac_type), in lws_jwe_encrypt_ecdh()
381 enc_hlen = lws_genhmac_size(jwe->jose.enc_alg->hmac_type); in lws_jwe_encrypt_ecdh_cbc_hs()
458 enc_hlen = lws_genhmac_size(jwe->jose.enc_alg->hmac_type); in lws_jwe_auth_and_decrypt_ecdh()
Djwe-rsa-aescbc.c49 int n, hlen = lws_genhmac_size(jwe->jose.enc_alg->hmac_type), ot = *temp_len; in lws_jwe_encrypt_rsa_aes_cbc_hs()
/external/libwebsockets/include/libwebsockets/
Dlws-jose.h82 enum lws_genhmac_types hmac_type; member
/external/libwebsockets/lib/jose/jws/
Djws.c545 h_len = lws_genhmac_size(jose.alg->hmac_type); in lws_jws_sig_confirm()
549 if (lws_genhmac_init(&ctx, jose.alg->hmac_type, in lws_jws_sig_confirm()
752 jose->alg->hmac_type == LWS_GENHMAC_TYPE_UNKNOWN && in lws_jws_sign_from_b64()
/external/libwebsockets/minimal-examples/api-tests/api-test-jose/
Djws.c179 if (lws_genhmac_init(&ctx, jose.alg->hmac_type, in test_jws_HS256()