Searched refs:add_rng_entropy (Results 1 – 5 of 5) sorted by relevance
/system/security/keystore/ |
D | key_store_service.cpp | 578 device->add_rng_entropy != NULL) { in addRngEntropy() 579 devResult = device->add_rng_entropy(device, data, dataLength); in addRngEntropy() 581 if (fallback->add_rng_entropy) { in addRngEntropy() 582 fallbackResult = fallback->add_rng_entropy(fallback, data, dataLength); in addRngEntropy() 619 } else if (device->add_rng_entropy) { in generateKey() 620 rc = device->add_rng_entropy(device, entropy, entropyLength); in generateKey() 636 } else if (fallback->add_rng_entropy) { in generateKey() 637 rc = fallback->add_rng_entropy(fallback, entropy, entropyLength); in generateKey() 879 if (dev->add_rng_entropy) { in begin() 880 err = dev->add_rng_entropy(dev, entropy, entropyLength); in begin() [all …]
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 135 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/keymaster/ |
D | soft_keymaster_device.cpp | 257 km1_device_.add_rng_entropy = add_rng_entropy; in initialize_device_struct() 280 km2_device_.add_rng_entropy = add_rng_entropy; in initialize_device_struct() 624 keymaster_error_t SoftKeymasterDevice::add_rng_entropy(const keymaster1_device_t* dev, in add_rng_entropy() function in keymaster::SoftKeymasterDevice 631 return km1_dev->add_rng_entropy(km1_dev, data, data_length); in add_rng_entropy() 643 keymaster_error_t SoftKeymasterDevice::add_rng_entropy(const keymaster2_device_t* dev, in add_rng_entropy() function in keymaster::SoftKeymasterDevice 652 return add_rng_entropy(&sk_dev->km1_device_, data, data_length); in add_rng_entropy()
|
D | android_keymaster_test_utils.cpp | 697 device_.add_rng_entropy = add_rng_entropy; in Sha256OnlyWrapper() 803 static keymaster_error_t add_rng_entropy(const struct keymaster1_device* dev, in add_rng_entropy() function in keymaster::test::Sha256OnlyWrapper 805 return unwrap(dev)->add_rng_entropy(unwrap(dev), data, data_length); in add_rng_entropy()
|
D | android_keymaster_test.cpp | 3316 device()->add_rng_entropy(device(), reinterpret_cast<const uint8_t*>("foo"), 3)); in TEST_P()
|