Home | History | Annotate | Download | only in keystore

Lines Matching refs:blob

26 #include "blob.h"
31 Blob::Blob(const uint8_t* value, size_t valueLength, const uint8_t* info, uint8_t infoLength,
36 ALOGW("Provided blob length too large");
58 Blob::Blob(blob b) {
62 Blob::Blob() {
66 bool Blob::isEncrypted() const {
74 void Blob::setEncrypted(bool encrypted) {
82 void Blob::setFallback(bool fallback) {
90 ResponseCode Blob::writeBlob(const char* filename, AES_KEY* aes_key, State state,
92 ALOGV("writing blob %s", filename);
95 ALOGD("couldn't insert encrypted blob while not unlocked");
142 ALOGW("blob not fully written %zu != %zu", writtenBytes, fileLength);
147 ALOGW("could not rename blob to %s: %s", filename, strerror(errno));
153 ResponseCode Blob::readBlob(const char* filename, AES_KEY* aes_key, State state) {
154 ALOGV("reading blob %s", filename);