Home
last modified time | relevance | path

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

/third_party/libwebsockets/plugins/ssh-base/
Dkex-25519.c206 if (lws_genhash_update(ctx, (uint8_t *)&be, 4)) in _genhash_update_len()
208 if (lws_genhash_update(ctx, input, ilen)) in _genhash_update_len()
246 if (lws_genhash_update(&ctx, kbi, (unsigned int)kbi_len)) in kex_ecdh_dv()
248 if (lws_genhash_update(&ctx, H, LWS_SIZE_SHA256)) in kex_ecdh_dv()
252 if (lws_genhash_update(&ctx, (void *)&c, 1)) in kex_ecdh_dv()
254 if (lws_genhash_update(&ctx, session_id, in kex_ecdh_dv()
258 if (lws_genhash_update(&ctx, pool, LWS_SIZE_EC25519)) in kex_ecdh_dv()
433 if (lws_genhash_update(&ctx, (void *)&be, 4)) in kex_ecdh()
447 if (lws_genhash_update(&ctx, kbi, kbi_len)) in kex_ecdh()
Dsshd.c1224 if (lws_genhash_update(&pss->ua->hash_ctx, ps, lws_ptr_diff_size_t(pp, ps))) { in lws_ssh_parse_plaintext()
/third_party/libwebsockets/lib/jose/jwe/
Djwe.c283 lws_genhash_update(&hash_ctx, be32(ctr++, &t), 4) || in lws_jwa_concat_kdf()
285 lws_genhash_update(&hash_ctx, shared_secret, (unsigned int)sslen) || in lws_jwa_concat_kdf()
287 lws_genhash_update(&hash_ctx, be32((uint32_t)strlen(aid), &t), 4) || in lws_jwa_concat_kdf()
288 lws_genhash_update(&hash_ctx, aid, (unsigned int)aidlen) || in lws_jwa_concat_kdf()
289 lws_genhash_update(&hash_ctx, in lws_jwa_concat_kdf()
291 lws_genhash_update(&hash_ctx, jwe->jose.e[LJJHI_APU].buf, in lws_jwa_concat_kdf()
293 lws_genhash_update(&hash_ctx, in lws_jwa_concat_kdf()
295 lws_genhash_update(&hash_ctx, jwe->jose.e[LJJHI_APV].buf, in lws_jwa_concat_kdf()
297 lws_genhash_update(&hash_ctx, in lws_jwa_concat_kdf()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/
Djws.c498 lws_genhash_update(&hash_ctx, jws.map_b64.buf[LJWS_JOSE], in test_jws_ES256()
500 lws_genhash_update(&hash_ctx, ".", 1) || in test_jws_ES256()
501 lws_genhash_update(&hash_ctx, jws.map_b64.buf[LJWS_PYLD], in test_jws_ES256()
660 lws_genhash_update(&hash_ctx, jws.map_b64.buf[LJWS_JOSE], in test_jws_ES512()
662 lws_genhash_update(&hash_ctx, ".", 1) || in test_jws_ES512()
663 lws_genhash_update(&hash_ctx, jws.map_b64.buf[LJWS_PYLD], in test_jws_ES512()
/third_party/libwebsockets/lib/jose/jws/
Djws.c509 if (lws_genhash_update(&hash_ctx, map_b64->buf[LJWS_JOSE], in lws_jws_sig_confirm()
511 lws_genhash_update(&hash_ctx, ".", 1) || in lws_jws_sig_confirm()
512 lws_genhash_update(&hash_ctx, map_b64->buf[LJWS_PYLD], in lws_jws_sig_confirm()
621 lws_genhash_update(&hash_ctx, map_b64->buf[LJWS_JOSE], in lws_jws_sig_confirm()
623 lws_genhash_update(&hash_ctx, ".", 1) || in lws_jws_sig_confirm()
624 lws_genhash_update(&hash_ctx, map_b64->buf[LJWS_PYLD], in lws_jws_sig_confirm()
758 lws_genhash_update(&hash_ctx, jws->map_b64.buf[LJWS_JOSE], in lws_jws_sign_from_b64()
760 lws_genhash_update(&hash_ctx, ".", 1) || in lws_jws_sign_from_b64()
761 lws_genhash_update(&hash_ctx, jws->map_b64.buf[LJWS_PYLD], in lws_jws_sign_from_b64()
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genhash.c90 lws_genhash_update(struct lws_genhash_ctx *ctx, const void *in, size_t len) in lws_genhash_update() function
195 lws_genhash_update(struct lws_genhash_ctx *ctx, const void *in, size_t len) in lws_genhash_update() function
Dmbedtls-server.c531 if (lws_genhash_update(&hash_ctx, buf, lws_ptr_diff_size_t(p, buf))) { in lws_tls_acme_sni_cert_create()
/third_party/libwebsockets/include/libwebsockets/
Dlws-genhash.h131 lws_genhash_update(struct lws_genhash_ctx *ctx, const void *in, size_t len);
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-sigv4/
Dss-s3-ss.c123 lws_genhash_update(&hash_ctx, in sigv4_sha256hash_payload()
/third_party/libwebsockets/plugins/ssh-base/crypto/
Ded25519.c26 ret = lws_genhash_update(&ctx, data, len); in crypto_hash_sha512()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genhash.c73 lws_genhash_update(struct lws_genhash_ctx *ctx, const void *in, size_t len) in lws_genhash_update() function
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/
Dsign.c178 if ((ret = lws_genhash_update(ctx, (void *)str, strlen(str)-1))) { in hash_update_bite_str()
188 if ((ret = lws_genhash_update(ctx, (void *)str, strlen(str)))) { in hash_update_str()
/third_party/libwebsockets/lib/cose/
Dcose_sign_alg.c186 return lws_genhash_update(&alg->hash_ctx, in, in_len); in lws_cose_sign_alg_hash()
Dcose_validate_alg.c184 return lws_genhash_update(&alg->hash_ctx, in, in_len); in lws_cose_val_alg_hash()
/third_party/libwebsockets/lib/jose/jwk/
Djwk.c267 if (lws_genhash_update(&hash_ctx, tmp, (unsigned int)n)) { in lws_jwk_rfc7638_fingerprint()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-blob/
Dminimal-secure-streams.c233 if (lws_genhash_update(&m->hash_ctx, buf, len)) in myss_rx()