Home
last modified time | relevance | path

Searched refs:ExpectBytesEqual (Results 1 – 10 of 10) sorted by relevance

/external/boringssl/src/crypto/aes/
Daes_test.cc51 if (!t->ExpectBytesEqual(block, AES_BLOCK_SIZE, ciphertext.data(), in TestRaw()
60 if (!t->ExpectBytesEqual(block, AES_BLOCK_SIZE, ciphertext.data(), in TestRaw()
73 if (!t->ExpectBytesEqual(block, AES_BLOCK_SIZE, plaintext.data(), in TestRaw()
82 if (!t->ExpectBytesEqual(block, AES_BLOCK_SIZE, plaintext.data(), in TestRaw()
121 !t->ExpectBytesEqual(buf.get(), ciphertext.size(), ciphertext.data(), in TestKeyWrap()
130 !t->ExpectBytesEqual(buf.get(), ciphertext.size(), ciphertext.data(), in TestKeyWrap()
144 !t->ExpectBytesEqual(buf.get(), plaintext.size(), plaintext.data(), in TestKeyWrap()
153 !t->ExpectBytesEqual(buf.get(), plaintext.size(), plaintext.data(), in TestKeyWrap()
/external/boringssl/src/crypto/hmac/
Dhmac_test.cc113 !t->ExpectBytesEqual(output.data(), output.size(), mac.get(), mac_len)) { in TestHMAC()
124 !t->ExpectBytesEqual(output.data(), output.size(), mac.get(), mac_len)) { in TestHMAC()
134 !t->ExpectBytesEqual(output.data(), output.size(), mac.get(), mac_len)) { in TestHMAC()
152 !t->ExpectBytesEqual(output.data(), output.size(), mac.get(), mac_len)) { in TestHMAC()
/external/boringssl/src/crypto/poly1305/
Dpoly1305_test.cc67 if (!t->ExpectBytesEqual(mac.data(), mac.size(), out, 16)) { in TestSIMD()
94 if (!t->ExpectBytesEqual(out, 16, mac.data(), mac.size())) { in TestPoly1305()
105 if (!t->ExpectBytesEqual(mac.data(), mac.size(), out, 16)) { in TestPoly1305()
/external/boringssl/src/crypto/ecdh/
Decdh_test.cc98 !t->ExpectBytesEqual(z.data(), z.size(), actual_z.data(), in TestECDH()
108 !t->ExpectBytesEqual(z.data(), z.size() - 1, actual_z.data(), in TestECDH()
/external/boringssl/src/crypto/cipher/
Dcipher_test.cc200 if (!t->ExpectBytesEqual(out->data(), out->size(), result.data(), in TestOperation()
212 !t->ExpectBytesEqual(tag.data(), tag.size(), rtag, in TestOperation()
Daead_test.cc84 if (!t->ExpectBytesEqual(ct.data(), ct.size(), out.data(), ct.size()) || in TestAEAD()
85 !t->ExpectBytesEqual(tag.data(), tag.size(), out.data() + ct.size(), in TestAEAD()
123 if (!t->ExpectBytesEqual(in.data(), in.size(), out2.data(), out2.size())) { in TestAEAD()
/external/boringssl/src/crypto/evp/
Devp_test.cc176 if (!t->ExpectBytesEqual(output.data(), output.size(), der, der_len)) { in ImportKey()
288 !t->ExpectBytesEqual(output.data(), output.size(), actual.data(), len)) { in TestEVP()
/external/boringssl/src/crypto/curve25519/
Ded25519_test.cc43 if (!t->ExpectBytesEqual(expected_signature.data(), expected_signature.size(), in TestSignature()
/external/boringssl/src/crypto/test/
Dfile_test.h115 bool ExpectBytesEqual(const uint8_t *expected, size_t expected_len, in OPENSSL_MSVC_PRAGMA()
Dfile_test.cc229 bool FileTest::ExpectBytesEqual(const uint8_t *expected, size_t expected_len, in ExpectBytesEqual() function in FileTest