Lines Matching refs:UniqueBlob
41 class UniqueBlob : public std::unique_ptr<uint8_t[]> { class
43 explicit UniqueBlob(size_t length) : in UniqueBlob() function in android::UniqueBlob
47 UniqueBlob(uint8_t* bytes, size_t length) : in UniqueBlob() function in android::UniqueBlob
51 bool operator==(const UniqueBlob &other) const { in operator ==()
72 friend std::ostream &operator<<(std::ostream &stream, const UniqueBlob& blob);
78 std::ostream &operator<<(std::ostream &stream, const UniqueBlob& blob) { in operator <<()
92 class UniqueKey : public UniqueBlob {
95 UniqueBlob(bytes, length), mDevice(dev) { in UniqueKey()
415 UniqueBlob x509_blob(x509_data, x509_data_length); in TEST_P()
462 UniqueBlob x509_blob(x509_data, x509_data_length); in TEST_P()
531 UniqueBlob x509_blob(x509_data, x509_data_length); in TEST_F()
567 UniqueBlob x509_blob(x509_data, x509_data_length); in TEST_F()
626 UniqueBlob x509_blob(x509_data, x509_data_length); in TEST_F()
648 UniqueBlob x509_blob(x509_data, x509_data_length); in TEST_F()
658 UniqueBlob x509_blob(x509_data, x509_data_length); in TEST_F()
729 UniqueBlob blob(key_blob, key_blob_length); in TEST_F()
878 UniqueBlob sig_blob(sig, sig_length); in TEST_F()
880 UniqueBlob expected_sig(TEST_SIGN_RSA_SIGNATURE_1, sizeof(TEST_SIGN_RSA_SIGNATURE_1)); in TEST_F()
917 UniqueBlob sig_blob(sig, sig_length); in TEST_F()
925 UniqueBlob x509_blob(x509_data, x509_data_length); in TEST_F()
1102 UniqueBlob sig_blob(sig, sig_length); in TEST_F()