Lines Matching refs:SoftKeymasterDevice
111 SoftKeymasterDevice::DigestMap* map, bool* supports_all) { in add_digests()
130 static keymaster_error_t map_digests(keymaster1_device_t* dev, SoftKeymasterDevice::DigestMap* map, in map_digests()
160 SoftKeymasterDevice::SoftKeymasterDevice(KmVersion version) in SoftKeymasterDevice() function in keymaster::SoftKeymasterDevice
170 SoftKeymasterDevice::SoftKeymasterDevice(SoftKeymasterContext* context) in SoftKeymasterDevice() function in keymaster::SoftKeymasterDevice
180 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice()
209 bool SoftKeymasterDevice::Keymaster1DeviceIsGood() { in Keymaster1DeviceIsGood()
230 void SoftKeymasterDevice::initialize_device_struct(uint32_t flags) { in initialize_device_struct()
297 hw_device_t* SoftKeymasterDevice::hw_device() { in hw_device()
301 keymaster1_device_t* SoftKeymasterDevice::keymaster_device() { in keymaster_device()
305 keymaster2_device_t* SoftKeymasterDevice::keymaster2_device() { in keymaster2_device()
331 template <typename T> SoftKeymasterDevice* convert_device(const T* dev) { in convert_device()
335 return reinterpret_cast<SoftKeymasterDevice*>(dev->context); in convert_device()
352 int SoftKeymasterDevice::close_device(hw_device_t* dev) { in close_device()
372 keymaster_error_t SoftKeymasterDevice::get_supported_algorithms(const keymaster1_device_t* dev, in get_supported_algorithms()
401 keymaster_error_t SoftKeymasterDevice::get_supported_block_modes(const keymaster1_device_t* dev, in get_supported_block_modes()
435 keymaster_error_t SoftKeymasterDevice::get_supported_padding_modes(const keymaster1_device_t* dev, in get_supported_padding_modes()
469 keymaster_error_t SoftKeymasterDevice::get_supported_digests(const keymaster1_device_t* dev, in get_supported_digests()
502 keymaster_error_t SoftKeymasterDevice::get_supported_import_formats( in get_supported_import_formats()
533 keymaster_error_t SoftKeymasterDevice::get_supported_export_formats( in get_supported_export_formats()
564 keymaster_error_t SoftKeymasterDevice::configure(const keymaster2_device_t* dev, in configure()
581 keymaster_error_t SoftKeymasterDevice::add_rng_entropy(const keymaster1_device_t* dev, in add_rng_entropy()
598 keymaster_error_t SoftKeymasterDevice::add_rng_entropy(const keymaster2_device_t* dev, in add_rng_entropy()
604 SoftKeymasterDevice* sk_dev = convert_device(dev); in add_rng_entropy()
612 bool SoftKeymasterDevice::FindUnsupportedDigest(keymaster_algorithm_t algorithm, in FindUnsupportedDigest()
634 bool SoftKeymasterDevice::RequiresSoftwareDigesting(keymaster_algorithm_t algorithm, in RequiresSoftwareDigesting()
660 bool SoftKeymasterDevice::KeyRequiresSoftwareDigesting( in KeyRequiresSoftwareDigesting()
681 keymaster_error_t SoftKeymasterDevice::generate_key( in generate_key()
688 SoftKeymasterDevice* sk_dev = convert_device(dev); in generate_key()
723 SoftKeymasterDevice::generate_key(const keymaster2_device_t* dev, // in generate_key()
733 SoftKeymasterDevice* sk_dev = convert_device(dev); in generate_key()
793 keymaster_error_t SoftKeymasterDevice::get_key_characteristics( in get_key_characteristics()
834 keymaster_error_t SoftKeymasterDevice::get_key_characteristics( in get_key_characteristics()
844 SoftKeymasterDevice* sk_dev = convert_device(dev); in get_key_characteristics()
862 keymaster_error_t SoftKeymasterDevice::import_key( in import_key()
870 SoftKeymasterDevice* sk_dev = convert_device(dev); in import_key()
904 keymaster_error_t SoftKeymasterDevice::import_key( in import_key()
912 SoftKeymasterDevice* sk_dev = convert_device(dev); in import_key()
931 keymaster_error_t SoftKeymasterDevice::export_key(const keymaster1_device_t* dev, in export_key()
968 keymaster_error_t SoftKeymasterDevice::export_key(const keymaster2_device_t* dev, in export_key()
978 SoftKeymasterDevice* sk_dev = convert_device(dev); in export_key()
984 keymaster_error_t SoftKeymasterDevice::attest_key(const keymaster2_device_t* dev, in attest_key()
1038 keymaster_error_t SoftKeymasterDevice::upgrade_key(const keymaster2_device_t* dev, in upgrade_key()
1067 keymaster_error_t SoftKeymasterDevice::delete_key(const keymaster1_device_t* dev, in delete_key()
1076 keymaster_error_t SoftKeymasterDevice::delete_key(const keymaster2_device_t* dev, in delete_key()
1087 keymaster_error_t SoftKeymasterDevice::delete_all_keys(const keymaster1_device_t* dev) { in delete_all_keys()
1094 keymaster_error_t SoftKeymasterDevice::delete_all_keys(const keymaster2_device_t* dev) { in delete_all_keys()
1103 keymaster_error_t SoftKeymasterDevice::begin(const keymaster1_device_t* dev, in begin()
1113 SoftKeymasterDevice* skdev = convert_device(dev); in begin()
1174 keymaster_error_t SoftKeymasterDevice::begin(const keymaster2_device_t* dev, in begin()
1184 SoftKeymasterDevice* sk_dev = convert_device(dev); in begin()
1189 keymaster_error_t SoftKeymasterDevice::update(const keymaster1_device_t* dev, in update()
1248 keymaster_error_t SoftKeymasterDevice::update(const keymaster2_device_t* dev, in update()
1258 SoftKeymasterDevice* sk_dev = convert_device(dev); in update()
1264 keymaster_error_t SoftKeymasterDevice::finish(const keymaster1_device_t* dev, in finish()
1325 keymaster_error_t SoftKeymasterDevice::finish(const keymaster2_device_t* dev, in finish()
1469 keymaster_error_t SoftKeymasterDevice::abort(const keymaster1_device_t* dev, in abort()
1488 keymaster_error_t SoftKeymasterDevice::abort(const keymaster2_device_t* dev, in abort()
1494 SoftKeymasterDevice* sk_dev = convert_device(dev); in abort()
1499 void SoftKeymasterDevice::StoreDefaultNewKeyParams(keymaster_algorithm_t algorithm, in StoreDefaultNewKeyParams()