Home
last modified time | relevance | path

Searched defs:algorithm (Results 1 – 25 of 113) sorted by relevance

12345

/aosp12/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DPasswordUtils.java53 public static SecretKey buildPasswordKey(String algorithm, String pw, byte[] salt, int rounds) { in buildPasswordKey()
67 public static String buildPasswordHash(String algorithm, String pw, byte[] salt, int rounds) { in buildPasswordHash()
109 public static byte[] makeKeyChecksum(String algorithm, byte[] pwBytes, byte[] salt, in makeKeyChecksum()
120 private static SecretKey buildCharArrayKey(String algorithm, char[] pwArray, byte[] salt, in buildCharArrayKey()
/aosp12/system/core/trusty/keymaster/set_attestation_key/
H A Dset_attestation_key.cpp86 keymaster_algorithm_t algorithm; member
113 keymaster_algorithm_t algorithm; member
118 static int set_attestation_key_or_cert_bin(uint32_t cmd, keymaster_algorithm_t algorithm, in set_attestation_key_or_cert_bin()
136 static int set_attestation_key_or_cert_pem(uint32_t cmd, keymaster_algorithm_t algorithm, in set_attestation_key_or_cert_pem()
172 static int set_attestation_key_or_cert_iecs(uint32_t cmd, keymaster_algorithm_t algorithm, in set_attestation_key_or_cert_iecs()
214 static int str_to_algorithm(keymaster_algorithm_t* algorithm, const xmlChar* algorithm_str) { in str_to_algorithm()
229 keymaster_algorithm_t algorithm; in set_attestation_key_or_cert() local
267 const xmlChar* algorithm = NULL; in process_xml() local
/aosp12/system/keymaster/include/keymaster/contexts/
H A Dsoft_attestation_context.h35 KeymasterKeyBlob GetAttestationKey(keymaster_algorithm_t algorithm, in GetAttestationKey()
40 CertificateChain GetAttestationChain(keymaster_algorithm_t algorithm, in GetAttestationChain()
/aosp12/system/keymaster/legacy_support/
H A Dkeymaster1_legacy_support.cpp58 keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in add_digests()
85 for (auto algorithm : sig_algorithms) in map_digests() local
96 for (auto algorithm : crypt_algorithms) in map_digests() local
117 static bool findUnsupportedDigest(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in findUnsupportedDigest()
141 bool requiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in requiresSoftwareDigesting()
166 keymaster_algorithm_t algorithm; in RequiresSoftwareDigesting() local
190 keymaster_algorithm_t algorithm; in RequiresSoftwareDigesting() local
/aosp12/frameworks/base/core/java/android/security/net/config/
H A DPin.java39 public static boolean isSupportedDigestAlgorithm(String algorithm) { in isSupportedDigestAlgorithm()
48 public static int getDigestLength(String algorithm) { in getDigestLength()
/aosp12/frameworks/base/keystore/java/android/security/keystore2/
H A DAndroidKeyStoreProvider.java142 private void putSecretKeyFactoryImpl(String algorithm) { in putSecretKeyFactoryImpl()
146 private void putKeyFactoryImpl(String algorithm) { in putKeyFactoryImpl()
208 @NonNull KeyStoreSecurityLevel iSecurityLevel, int algorithm) in makeAndroidKeyStorePublicKeyFromKeyEntryResponse()
295 @NonNull KeyEntryResponse response, int algorithm, int digest) in makeAndroidKeyStoreSecretKeyFromKeyEntryResponse()
H A DAndroidKeyStoreBCWorkaroundProvider.java244 private void putMacImpl(String algorithm, String implClass) { in putMacImpl()
260 private void putSignatureImpl(String algorithm, String implClass) { in putSignatureImpl()
H A DAndroidKeyStoreSecretKey.java34 @NonNull KeyMetadata metadata, @NonNull String algorithm, in AndroidKeyStoreSecretKey()
H A DAndroidKeyStorePrivateKey.java34 long keyId, @NonNull Authorization[] authorizations, @NonNull String algorithm, in AndroidKeyStorePrivateKey()
H A DAndroidKeyStorePublicKey.java40 @NonNull String algorithm, @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStorePublicKey()
/aosp12/system/keymaster/contexts/
H A Dsoft_attestation_cert.cpp281 const keymaster_key_blob_t* getAttestationKey(keymaster_algorithm_t algorithm, in getAttestationKey()
299 CertificateChain getAttestationChain(keymaster_algorithm_t algorithm, keymaster_error_t* error) { in getAttestationChain()
H A Dsoft_keymaster_device.cpp109 static keymaster_error_t add_digests(keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests()
137 for (auto algorithm : sig_algorithms) in map_digests() local
148 for (auto algorithm : crypt_algorithms) in map_digests() local
470 keymaster_algorithm_t algorithm, in get_supported_digests()
503 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_import_formats()
534 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_export_formats()
612 bool SoftKeymasterDevice::FindUnsupportedDigest(keymaster_algorithm_t algorithm, in FindUnsupportedDigest()
634 bool SoftKeymasterDevice::RequiresSoftwareDigesting(keymaster_algorithm_t algorithm, in RequiresSoftwareDigesting()
665 keymaster_algorithm_t algorithm; in KeyRequiresSoftwareDigesting() local
1122 keymaster_algorithm_t algorithm = KM_ALGORITHM_AES; in begin() local
[all …]
H A Dkeymaster2_passthrough_context.cpp50 Keymaster2PassthroughContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory()
100 keymaster_algorithm_t algorithm; in ParseKeyBlob() local
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/
H A DIkeSaProposal.java249 public Builder addEncryptionAlgorithm(@EncryptionAlgorithm int algorithm, int keyLength) { in addEncryptionAlgorithm()
264 public Builder addIntegrityAlgorithm(@IntegrityAlgorithm int algorithm) { in addIntegrityAlgorithm()
291 public Builder addPseudorandomFunction(@PseudorandomFunction int algorithm) { in addPseudorandomFunction()
H A DSaProposal.java503 protected static boolean isAead(@EncryptionAlgorithm int algorithm) { in isAead()
535 protected void validateAndAddEncryptAlgo( in validateAndAddEncryptAlgo()
560 protected void validateAndAddIntegrityAlgo( in validateAndAddIntegrityAlgo()
648 public static String getEncryptionAlgorithmString(int algorithm) { in getEncryptionAlgorithmString()
660 public static String getPseudorandomFunctionString(int algorithm) { in getPseudorandomFunctionString()
672 public static String getIntegrityAlgorithmString(int algorithm) { in getIntegrityAlgorithmString()
H A DChildSaProposal.java305 public Builder addEncryptionAlgorithm(@EncryptionAlgorithm int algorithm, int keyLength) { in addEncryptionAlgorithm()
320 public Builder addIntegrityAlgorithm(@IntegrityAlgorithm int algorithm) { in addIntegrityAlgorithm()
/aosp12/frameworks/base/core/java/android/security/keystore/recovery/
H A DKeyDerivationParams.java101 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt) { in KeyDerivationParams()
108 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt, in KeyDerivationParams()
/aosp12/frameworks/base/apex/blobstore/framework/java/android/app/blob/
H A DBlobHandle.java62 @NonNull public final String algorithm; field in BlobHandle
92 private BlobHandle(String algorithm, byte[] digest, CharSequence label, long expiryTimeMillis, in BlobHandle()
110 public static @NonNull BlobHandle create(@NonNull String algorithm, @NonNull byte[] digest, in create()
/aosp12/system/keymaster/km_openssl/
H A Dtriple_des_operation.h28 keymaster_algorithm_t algorithm() const override { return KM_ALGORITHM_TRIPLE_DES; } in algorithm() function
H A Daes_operation.h28 keymaster_algorithm_t algorithm() const override { return KM_ALGORITHM_AES; } in algorithm() function
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
H A DDrmPlugin.h178 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setCipherAlgorithm()
186 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setMacAlgorithm()
249 const String8& algorithm, in signRSA()
/aosp12/frameworks/base/core/java/android/text/
H A DTextDirectionHeuristics.java138 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { in TextDirectionHeuristicImpl()
178 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, in TextDirectionHeuristicInternal()
/aosp12/hardware/interfaces/drm/1.3/vts/functional/
H A Ddrm_hal_test.cpp43 const hidl_string& algorithm{"RSASSA-PSS-SHA1"}; in TEST_P() local
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/
H A DParcelUtil.java72 String algorithm = in.readString(); in readPrivateKey() local
/aosp12/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DUtil.java59 MessageDigest algorithm = MessageDigest.getInstance("MD5"); in toMd5() local

12345