Searched refs:keyType (Results 1 – 8 of 8) sorted by relevance
/system/security/keystore/ |
D | keystore_utils.cpp | 57 void add_legacy_key_authorizations(int keyType, std::vector<keymaster_key_param_t>* params) { in add_legacy_key_authorizations() argument 63 if (keyType == EVP_PKEY_RSA) { in add_legacy_key_authorizations()
|
D | keystore_utils.h | 34 void add_legacy_key_authorizations(int keyType, std::vector<keymaster_key_param_t>* params);
|
D | key_store_service.h | 58 int32_t generate(const String16& name, int32_t targetUid, int32_t keyType, int32_t keySize, 88 int32_t is_hardware_backed(const String16& keyType); 170 bool isKeyTypeSupported(const keymaster2_device_t* device, keymaster_keypair_t keyType);
|
D | key_store_service.cpp | 272 int32_t KeyStoreService::generate(const String16& name, int32_t targetUid, int32_t keyType, in generate() argument 282 add_legacy_key_authorizations(keyType, ¶ms.params); in generate() 284 switch (keyType) { in generate() 332 ALOGW("Unsupported key type %d", keyType); in generate() 548 int32_t KeyStoreService::is_hardware_backed(const String16& keyType) { in is_hardware_backed() argument 549 return mKeyStore->isHardwareBacked(keyType) ? 1 : 0; in is_hardware_backed() 1273 keymaster_keypair_t keyType) { in isKeyTypeSupported() argument 1276 switch (keyType) { in isKeyTypeSupported() 1285 switch (keyType) { in isKeyTypeSupported() 1296 return keyType == TYPE_RSA; in isKeyTypeSupported()
|
D | keystore.h | 85 bool isHardwareBacked(const android::String16& keyType) const;
|
D | IKeystoreService.cpp | 703 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize, in generate() argument 710 data.writeInt32(keyType); in generate() 942 virtual int32_t is_hardware_backed(const String16& keyType) in is_hardware_backed() argument 946 data.writeString16(keyType); in is_hardware_backed() 1487 int32_t keyType = data.readInt32(); in onTransact() local 1510 int32_t ret = generate(name, uid, keyType, keySize, flags, &args); in onTransact() 1642 String16 keyType = data.readString16(); in onTransact() local 1643 int32_t ret = is_hardware_backed(keyType); in onTransact()
|
D | keystore.cpp | 472 bool KeyStore::isHardwareBacked(const android::String16& keyType) const { in isHardwareBacked() 478 if (sRSAKeyType == keyType) { in isHardwareBacked()
|
/system/security/keystore/include/keystore/ |
D | IKeystoreService.h | 177 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize, 200 virtual int32_t is_hardware_backed(const String16& keyType) = 0;
|