Home
last modified time | relevance | path

Searched refs:keySize (Results 1 – 7 of 7) sorted by relevance

/system/core/libutils/
DBlobCache.cpp55 void BlobCache::set(const void* key, size_t keySize, const void* value, in set() argument
57 if (mMaxKeySize < keySize) { in set()
59 keySize, mMaxKeySize); in set()
67 if (mMaxTotalSize < keySize + valueSize) { in set()
69 "large: %zu (limit: %zu)", keySize + valueSize, mMaxTotalSize); in set()
72 if (keySize == 0) { in set()
81 sp<Blob> dummyKey(new Blob(key, keySize, false)); in set()
88 sp<Blob> keyBlob(new Blob(key, keySize, true)); in set()
90 size_t newTotalSize = mTotalSize + keySize + valueSize; in set()
100 keySize + valueSize, mMaxTotalSize); in set()
[all …]
/system/core/include/utils/
DBlobCache.h61 void set(const void* key, size_t keySize, const void* value,
80 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
/system/core/include/cutils/
Dhashmap.h53 int hashmapHash(void* key, size_t keySize);
/system/security/keystore/
Dkeystore.cpp889 void generateKeyFromPassword(uint8_t* key, ssize_t keySize, const android::String8& pw, in generateKeyFromPassword() argument
902 saltSize, 8192, keySize, key); in generateKeyFromPassword()
1819 int32_t generate(const String16& name, int32_t targetUid, int32_t keyType, int32_t keySize, in generate() argument
1858 if (keySize == -1) { in generate()
1859 keySize = DSA_DEFAULT_KEY_SIZE; in generate()
1860 } else if ((keySize % 64) != 0 || keySize < DSA_MIN_KEY_SIZE in generate()
1861 || keySize > DSA_MAX_KEY_SIZE) { in generate()
1862 ALOGI("invalid key size %d", keySize); in generate()
1865 dsa_params.key_size = keySize; in generate()
1900 if (keySize == -1) { in generate()
[all …]
DIKeystoreService.cpp288 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize, in generate() argument
296 data.writeInt32(keySize); in generate()
768 int32_t keySize = data.readInt32(); in onTransact() local
783 int32_t ret = generate(name, uid, keyType, keySize, flags, &args); in onTransact()
/system/core/libcutils/
Dhashmap.c155 int hashmapHash(void* key, size_t keySize) { in hashmapHash() argument
156 int h = keySize; in hashmapHash()
159 for (i = 0; i < keySize; i++) { in hashmapHash()
/system/security/keystore/include/keystore/
DIKeystoreService.h98 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize,