/frameworks/base/core/java/android/security/keystore/recovery/ |
D | KeyDerivationParams.java | 80 public static @NonNull KeyDerivationParams createSha256Params(@NonNull byte[] salt) { in createSha256Params() 93 public static @NonNull KeyDerivationParams createScryptParams( in createScryptParams() 101 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt) { in KeyDerivationParams() 108 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt, in KeyDerivationParams()
|
/frameworks/base/core/java/android/service/displayhash/ |
D | DisplayHashingService.java | 99 public abstract void onGenerateDisplayHash(@NonNull byte[] salt, in onGenerateDisplayHash() 122 public abstract VerifiedDisplayHash onVerifyDisplayHash(@NonNull byte[] salt, in onVerifyDisplayHash() 125 private void verifyDisplayHash(byte[] salt, DisplayHash displayHash, in verifyDisplayHash() 160 public void generateDisplayHash(byte[] salt, HardwareBuffer buffer, Rect bounds, in generateDisplayHash() 184 public void verifyDisplayHash(byte[] salt, DisplayHash displayHash, in verifyDisplayHash()
|
D | IDisplayHashingService.aidl | 41 void generateDisplayHash(in byte[] salt, in HardwareBuffer buffer, in Rect bounds, in generateDisplayHash() 53 void verifyDisplayHash(in byte[] salt, in DisplayHash displayHash, in RemoteCallback callback); in verifyDisplayHash()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
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()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LockscreenCredentialTest.java | 270 String salt = "6d5331dd120077a0"; in testPasswordToHistoryHash() local 287 String salt = "6d5331dd120077a0"; in testPasswordToHistoryHashInvalidInput() local 314 String salt = "6d5331dd120077a0"; in testLegacyPasswordToHash() local 327 String salt = "6d5331dd120077a0"; in testLegacyPasswordToHashInvalidInput() local
|
/frameworks/base/core/java/android/security/ |
D | Scrypt.java | 26 native byte[] nativeScrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen); in nativeScrypt() 29 public byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt()
|
/frameworks/base/core/java/android/util/apk/ |
D | VerityBuilder.java | 131 public static byte[] generateFsVerityRootHash(@NonNull String apkPath, byte[] salt, in generateFsVerityRootHash() 194 private BufferedDigester(@Nullable byte[] salt, @NonNull ByteBuffer output) in BufferedDigester() 272 @Nullable byte[] salt, ByteBuffer output) in generateFsVerityDigestAtLeafLevel() 293 SignatureInfo signatureInfo, byte[] salt, ByteBuffer output) in generateApkVerityDigestAtLeafLevel() 339 @Nullable byte[] salt, @NonNull int[] levelOffset, @NonNull ByteBuffer output) in generateFsVerityTreeInternal() 368 @Nullable SignatureInfo signatureInfo, @Nullable byte[] salt, in generateVerityTreeInternal() 397 byte[] salt) { in generateApkVerityHeader()
|
/frameworks/base/core/jni/ |
D | android_content_res_ObbScanner.cpp | 38 jfieldID salt; member 68 const unsigned char* salt = obb->getSalt(&saltLen); in android_content_res_ObbScanner_getObbInfo() local
|
D | android_security_Scrypt.cpp | 34 …urity_Scrypt_nativeScrypt(JNIEnv* env, jobject, jbyteArray password, jbyteArray salt, jint N, jint… in android_security_Scrypt_nativeScrypt()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockscreenCredential.java | 305 public String passwordToHistoryHash(byte[] salt, byte[] hashFactor) { in passwordToHistoryHash() 313 byte[] passwordToHash, byte[] salt, byte[] hashFactor) { in passwordToHistoryHash() 339 public static String legacyPasswordToHash(byte[] password, byte[] salt) { in legacyPasswordToHash()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | BackupPasswordManagerTest.java | 193 private void writeV1HashToFile(String password, byte[] salt) throws Exception { in writeV1HashToFile() 199 private void writeHashAndSaltToFile(String hash, byte[] salt) throws Exception { in writeHashAndSaltToFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | MockScrypt.java | 31 public byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt()
|
/frameworks/base/tools/obbtool/ |
D | pbkdf2gen.cpp | 51 unsigned char salt[SALT_LEN]; in main() local
|
D | Main.cpp | 64 unsigned char salt[SALT_LEN]; member in PackageInfo 145 const unsigned char* salt = obb->getSalt(&saltLen); in doInfo() local
|
/frameworks/base/libs/storage/ |
D | ObbInfo.cpp | 26 int32_t flags, size_t saltSize, const uint8_t* salt) : mFileName(fileName), in ObbInfo()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupPasswordManager.java | 253 public byte[] salt; field in BackupPasswordManager.BackupPasswordHash 255 BackupPasswordHash(String hash, byte[] salt) { in BackupPasswordHash()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommandDataLoader.java | 185 private Metadata(byte mode, String data, String salt) { in Metadata() 189 private Metadata(byte mode, byte[] data, String salt) { in Metadata() 203 final String salt; in fromByteArray() local
|
/frameworks/base/core/java/android/content/res/ |
D | ObbInfo.java | 59 public byte[] salt; field in ObbInfo
|
/frameworks/base/libs/androidfw/tests/ |
D | ObbFile_test.cpp | 68 unsigned char salt[SALT_SIZE] = {0x01, 0x10, 0x55, 0xAA, 0xFF, 0x00, 0x5A, 0xA5}; in TEST_F() local
|
/frameworks/base/identity/java/android/security/identity/ |
D | Util.java | 123 @NonNull String macAlgorithm, @NonNull final byte[] ikm, @NonNull final byte[] salt, in computeHkdf()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ObbFile.h | 80 bool setSalt(const unsigned char* salt, size_t length) { in setSalt()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncTask.java | 497 static byte[] hashCredentialsBySaltedSha256(byte[] salt, byte[] credentialsBytes) { in hashCredentialsBySaltedSha256() 517 private byte[] hashCredentialsByScrypt(byte[] salt, byte[] credentials) { in hashCredentialsByScrypt()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockSyntheticPasswordManager.java | 100 protected byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt()
|
/frameworks/base/core/java/android/os/incremental/ |
D | V4Signature.java | 53 @Nullable public final byte[] salt; // used exactly as in fs-verity, 32 bytes max field in V4Signature.HashingInfo 56 HashingInfo(int hashAlgorithm, byte log2BlockSize, byte[] salt, byte[] rawRootHash) { in HashingInfo()
|
/frameworks/base/libs/securebox/src/com/android/security/ |
D | SecureBox.java | 305 private static SecretKey hkdfDeriveKey(byte[] secret, byte[] salt, byte[] info) in hkdfDeriveKey()
|