Searched refs:lws_timingsafe_bcmp (Results 1 – 12 of 12) sorted by relevance
/third_party/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/ |
D | lws-genaes.c | 71 if (lws_timingsafe_bcmp(cbc256_enc, res, 16)) { in test_genaes_cbc() 95 if (lws_timingsafe_bcmp(cbc256, res1, 16)) { in test_genaes_cbc() 161 if (lws_timingsafe_bcmp(cfb128_enc, res, 16)) { in test_genaes_cfb128() 185 if (lws_timingsafe_bcmp(cfb128, res1, 16)) { in test_genaes_cfb128() 251 if (lws_timingsafe_bcmp(cfb8_enc, res, 16)) { in test_genaes_cfb8() 273 if (lws_timingsafe_bcmp(cfb8, res1, 16)) { in test_genaes_cfb8() 342 if (lws_timingsafe_bcmp(ctr_enc, res, 16)) { in test_genaes_ctr() 367 if (lws_timingsafe_bcmp(ctr, res1, 16)) { in test_genaes_ctr() 435 if (lws_timingsafe_bcmp(ecb_enc, res, 16)) { in test_genaes_ecb() 456 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() 845 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ra_ptext_1024, in test_jwe_r256a256_ptext() 1079 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ra_ptext_1024, in test_jwe_r256a128_jwe_openssl() 1170 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ra_ptext_1024, in test_jwe_r256a128_jwe_mbedtls() 1261 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT], ex_a3_ptext, in test_jwe_a3() 1412 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT],jwa_b2_ptext, in test_jwa_b2() 1568 lws_timingsafe_bcmp(jwe.jws.map.buf[LJWE_CTXT],jwa_b3_ptext, in test_jwa_b3() [all …]
|
/third_party/libwebsockets/lib/cose/ |
D | cose_validate_alg.c | 248 res->result = lws_timingsafe_bcmp(digest, cps->mac, in lws_cose_val_alg_destroy()
|
/third_party/libwebsockets/lib/jose/jwe/enc/ |
D | aescbc.c | 227 if (lws_timingsafe_bcmp(digest, jwe->jws.map.buf[LJWE_ATAG], (unsigned int)hlen / 2)) { in lws_jwe_auth_and_decrypt_cbc_hs()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-misc.h | 356 lws_timingsafe_bcmp(const void *a, const void *b, uint32_t len);
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | lws-genaes.c | 152 if (lws_timingsafe_bcmp(ctx->tag, tag, (unsigned int)ctx->taglen)) { in lws_genaes_destroy()
|
/third_party/libwebsockets/plugins/ssh-base/include/ |
D | lws-ssh.h | 575 lws_timingsafe_bcmp(const void *a, const void *b, uint32_t len);
|
/third_party/libwebsockets/test-apps/ |
D | test-sshd.c | 350 if (lws_timingsafe_bcmp(peer, ps, (uint32_t)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 | 781 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], (uint32_t)h_len)) { in lws_jws_sig_confirm()
|