OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:keyBlob
(Results
1 - 2
of
2
) sorted by null
/frameworks/native/libs/utils/
BlobCache.cpp
87
sp<Blob>
keyBlob
(new Blob(key, keySize, true));
103
mCacheEntries.add(CacheEntry(
keyBlob
, valueBlob));
170
sp<Blob>
keyBlob
= e.getKey();
173
size += sizeof(EntryHeader) +
keyBlob
->getSize() +
206
sp<Blob>
keyBlob
= e.getKey();
208
size_t keySize =
keyBlob
->getSize();
222
memcpy(eheader->mData,
keyBlob
->getData(), keySize);
/system/security/keystore/
keystore.cpp
975
ResponseCode get(const char* filename, Blob*
keyBlob
, const BlobType type, uid_t uid) {
977
ResponseCode rc =
keyBlob
->readBlob(filename, userState->getDecryptionKey(),
983
const uint8_t version =
keyBlob
->getVersion();
989
if (upgradeBlob(filename,
keyBlob
, version, type, uid)) {
990
if ((rc = this->put(filename,
keyBlob
, uid)) != NO_ERROR
991
|| (rc =
keyBlob
->readBlob(filename, userState->getDecryptionKey(),
998
if (type != TYPE_ANY &&
keyBlob
->getType() != type) {
999
ALOGW("key found but type doesn't match: %d vs %d",
keyBlob
->getType(), type);
1006
ResponseCode put(const char* filename, Blob*
keyBlob
, uid_t uid) {
1008
return
keyBlob
->writeBlob(filename, userState->getEncryptionKey(), userState->getState()
[
all
...]
Completed in 67 milliseconds