Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore_utils.cpp64 void add_legacy_key_authorizations(int keyType, keystore::AuthorizationSet* params) { in add_legacy_key_authorizations() argument
71 if (keyType == EVP_PKEY_RSA) { in add_legacy_key_authorizations()
Dkeystore_utils.h38 void add_legacy_key_authorizations(int keyType, keystore::AuthorizationSet* params);
Dkey_store_service.h64 generate(const android::String16& name, int32_t targetUid, int32_t keyType, int32_t keySize,
95 int32_t is_hardware_backed(const android::String16& keyType) override;
Dkeystore.h103 bool isHardwareBacked(const android::String16& keyType) const;
DIKeystoreService.cpp326 KeyStoreServiceReturnCode generate(const String16& name, int32_t uid, int32_t keyType, in generate() argument
333 data.writeInt32(keyType); in generate()
520 int32_t is_hardware_backed(const String16& keyType) override { in is_hardware_backed() argument
523 data.writeString16(keyType); in is_hardware_backed()
1042 int32_t keyType = data.readInt32(); in onTransact() local
1064 int32_t ret = generate(name, uid, keyType, keySize, flags, &args); in onTransact()
1151 String16 keyType = data.readString16(); in onTransact() local
1152 int32_t ret = is_hardware_backed(keyType); in onTransact()
Dkey_store_service.cpp363 int32_t keyType, int32_t keySize, int32_t flags, in generate() argument
373 add_legacy_key_authorizations(keyType, &params); in generate()
375 switch (keyType) { in generate()
423 ALOGW("Unsupported key type %d", keyType); in generate()
645 int32_t KeyStoreService::is_hardware_backed(const String16& keyType) { in is_hardware_backed() argument
646 return mKeyStore->isHardwareBacked(keyType) ? 1 : 0; in is_hardware_backed()
/system/security/keystore/include/keystore/
DIKeystoreService.h150 int32_t keyType, int32_t keySize,
180 virtual int32_t is_hardware_backed(const String16& keyType) = 0;