Home
last modified time | relevance | path

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

/system/security/keystore/binder/android/security/keystore/
DIKeystoreService.aidl50 …racteristicsCallback cb, String alias, in KeymasterArguments arguments, in byte[] entropy, int uid, in generateKey() argument
59 in KeymasterArguments params, in byte[] entropy, int uid); in begin() argument
62 in byte[] entropy); in finish() argument
/system/security/keystore/
Dkeymaster_worker.cpp339 AuthorizationSet opParams, hidl_vec<uint8_t> entropy, in begin() argument
344 CAPTURE_MOVE(opParams), CAPTURE_MOVE(entropy), in begin()
384 if (entropy.size()) { in begin()
385 rc = KS_HANDLE_HIDL_ERROR(dev, dev->addRngEntropy(entropy)); in begin()
631 hidl_vec<uint8_t> signature, hidl_vec<uint8_t> entropy, in finish() argument
634 CAPTURE_MOVE(signature), CAPTURE_MOVE(entropy), in finish()
677 if (entropy.size()) { in finish()
678 rc = KS_HANDLE_HIDL_ERROR(op->device, op->device->addRngEntropy(entropy)); in finish()
752 hidl_vec<uint8_t> entropy, int flags, generateKey_cb worker_cb) { in generateKey() argument
754 CAPTURE_MOVE(entropy), CAPTURE_MOVE(worker_cb), flags]() mutable { in generateKey()
[all …]
Dkey_store_service.h94 const ::std::vector<uint8_t>& entropy, int32_t uid, int32_t flags,
119 const ::std::vector<uint8_t>& entropy, int32_t uid, int32_t* _aidl_return) override;
129 const ::std::vector<uint8_t>& signature, const ::std::vector<uint8_t>& entropy,
Dkey_store_service.cpp634 const ::std::vector<uint8_t>& entropy, int32_t flags, int32_t* _aidl_return) { in addRngEntropy()
641 device->addRngEntropy(entropy, [device, cb](Return<ErrorCode> rc) { in addRngEntropy()
650 const String16& name, const KeymasterArguments& params, const ::std::vector<uint8_t>& entropy, in generateKey()
696 std::move(lockedEntry), params.getParameters(), entropy, flags, in generateKey()
852 const ::std::vector<uint8_t>& entropy, int32_t uid, in begin()
887 static_cast<KeyPurpose>(purpose), std::move(opParams), entropy, in begin()
927 const ::std::vector<uint8_t>& entropy, int32_t* _aidl_return) { in finish()
938 dev->finish(token, params.getParameters(), {}, signature, entropy, in finish()
Dkeymaster_worker.h215 hidl_vec<uint8_t> entropy, worker_begin_cb worker_cb);
250 hidl_vec<uint8_t> entropy, int flags, generateKey_cb _hidl_cb);
Dkeystore_client_impl.cpp186 KeystoreClientImpl::addRandomNumberGeneratorEntropy(const std::string& entropy, int32_t flags) { in addRandomNumberGeneratorEntropy() argument
193 keystore_->addRngEntropy(promise, blob2hidlVec(entropy), flags, &error_code); in addRandomNumberGeneratorEntropy()
/system/security/keystore/include/keystore/
Dkeystore_client_mock.h43 MOCK_METHOD1(addRandomNumberGeneratorEntropy, int32_t(const std::string& entropy));
Dkeystore_client.h88 virtual KeyStoreNativeReturnCode addRandomNumberGeneratorEntropy(const std::string& entropy,
Dkeystore_client_impl.h47 KeyStoreNativeReturnCode addRandomNumberGeneratorEntropy(const std::string& entropy,
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp139 vector<uint8_t> entropy; in generateKey() local
160 promise, keyName16, KeymasterArguments(key_parameters.hidl_data()), entropy, in generateKey()
/system/core/rootdir/
Dinit.rc45 # Mix device-specific information into the entropy pool
452 # Avoid predictable entropy pool. Carry over entropy from previous boot.
453 copy /data/system/entropy.dat /dev/urandom