Searched refs:hmac_type (Results 1 – 8 of 8) sorted by relevance
/external/libwebsockets/lib/jose/jwe/enc/ |
D | aescbc.c | 32 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()
|
D | aeskw.c | 44 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/ |
D | jwe.c | 347 (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()
|
D | jwe-ecdh-es-aeskw.c | 206 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()
|
D | jwe-rsa-aescbc.c | 49 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/ |
D | lws-jose.h | 82 enum lws_genhmac_types hmac_type; member
|
/external/libwebsockets/lib/jose/jws/ |
D | jws.c | 545 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/ |
D | jws.c | 179 if (lws_genhmac_init(&ctx, jose.alg->hmac_type, in test_jws_HS256()
|