Home
last modified time | relevance | path

Searched refs:add_rng_entropy (Results 1 – 9 of 9) sorted by relevance

/system/core/trusty/keymaster/include/trusty_keymaster/legacy/
Dtrusty_keymaster_device.h48 keymaster_error_t add_rng_entropy(const uint8_t* data, size_t data_length);
97 static keymaster_error_t add_rng_entropy(const keymaster2_device_t* dev, const uint8_t* data,
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h135 static keymaster_error_t add_rng_entropy(const keymaster1_device_t* dev, const uint8_t* data,
184 static keymaster_error_t add_rng_entropy(const keymaster2_device_t* dev, const uint8_t* data,
/system/core/trusty/keymaster/legacy/
Dtrusty_keymaster_device.cpp66 device_.add_rng_entropy = add_rng_entropy; in TrustyKeymasterDevice()
162 keymaster_error_t TrustyKeymasterDevice::add_rng_entropy(const uint8_t* data, size_t data_length) { in add_rng_entropy() function in keymaster::TrustyKeymasterDevice
658 keymaster_error_t TrustyKeymasterDevice::add_rng_entropy(const keymaster2_device_t* dev, in add_rng_entropy() function in keymaster::TrustyKeymasterDevice
660 return convert_device(dev)->add_rng_entropy(data, data_length); in add_rng_entropy()
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp119 return device_->add_rng_entropy(device_, buf, length); in AddRngEntropy()
Dsoft_keymaster_device.cpp293 km1_device_.add_rng_entropy = add_rng_entropy; in initialize_device_struct()
317 km2_device_.add_rng_entropy = add_rng_entropy; in initialize_device_struct()
632 keymaster_error_t SoftKeymasterDevice::add_rng_entropy(const keymaster1_device_t* dev, in add_rng_entropy() function in keymaster::SoftKeymasterDevice
639 return km1_dev->add_rng_entropy(km1_dev, data, data_length); in add_rng_entropy()
651 keymaster_error_t SoftKeymasterDevice::add_rng_entropy(const keymaster2_device_t* dev, in add_rng_entropy() function in keymaster::SoftKeymasterDevice
660 return add_rng_entropy(&sk_dev->km1_device_, data, data_length); in add_rng_entropy()
Dkeymaster1_passthrough_context.cpp205 return device_->add_rng_entropy(device_, buf, length); in AddRngEntropy()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp722 device_.add_rng_entropy = add_rng_entropy; in Sha256OnlyWrapper()
828 static keymaster_error_t add_rng_entropy(const struct keymaster1_device* dev, in add_rng_entropy() function in keymaster::test::Sha256OnlyWrapper
830 return unwrap(dev)->add_rng_entropy(unwrap(dev), data, data_length); in add_rng_entropy()
Dandroid_keymaster_test.cpp3925 device()->add_rng_entropy(device(), reinterpret_cast<const uint8_t*>("foo"), 3)); in TEST_P()
/system/security/keystore/
Dlegacy_keymaster_device_wrapper.cpp213 keymaster_device_->add_rng_entropy(keymaster_device_, &data[0], data.size())); in addRngEntropy()