Home
last modified time | relevance | path

Searched refs:algorithm (Results 1 – 25 of 80) sorted by relevance

1234

/hardware/interfaces/usb/1.2/
DIUsb.hal30 * presence detection algorithm. Calling enableContaminantPresenceDetection
38 * @param enable true Enable contaminant presence detection algorithm.
39 * false Disable contaminant presence detection algorithm.
46 * presence protection algorithm. Calling
50 * Used to enable/disable contaminant presence protection algorithm.
57 * change in the status of contaminant presence protection algorithm.
/hardware/libhardware/include_all/hardware/
Dkeymaster1.h150 keymaster_algorithm_t algorithm,
169 keymaster_algorithm_t algorithm,
188 keymaster_algorithm_t algorithm,
207 keymaster_algorithm_t algorithm,
225 keymaster_algorithm_t algorithm,
/hardware/libhardware/include/hardware/
Dkeymaster1.h150 keymaster_algorithm_t algorithm,
169 keymaster_algorithm_t algorithm,
188 keymaster_algorithm_t algorithm,
207 keymaster_algorithm_t algorithm,
225 keymaster_algorithm_t algorithm,
/hardware/google/pixel/vibrator/common/proto/
Dcapo.proto125 // The amount of time that the algorithm's computed stillness confidence
127 // state. Increasing this value will make the algorithm take longer to
132 // this value will effectively smooth the input data, making the algorithm
138 // algorithm must be 100% certain that the device is moving before entering
140 // is ignored and the algorithm is immediately transitioned into the in
146 // algorithm must be 100% certain that the device is stationary before
150 // The variance threshold for the StillnessDetector algorithm. Increasing
151 // this value causes the algorithm to be less likely to detect motion.
154 // The variance threshold delta for the StillnessDetector algorithm about
/hardware/interfaces/drm/1.3/vts/functional/
Ddrm_hal_test.cpp43 const hidl_string& algorithm{"RSASSA-PSS-SHA1"}; in TEST_P() local
47 sessionId, algorithm, message, wrappedKey, in TEST_P()
/hardware/interfaces/drm/aidl/android/hardware/drm/
DIDrmPlugin.aidl613 void setCipherAlgorithm(in byte[] sessionId, in String algorithm); in setCipherAlgorithm() argument
641 void setMacAlgorithm(in byte[] sessionId, in String algorithm); in setMacAlgorithm() argument
721 in byte[] sessionId, in String algorithm, in byte[] message, in signRSA() argument
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/1/android/hardware/drm/
DIDrmPlugin.aidl67 void setCipherAlgorithm(in byte[] sessionId, in String algorithm); in setCipherAlgorithm() argument
69 void setMacAlgorithm(in byte[] sessionId, in String algorithm); in setMacAlgorithm() argument
74 byte[] signRSA(in byte[] sessionId, in String algorithm, in byte[] message, in byte[] wrappedkey); in signRSA() argument
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/current/android/hardware/drm/
DIDrmPlugin.aidl67 void setCipherAlgorithm(in byte[] sessionId, in String algorithm); in setCipherAlgorithm() argument
69 void setMacAlgorithm(in byte[] sessionId, in String algorithm); in setMacAlgorithm() argument
74 byte[] signRSA(in byte[] sessionId, in String algorithm, in byte[] message, in byte[] wrappedkey); in signRSA() argument
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp594 hidl_string algorithm = "AES/CBC/NoPadding"; in TEST_P() local
595 Status status = drmPlugin->setCipherAlgorithm(session, algorithm); in TEST_P()
605 hidl_string algorithm; in TEST_P() local
606 Status status = drmPlugin->setCipherAlgorithm(session, algorithm); in TEST_P()
616 hidl_string algorithm = "AES/CBC/NoPadding"; in TEST_P() local
617 Status status = drmPlugin->setCipherAlgorithm(session, algorithm); in TEST_P()
626 hidl_string algorithm = "HmacSHA256"; in TEST_P() local
627 Status status = drmPlugin->setMacAlgorithm(session, algorithm); in TEST_P()
637 hidl_string algorithm; in TEST_P() local
638 Status status = drmPlugin->setMacAlgorithm(session, algorithm); in TEST_P()
[all …]
Ddrm_hal_vendor_test.cpp690 hidl_string algorithm; in TEST_P() local
691 Status status = drmPlugin->setCipherAlgorithm(session, algorithm); in TEST_P()
703 hidl_string algorithm = "AES/CBC/NoPadding"; in TEST_P() local
704 Status status = drmPlugin->setCipherAlgorithm(session, algorithm); in TEST_P()
718 hidl_string algorithm = "AES/CBC/NoPadding"; in TEST_P() local
719 Status status = drmPlugin->setCipherAlgorithm(session, algorithm); in TEST_P()
732 hidl_string algorithm; in TEST_P() local
733 Status status = drmPlugin->setMacAlgorithm(session, algorithm); in TEST_P()
745 hidl_string algorithm = "HmacSHA256"; in TEST_P() local
746 Status status = drmPlugin->setMacAlgorithm(session, algorithm); in TEST_P()
[all …]
/hardware/interfaces/drm/1.0/
DIDrmPlugin.hal369 * Set the cipher algorithm to be used for the specified session.
372 * @param algorithm the algorithm to use. The string conforms to JCA
374 * example algorithm is "AES/CBC/PKCS5Padding".
378 * if the HAL is in a state where the algorithm cannot be set.
380 setCipherAlgorithm(SessionId sessionId, string algorithm)
384 * Set the MAC algorithm to be used for computing hashes in a session.
387 * @param algorithm the algorithm to use. The string conforms to JCA
389 * algorithm string is "HmacSHA256".
393 * if the HAL is in a state where the algorithm cannot be set.
395 setMacAlgorithm(SessionId sessionId, string algorithm)
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_legacy_dithering.adoc31 However, the dithering algorithm itself is undefined, and explicitly allows "no
32 dithering" as a possible algorithm.
42 acceptable algorithm.
117 - The dithering algorithm is grossly underspecified in OpenGL, and vendors are
167 - The details of the dithering algorithm are unknown.
168 - Correctness of the dithering algorithm with respect to sRGB are not
/hardware/interfaces/drm/1.0/default/
DDrmPlugin.cpp251 const hidl_vec<uint8_t>& sessionId, const hidl_string& algorithm) { in setCipherAlgorithm() argument
254 String8(algorithm.c_str())); in setCipherAlgorithm()
259 const hidl_vec<uint8_t>& sessionId, const hidl_string& algorithm) { in setMacAlgorithm() argument
262 String8(algorithm.c_str())); in setMacAlgorithm()
311 const hidl_string& algorithm, const hidl_vec<uint8_t>& message, in signRSA() argument
316 String8(algorithm.c_str()), toVector(message), toVector(wrappedKey), in signRSA()
DDrmPlugin.h104 const hidl_string& algorithm) override;
107 const hidl_string& algorithm) override;
126 const hidl_string& algorithm, const hidl_vec<uint8_t>& message,
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.cpp363 auto algorithm = key_desc.GetTagValue(TAG_ALGORITHM); in GenerateKey() local
364 EXPECT_TRUE(algorithm); in GenerateKey()
365 if (algorithm && in GenerateKey()
366 (algorithm.value() == Algorithm::RSA || algorithm.value() == Algorithm::EC)) { in GenerateKey()
407 auto algorithm = key_desc.GetTagValue(TAG_ALGORITHM); in ImportKey() local
408 EXPECT_TRUE(algorithm); in ImportKey()
409 if (algorithm && in ImportKey()
410 (algorithm.value() == Algorithm::RSA || algorithm.value() == Algorithm::EC)) { in ImportKey()
455 auto algorithm = allAuths.GetTagValue(TAG_ALGORITHM); in ImportWrappedKey() local
456 EXPECT_TRUE(algorithm); in ImportWrappedKey()
[all …]
DSecureElementProvisioningTest.cpp80 const auto& algorithm = protMap->asMap()->get(cppcose::ALGORITHM); in validateMacedRootOfTrust() local
81 ASSERT_TRUE(algorithm); in validateMacedRootOfTrust()
82 ASSERT_TRUE(algorithm->asInt()); in validateMacedRootOfTrust()
83 ASSERT_EQ(algorithm->asInt()->value(), cppcose::HMAC_256); in validateMacedRootOfTrust()
DKeyMintAidlTestBase.h313 vector<uint32_t> ValidKeySizes(Algorithm algorithm);
314 vector<uint32_t> InvalidKeySizes(Algorithm algorithm);
316 vector<BlockMode> ValidBlockModes(Algorithm algorithm);
317 vector<PaddingMode> ValidPaddingModes(Algorithm algorithm, BlockMode blockMode);
318 vector<PaddingMode> InvalidPaddingModes(Algorithm algorithm, BlockMode blockMode);
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/current/android/hardware/security/keymint/
DKeyParameterValue.aidl39 android.hardware.security.keymint.Algorithm algorithm;
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/3/android/hardware/security/keymint/
DKeyParameterValue.aidl39 android.hardware.security.keymint.Algorithm algorithm;
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/1/android/hardware/security/keymint/
DKeyParameterValue.aidl39 android.hardware.security.keymint.Algorithm algorithm;
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/2/android/hardware/security/keymint/
DKeyParameterValue.aidl39 android.hardware.security.keymint.Algorithm algorithm;
/hardware/interfaces/security/keymint/aidl/android/hardware/security/keymint/
DKeyParameterValue.aidl37 Algorithm algorithm;
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp222 std::optional<Algorithm> algorithm = getAlgorithm(transform); in GenerateKey() local
223 if (!algorithm) { in GenerateKey()
235 .Authorization(TAG_ALGORITHM, algorithm.value()) in GenerateKey()
245 if (algorithm == Algorithm::HMAC) { in GenerateKey()
248 if (algorithm == Algorithm::RSA) { in GenerateKey()
252 if (algorithm == Algorithm::EC) { in GenerateKey()
572 std::optional<Algorithm> algorithm = keymintTest->getAlgorithm(transform); in isValidSBKeySize() local
573 switch (algorithm.value()) { in isValidSBKeySize()
/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp138 bool GenerateKey(Algorithm algorithm, int keySize, Digest digest = Digest::NONE, in GenerateKey() argument
147 .Authorization(TAG_ALGORITHM, algorithm)
154 if (algorithm == Algorithm::RSA) {
196 optional<Algorithm> algorithm = getAlgorithm(transform); in GenerateKey() local
197 if (!algorithm) { in GenerateKey()
202 return GenerateKey(*algorithm, keySize, getDigest(transform), getPadding(transform, sign), in GenerateKey()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dattestation_record.cpp62 ASN1_INTEGER* algorithm; member
89 ASN1_EXP_OPT(KM_AUTH_LIST, algorithm, ASN1_INTEGER, TAG_ALGORITHM.maskedTag()),
228 copyAuthTag(record->algorithm, TAG_ALGORITHM, auth_list); in extract_auth_list()

1234