Home
last modified time | relevance | path

Searched refs:blobv3 (Results 1 – 3 of 3) sorted by relevance

/system/security/keystore/
Dblob.h50 struct __attribute__((packed)) blobv3 { struct
74 static_assert(sizeof(blobv3) == sizeof(blobv2) && argument
75 offsetof(blobv3, initialization_vector) == offsetof(blobv2, vector) &&
76 offsetof(blobv3, aead_tag) == offsetof(blobv2, digest) &&
77 offsetof(blobv3, aead_tag) == offsetof(blobv2, encrypted) &&
78 offsetof(blobv3, length) == offsetof(blobv2, length) &&
79 offsetof(blobv3, value) == offsetof(blobv2, value),
109 explicit Blob(blobv3 b);
157 std::unique_ptr<blobv3> mBlob;
Dblob.cpp212 mBlob = std::make_unique<blobv3>(); in Blob()
213 memset(mBlob.get(), 0, sizeof(blobv3)); in Blob()
238 Blob::Blob(blobv3 b) { in Blob()
239 mBlob = std::make_unique<blobv3>(b); in Blob()
248 mBlob = std::make_unique<blobv3>(*rhs.mBlob); in Blob()
258 mBlob = std::make_unique<blobv3>(*rhs.mBlob); in operator =()
318 static ResponseCode writeBlob(const std::string& filename, Blob blob, blobv3* rawBlob, in writeBlob()
342 size_t fileLength = offsetof(blobv3, value) + dataLength + rawBlob->info; in writeBlob()
371 blobv3* rawBlob = keyBlob.mBlob.get(); in writeBlobs()
379 blobv3* rawBlob = characteristicsBlob.mBlob.get(); in writeBlobs()
[all …]
Duser_state.cpp120 blobv3 rawBlob; in copyMasterKeyFile()
162 blobv3 rawBlob; in readMasterKey()