Home
last modified time | relevance | path

Searched refs:entropy (Results 1 – 12 of 12) sorted by relevance

/system/security/keystore/binder/android/security/keystore/
DIKeystoreService.aidl59 …racteristicsCallback cb, String alias, in KeymasterArguments arguments, in byte[] entropy, int uid, in generateKey() argument
68 in KeymasterArguments params, in byte[] entropy, int uid); in begin() argument
71 in byte[] entropy); in finish() argument
/system/security/keystore/
Dkeymaster_worker.cpp375 AuthorizationSet opParams, hidl_vec<uint8_t> entropy, in begin() argument
380 CAPTURE_MOVE(opParams), CAPTURE_MOVE(entropy), in begin()
420 if (entropy.size()) { in begin()
421 rc = KS_HANDLE_HIDL_ERROR(dev, dev->addRngEntropy(entropy)); in begin()
667 hidl_vec<uint8_t> signature, hidl_vec<uint8_t> entropy, in finish() argument
670 CAPTURE_MOVE(signature), CAPTURE_MOVE(entropy), in finish()
713 if (entropy.size()) { in finish()
714 rc = KS_HANDLE_HIDL_ERROR(op->device, op->device->addRngEntropy(entropy)); in finish()
788 hidl_vec<uint8_t> entropy, int flags, generateKey_cb worker_cb) { in generateKey() argument
790 CAPTURE_MOVE(entropy), CAPTURE_MOVE(worker_cb), flags]() mutable { in generateKey()
[all …]
Dkey_store_service.h93 const ::std::vector<uint8_t>& entropy, int32_t uid, int32_t flags,
118 const ::std::vector<uint8_t>& entropy, int32_t uid, int32_t* _aidl_return) override;
129 const ::std::vector<uint8_t>& entropy, int32_t* _aidl_return) override;
Dkey_store_service.cpp602 const ::std::vector<uint8_t>& entropy, int32_t flags, int32_t* _aidl_return) { in addRngEntropy()
608 device->addRngEntropy(entropy, [device, cb](Return<ErrorCode> rc) { in addRngEntropy()
617 const String16& name, const KeymasterArguments& params, const ::std::vector<uint8_t>& entropy, in generateKey()
658 std::move(lockedEntry), params.getParameters(), entropy, flags, in generateKey()
811 const ::std::vector<uint8_t>& entropy, int32_t uid, in begin()
845 static_cast<KeyPurpose>(purpose), std::move(opParams), entropy, in begin()
885 const ::std::vector<uint8_t>& entropy, int32_t* _aidl_return) { in finish()
895 dev->finish(token, params.getParameters(), input, signature, entropy, in finish()
Dkeymaster_worker.h210 hidl_vec<uint8_t> entropy, worker_begin_cb worker_cb);
245 hidl_vec<uint8_t> entropy, int flags, generateKey_cb _hidl_cb);
Dkeystore_client_impl.cpp180 KeystoreClientImpl::addRandomNumberGeneratorEntropy(const std::string& entropy, int32_t flags) { in addRandomNumberGeneratorEntropy() argument
187 keystore_->addRngEntropy(promise, blob2hidlVec(entropy), flags, &error_code); in addRandomNumberGeneratorEntropy()
/system/core/trusty/confirmationui/
DREADME18 NOTE that a secure input device end point needs a good source of entropy
/system/security/keystore/include/keystore/
Dkeystore_client_mock.h43 MOCK_METHOD1(addRandomNumberGeneratorEntropy, int32_t(const std::string& entropy));
Dkeystore_client.h90 virtual KeyStoreNativeReturnCode addRandomNumberGeneratorEntropy(const std::string& entropy,
Dkeystore_client_impl.h48 KeyStoreNativeReturnCode addRandomNumberGeneratorEntropy(const std::string& entropy,
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp141 vector<uint8_t> entropy; in generateKey() local
162 promise, keyName16, KeymasterArguments(key_parameters.hidl_data()), entropy, in generateKey()
/system/core/rootdir/
Dinit.rc122 # Mix device-specific information into the entropy pool
576 # Avoid predictable entropy pool. Carry over entropy from previous boot.
577 copy /data/system/entropy.dat /dev/urandom