Home
last modified time | relevance | path

Searched refs:Algorithm (Results 1 – 25 of 256) sorted by relevance

1234567891011

/aosp12/frameworks/av/media/libeffects/loudness/dsp/core/
H A Dinterpolator_base-inl.h32 template <typename T, class Algorithm>
33 InterpolatorBase<T, Algorithm>::InterpolatorBase() { in InterpolatorBase()
46 template <typename T, class Algorithm>
47 InterpolatorBase<T, Algorithm>::~InterpolatorBase() { in ~InterpolatorBase()
54 template <typename T, class Algorithm>
66 template <typename T, class Algorithm>
76 template <typename T, class Algorithm>
97 template <typename T, class Algorithm>
98 bool InterpolatorBase<T, Algorithm>::Initialize( in Initialize()
128 template <typename T, class Algorithm>
[all …]
/aosp12/hardware/interfaces/security/keymint/support/
H A Dauthorization_set.cpp118 Authorization(TAG_ALGORITHM, Algorithm::RSA); in RsaKey()
125 Authorization(TAG_ALGORITHM, Algorithm::EC); in EcdsaKey()
131 Authorization(TAG_ALGORITHM, Algorithm::EC); in EcdsaKey()
137 Authorization(TAG_ALGORITHM, Algorithm::AES); in AesKey()
142 Authorization(TAG_ALGORITHM, Algorithm::TRIPLE_DES); in TripleDesKey()
147 Authorization(TAG_ALGORITHM, Algorithm::HMAC); in HmacKey()
/aosp12/system/security/keystore2/src/km_compat/
H A Dlib.rs32 Algorithm::Algorithm, BeginResult::BeginResult, BlockMode::BlockMode, Digest::Digest,
89 value: KeyParameterValue::Algorithm(Algorithm::RSA), in generate_rsa_key()
164 value: KeyParameterValue::Algorithm(Algorithm::AES), in test_import_key()
218 value: KeyParameterValue::Algorithm(Algorithm::AES), in generate_aes_key()
418 value: KeyParameterValue::Algorithm(Algorithm::RSA) in test_get_key_characteristics()
H A Dkm_compat_type_conversion.h213 static V4_0::Algorithm convert(KMV1::Algorithm a) { in convert()
215 case KMV1::Algorithm::RSA: in convert()
217 case KMV1::Algorithm::EC: in convert()
218 return V4_0::Algorithm::EC; in convert()
219 case KMV1::Algorithm::AES: in convert()
223 case KMV1::Algorithm::HMAC: in convert()
228 static KMV1::Algorithm convert(V4_0::Algorithm a) { in convert()
230 case V4_0::Algorithm::RSA: in convert()
232 case V4_0::Algorithm::EC: in convert()
234 case V4_0::Algorithm::AES: in convert()
[all …]
H A Dparameter_conversion_test.cpp31 TEST_ENUM_CONVERSION(Algorithm, RSA); in TEST()
32 TEST_ENUM_CONVERSION(Algorithm, EC); in TEST()
33 TEST_ENUM_CONVERSION(Algorithm, AES); in TEST()
34 TEST_ENUM_CONVERSION(Algorithm, TRIPLE_DES); in TEST()
35 TEST_ENUM_CONVERSION(Algorithm, HMAC); in TEST()
/aosp12/system/security/keystore2/src/
H A Dkey_parameter.rs100 Algorithm::Algorithm, BlockMode::BlockMode, Digest::Digest, EcCurve::EcCurve,
163 implement_associate_primitive_for_aidl_enum! {Algorithm}
789 #[key_param(tag = ALGORITHM, field = Algorithm)]
790 Algorithm(Algorithm),
1044 Tag::ALGORITHM => return KmKeyParameterValue::Algorithm(Default::default()), in get_field_by_tag_type()
1079 (&KmKeyParameterValue::Algorithm(_), KmKeyParameterValue::Algorithm(_)) in check_field_matches_tag_type()
1119 KeyParameterValue::Algorithm(Algorithm::RSA), in test_key_parameter()
1127 KeyParameterValue::Algorithm(Algorithm::RSA) in test_key_parameter()
1159 &Algorithm::RSA.0, in test_new_from_sql_enum_i32()
1164 assert_eq!(*key_param.key_parameter_value(), KeyParameterValue::Algorithm(Algorithm::RSA)); in test_new_from_sql_enum_i32()
[all …]
H A Dsecurity_level.rs45 Algorithm::Algorithm, AttestationKey::AttestationKey,
471 Some(KeyParameter { tag: _, value: KeyParameterValue::Algorithm(Algorithm::RSA) }) in add_required_parameters()
472 | Some(KeyParameter { tag: _, value: KeyParameterValue::Algorithm(Algorithm::EC) }) => { in add_required_parameters()
645 KeyParameterValue::Algorithm(Algorithm::AES) in import_key()
646 | KeyParameterValue::Algorithm(Algorithm::HMAC) in import_key()
647 | KeyParameterValue::Algorithm(Algorithm::TRIPLE_DES) => Ok(KeyFormat::RAW), in import_key()
648 KeyParameterValue::Algorithm(Algorithm::RSA) in import_key()
649 | KeyParameterValue::Algorithm(Algorithm::EC) => Ok(KeyFormat::PKCS8), in import_key()
H A Dmetrics_store.rs26 Algorithm::Algorithm, BlockMode::BlockMode, Digest::Digest, EcCurve::EcCurve,
32 Algorithm::Algorithm as MetricsAlgorithm, AtomID::AtomID, CrashStats::CrashStats,
218 KsKeyParamValue::Algorithm(a) => { in process_key_creation_event_stats()
220 Algorithm::RSA => MetricsAlgorithm::RSA, in process_key_creation_event_stats()
221 Algorithm::EC => MetricsAlgorithm::EC, in process_key_creation_event_stats()
222 Algorithm::AES => MetricsAlgorithm::AES, in process_key_creation_event_stats()
223 Algorithm::TRIPLE_DES => MetricsAlgorithm::TRIPLE_DES, in process_key_creation_event_stats()
224 Algorithm::HMAC => MetricsAlgorithm::HMAC, in process_key_creation_event_stats()
H A Dremote_provisioning.rs25 Algorithm::Algorithm, AttestationKey::AttestationKey, Certificate::Certificate,
156 value: KeyParameterValue::Algorithm(Algorithm::RSA) in is_asymmetric_key()
159 value: KeyParameterValue::Algorithm(Algorithm::EC) in is_asymmetric_key()
/aosp12/hardware/interfaces/security/keymint/aidl/vts/functional/
H A DKeyMintAidlTestBase.cpp248 (algorithm.value() == Algorithm::RSA || algorithm.value() == Algorithm::EC)) { in GenerateKey()
297 (algorithm.value() == Algorithm::RSA || algorithm.value() == Algorithm::EC)) { in ImportKey()
345 (algorithm.value() == Algorithm::RSA || algorithm.value() == Algorithm::EC)) { in ImportWrappedKey()
1012 case Algorithm::RSA: in ValidKeySizes()
1024 case Algorithm::EC: in ValidKeySizes()
1027 case Algorithm::AES: in ValidKeySizes()
1031 case Algorithm::HMAC: { in ValidKeySizes()
1050 case Algorithm::EC: in InvalidKeySizes()
1072 case Algorithm::AES: in ValidBlockModes()
1092 case Algorithm::AES: in ValidPaddingModes()
[all …]
H A DKeyMintTest.cpp546 for (auto key_size : ValidKeySizes(Algorithm::AES)) { in TEST_P()
633 for (auto key_size : ValidKeySizes(Algorithm::AES)) { in TEST_P()
677 for (auto key_size : ValidKeySizes(Algorithm::AES)) { in TEST_P()
3128 CheckCryptoParam(TAG_ALGORITHM, Algorithm::RSA); in TEST_P()
3172 CheckCryptoParam(TAG_ALGORITHM, Algorithm::RSA); in TEST_P()
3228 CheckCryptoParam(TAG_ALGORITHM, Algorithm::EC); in TEST_P()
3254 CheckCryptoParam(TAG_ALGORITHM, Algorithm::EC); in TEST_P()
3279 CheckCryptoParam(TAG_ALGORITHM, Algorithm::EC); in TEST_P()
3305 CheckCryptoParam(TAG_ALGORITHM, Algorithm::EC); in TEST_P()
3345 CheckCryptoParam(TAG_ALGORITHM, Algorithm::AES); in TEST_P()
[all …]
/aosp12/system/security/keystore2/aidl/android/security/metrics/
H A DKeyCreationWithPurposeAndModesInfo.aidl19 import android.security.metrics.Algorithm;
27 Algorithm algorithm;
H A DKeyCreationWithGeneralInfo.aidl19 import android.security.metrics.Algorithm;
29 Algorithm algorithm;
/aosp12/hardware/interfaces/cas/1.2/
H A Dtypes.hal82 * DVB (Digital Video Broadcasting) CSA1 (Common Scrambling Algorithm 1) is
106 * ATIS-0800006 IIF Default Scrambling Algorithm (IDSA).
127 * Triple Data Encryption Algorithm (TDES) Electronic Code Book (ECB) mode.
131 * Triple Data Encryption Algorithm (TDES) Society of Cable Telecommunications
/aosp12/system/ca-certificates/files/
H A D7a7c655d.018 Signature Algorithm: ecdsa-with-SHA256
25 Public Key Algorithm: id-ecPublicKey
42 Signature Algorithm: ecdsa-with-SHA256
H A D0d69c7e1.019 Signature Algorithm: ecdsa-with-SHA256
26 Public Key Algorithm: id-ecPublicKey
43 Signature Algorithm: ecdsa-with-SHA256
H A D1ae85e5e.021 Signature Algorithm: ecdsa-with-SHA256
28 Public Key Algorithm: id-ecPublicKey
45 Signature Algorithm: ecdsa-with-SHA256
H A D6b03dec0.019 Signature Algorithm: ecdsa-with-SHA384
26 Public Key Algorithm: id-ecPublicKey
45 Signature Algorithm: ecdsa-with-SHA384
H A Dccc52f49.018 Signature Algorithm: ecdsa-with-SHA384
25 Public Key Algorithm: id-ecPublicKey
44 Signature Algorithm: ecdsa-with-SHA384
H A D83e9984f.021 Signature Algorithm: ecdsa-with-SHA256
28 Public Key Algorithm: id-ecPublicKey
48 Signature Algorithm: ecdsa-with-SHA256
H A D9479c8c3.022 Signature Algorithm: ecdsa-with-SHA256
29 Public Key Algorithm: id-ecPublicKey
48 Signature Algorithm: ecdsa-with-SHA256
/aosp12/system/ca-certificates/google/files/
H A D0d69c7e1.019 Signature Algorithm: ecdsa-with-SHA256
26 Public Key Algorithm: id-ecPublicKey
42 Signature Algorithm: ecdsa-with-SHA256
H A Dccc52f49.018 Signature Algorithm: ecdsa-with-SHA384
25 Public Key Algorithm: id-ecPublicKey
43 Signature Algorithm: ecdsa-with-SHA384
/aosp12/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterDefs.java19 import android.hardware.security.keymint.Algorithm;
140 public static final int KM_ALGORITHM_RSA = Algorithm.RSA;
141 public static final int KM_ALGORITHM_EC = Algorithm.EC;
142 public static final int KM_ALGORITHM_AES = Algorithm.AES;
143 public static final int KM_ALGORITHM_3DES = Algorithm.TRIPLE_DES;
144 public static final int KM_ALGORITHM_HMAC = Algorithm.HMAC;
/aosp12/hardware/interfaces/security/keymint/aidl/vts/performance/
H A DKeyMintBenchmark.cpp106 optional<Algorithm> getAlgorithm(string transform) { in getAlgorithm()
108 return Algorithm::AES; in getAlgorithm()
110 return Algorithm::HMAC; in getAlgorithm()
112 return Algorithm::TRIPLE_DES; in getAlgorithm()
114 return Algorithm::RSA; in getAlgorithm()
116 return Algorithm::EC; in getAlgorithm()
155 std::optional<Algorithm> algorithm = getAlgorithm(transform); in GenerateKey()
178 if (algorithm == Algorithm::HMAC) { in GenerateKey()
181 if (algorithm == Algorithm::RSA) { in GenerateKey()
185 if (algorithm == Algorithm::EC) { in GenerateKey()

1234567891011