Home | History | Annotate | Download | only in ec

Lines Matching defs:bytes

61     EXPECT_EQ(Bytes(reinterpret_cast<const char *>(&expected), sizeof(expected)),
62 Bytes(reinterpret_cast<const char *>(&val), sizeof(val)));
85 EXPECT_EQ(Bytes(reinterpret_cast<const char *>(&expected), sizeof(expected)),
86 Bytes(reinterpret_cast<const char *>(&val), sizeof(val)));
92 std::vector<uint8_t> bytes;
93 if (!t->GetBytes(&bytes, name)) {
97 if (bytes.size() != BN_BYTES * P256_LIMBS) {
102 // |byte| contains bytes in big-endian while |out| should contain |BN_ULONG|s
105 for (size_t i = 0; i < bytes.size(); i++) {
107 out[P256_LIMBS - 1 - (i / BN_BYTES)] |= bytes[i];