/third_party/openssl/test/ |
D | siphash_internal_test.c | 177 size_t expectedlen = test.expected.size; in test_siphash() local 181 if (expectedlen != SIPHASH_MIN_DIGEST_SIZE && in test_siphash() 182 expectedlen != SIPHASH_MAX_DIGEST_SIZE) { in test_siphash() 183 TEST_info("size %zu vs %d and %d", expectedlen, in test_siphash() 198 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) in test_siphash() 202 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen)) in test_siphash() 203 || !TEST_mem_eq(out, expectedlen, expected, expectedlen)) in test_siphash() 207 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) in test_siphash() 212 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen))) in test_siphash() 215 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_siphash() [all …]
|
D | poly1305_internal_test.c | 1514 size_t expectedlen = test.expected.size; in test_poly1305() local 1517 if (!TEST_size_t_eq(expectedlen, sizeof(out))) in test_poly1305() 1524 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_poly1305() 1535 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_poly1305() 1549 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_poly1305() 1560 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_poly1305()
|
D | evp_extra_test.c | 2414 size_t expectedlen = sizeof(expected); in test_HKDF() local 2433 || !TEST_mem_eq(out, outlen, expected, expectedlen)) in test_HKDF() 2458 size_t expectedlen = sizeof(expected); in test_emptyikm_HKDF() local 2475 || !TEST_mem_eq(out, outlen, expected, expectedlen)) in test_emptyikm_HKDF() 3577 size_t expectedlen; member 3712 if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) { in test_evp_init_seq() 3739 size_t expectedlen; member 3792 if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) { in test_evp_reset() 3808 if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) { in test_evp_reset()
|
/third_party/nghttp2/src/ |
D | shrpx_worker_process.cc | 328 size_t expectedlen; in memcached_get_ticket_key_cb() local 332 expectedlen = 48; in memcached_get_ticket_key_cb() 336 expectedlen = 80; in memcached_get_ticket_key_cb() 353 if (len != expectedlen) { in memcached_get_ticket_key_cb() 355 << expectedlen << ", got " << len; in memcached_get_ticket_key_cb()
|
D | shrpx_config.cc | 174 auto expectedlen = keys[0].data.name.size() + enc_keylen + hmac_keylen; in read_tls_ticket_key_file() local 176 assert(sizeof(buf) >= expectedlen); in read_tls_ticket_key_file() 189 if (static_cast<size_t>(fst.st_size) != expectedlen) { in read_tls_ticket_key_file() 191 << expectedlen << ", the actual file size is " << fst.st_size; in read_tls_ticket_key_file() 201 f.read(buf, expectedlen); in read_tls_ticket_key_file() 202 if (static_cast<size_t>(f.gcount()) != expectedlen) { in read_tls_ticket_key_file() 203 LOG(ERROR) << "tls-ticket-key-file: want to read " << expectedlen in read_tls_ticket_key_file() 236 constexpr size_t expectedlen = in read_quic_secret_file() local 257 if (s.size() != expectedlen * 2 || !util::is_hex_string(s)) { in read_quic_secret_file() 259 << expectedlen * 2 << " bytes hex encoded string"; in read_quic_secret_file() [all …]
|
/third_party/node/deps/openssl/openssl/providers/fips/ |
D | self_test_kats.c | 318 if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength, in self_test_drbg() 334 if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength, in self_test_drbg() 341 if (memcmp(out, t->expected, t->expectedlen) != 0) in self_test_drbg()
|
D | self_test_data.inc | 89 size_t expectedlen;
|
/third_party/openssl/providers/fips/ |
D | self_test_kats.c | 318 if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength, in self_test_drbg() 334 if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength, in self_test_drbg() 341 if (memcmp(out, t->expected, t->expectedlen) != 0) in self_test_drbg()
|
D | self_test_data.inc | 89 size_t expectedlen;
|