/aosp12/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
H A D | PasswordUtils.java | 53 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 D | set_attestation_key.cpp | 86 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 D | soft_attestation_context.h | 35 KeymasterKeyBlob GetAttestationKey(keymaster_algorithm_t algorithm, in GetAttestationKey() 40 CertificateChain GetAttestationChain(keymaster_algorithm_t algorithm, in GetAttestationChain()
|
/aosp12/system/keymaster/legacy_support/ |
H A D | keymaster1_legacy_support.cpp | 58 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 D | Pin.java | 39 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 D | AndroidKeyStoreProvider.java | 142 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 D | AndroidKeyStoreBCWorkaroundProvider.java | 244 private void putMacImpl(String algorithm, String implClass) { in putMacImpl() 260 private void putSignatureImpl(String algorithm, String implClass) { in putSignatureImpl()
|
H A D | AndroidKeyStoreSecretKey.java | 34 @NonNull KeyMetadata metadata, @NonNull String algorithm, in AndroidKeyStoreSecretKey()
|
H A D | AndroidKeyStorePrivateKey.java | 34 long keyId, @NonNull Authorization[] authorizations, @NonNull String algorithm, in AndroidKeyStorePrivateKey()
|
H A D | AndroidKeyStorePublicKey.java | 40 @NonNull String algorithm, @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStorePublicKey()
|
/aosp12/system/keymaster/contexts/ |
H A D | soft_attestation_cert.cpp | 281 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 D | soft_keymaster_device.cpp | 109 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 D | keymaster2_passthrough_context.cpp | 50 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 D | IkeSaProposal.java | 249 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 D | SaProposal.java | 503 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 D | ChildSaProposal.java | 305 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 D | KeyDerivationParams.java | 101 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 D | BlobHandle.java | 62 @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 D | triple_des_operation.h | 28 keymaster_algorithm_t algorithm() const override { return KM_ALGORITHM_TRIPLE_DES; } in algorithm() function
|
H A D | aes_operation.h | 28 keymaster_algorithm_t algorithm() const override { return KM_ALGORITHM_AES; } in algorithm() function
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
H A D | DrmPlugin.h | 178 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 D | TextDirectionHeuristics.java | 138 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { in TextDirectionHeuristicImpl() 178 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, in TextDirectionHeuristicInternal()
|
/aosp12/hardware/interfaces/drm/1.3/vts/functional/ |
H A D | drm_hal_test.cpp | 43 const hidl_string& algorithm{"RSASSA-PSS-SHA1"}; in TEST_P() local
|
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/ |
H A D | ParcelUtil.java | 72 String algorithm = in.readString(); in readPrivateKey() local
|
/aosp12/packages/apps/CertInstaller/src/com/android/certinstaller/ |
H A D | Util.java | 59 MessageDigest algorithm = MessageDigest.getInstance("MD5"); in toMd5() local
|