Home
last modified time | relevance | path

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

/third_party/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/
Dlws-genaes.c67 if (lws_timingsafe_bcmp(cbc256_enc, res, 16)) { in test_genaes_cbc()
91 if (lws_timingsafe_bcmp(cbc256, res1, 16)) { in test_genaes_cbc()
154 if (lws_timingsafe_bcmp(cfb128_enc, res, 16)) { in test_genaes_cfb128()
178 if (lws_timingsafe_bcmp(cfb128, res1, 16)) { in test_genaes_cfb128()
240 if (lws_timingsafe_bcmp(cfb8_enc, res, 16)) { in test_genaes_cfb8()
262 if (lws_timingsafe_bcmp(cfb8, res1, 16)) { in test_genaes_cfb8()
328 if (lws_timingsafe_bcmp(ctr_enc, res, 16)) { in test_genaes_ctr()
353 if (lws_timingsafe_bcmp(ctr, res1, 16)) { in test_genaes_ctr()
418 if (lws_timingsafe_bcmp(ecb_enc, res, 16)) { in test_genaes_ecb()
439 if (lws_timingsafe_bcmp(ecb, res1, 16)) { in test_genaes_ecb()
[all …]
Dlws-genec.c79 if (lws_timingsafe_bcmp(cbc256_enc, res, 16)) { in test_genec1()
98 if (lws_timingsafe_bcmp(cbc256, res1, 16)) { in test_genec1()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/
Djwe.c102 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ex_a1_ptext, in test_jwe_a1()
319 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ex_a2_ptext, in test_jwe_a2()
584 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ra_ptext_1024, in test_jwe_ra_ptext_1024()
713 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ra_ptext_1024, in test_jwe_r256a192_ptext()
844 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ra_ptext_1024, in test_jwe_r256a256_ptext()
1078 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ra_ptext_1024, in test_jwe_r256a128_jwe_openssl()
1169 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ra_ptext_1024, in test_jwe_r256a128_jwe_mbedtls()
1260 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ex_a3_ptext, in test_jwe_a3()
1411 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT],jwa_b2_ptext, in test_jwa_b2()
1567 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT],jwa_b3_ptext, in test_jwa_b3()
[all …]
/third_party/libwebsockets/lib/jose/jwe/enc/
Daescbc.c227 if (lws_timingsafe_bcmp(digest, jwe->jws.map.buf[LJWE_ATAG], hlen / 2)) { in lws_jwe_auth_and_decrypt_cbc_hs()
/third_party/libwebsockets/include/libwebsockets/
Dlws-misc.h216 lws_timingsafe_bcmp(const void *a, const void *b, uint32_t len);
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genaes.c140 if (lws_timingsafe_bcmp(ctx->tag, tag, ctx->taglen)) { in lws_genaes_destroy()
/third_party/libwebsockets/plugins/ssh-base/include/
Dlws-ssh.h566 lws_timingsafe_bcmp(const void *a, const void *b, uint32_t len);
/third_party/libwebsockets/test-apps/
Dtest-sshd.c345 if (lws_timingsafe_bcmp(peer, ps, peer_len)) { in ssh_ops_is_pubkey_authorized()
/third_party/libwebsockets/plugins/ssh-base/crypto/
Dchacha.c325 if (lws_timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN)) { in chachapoly_crypt()
/third_party/libwebsockets/lib/core/
Dlibwebsockets.c606 lws_timingsafe_bcmp(const void *a, const void *b, uint32_t len) in lws_timingsafe_bcmp() function
/third_party/libwebsockets/lib/jose/jws/
Djws.c574 if (lws_timingsafe_bcmp(digest, map->buf[2], h_len)) { in lws_jws_sig_confirm()