Searched refs:lws_timingsafe_bcmp (Results 1 – 11 of 11) sorted by relevance
/third_party/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/ |
D | lws-genaes.c | 67 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 …]
|
D | lws-genec.c | 79 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/ |
D | jwe.c | 102 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/ |
D | aescbc.c | 227 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/ |
D | lws-misc.h | 216 lws_timingsafe_bcmp(const void *a, const void *b, uint32_t len);
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | lws-genaes.c | 140 if (lws_timingsafe_bcmp(ctx->tag, tag, ctx->taglen)) { in lws_genaes_destroy()
|
/third_party/libwebsockets/plugins/ssh-base/include/ |
D | lws-ssh.h | 566 lws_timingsafe_bcmp(const void *a, const void *b, uint32_t len);
|
/third_party/libwebsockets/test-apps/ |
D | test-sshd.c | 345 if (lws_timingsafe_bcmp(peer, ps, peer_len)) { in ssh_ops_is_pubkey_authorized()
|
/third_party/libwebsockets/plugins/ssh-base/crypto/ |
D | chacha.c | 325 if (lws_timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN)) { in chachapoly_crypt()
|
/third_party/libwebsockets/lib/core/ |
D | libwebsockets.c | 606 lws_timingsafe_bcmp(const void *a, const void *b, uint32_t len) in lws_timingsafe_bcmp() function
|
/third_party/libwebsockets/lib/jose/jws/ |
D | jws.c | 574 if (lws_timingsafe_bcmp(digest, map->buf[2], h_len)) { in lws_jws_sig_confirm()
|