/frameworks/base/core/java/android/security/keystore/recovery/ |
D | KeyDerivationParams.java | 81 public static @NonNull KeyDerivationParams createSha256Params(@NonNull byte[] salt) { in createSha256Params() 94 public static @NonNull KeyDerivationParams createScryptParams( in createScryptParams() 102 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt) { in KeyDerivationParams() 109 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt, in KeyDerivationParams()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | PasswordUtils.java | 51 public static SecretKey buildPasswordKey(String algorithm, String pw, byte[] salt, int rounds) { in buildPasswordKey() 65 public static String buildPasswordHash(String algorithm, String pw, byte[] salt, int rounds) { in buildPasswordHash() 111 public static byte[] makeKeyChecksum(String algorithm, byte[] pwBytes, byte[] salt, in makeKeyChecksum() 122 private static SecretKey buildCharArrayKey(String algorithm, char[] pwArray, byte[] salt, in buildCharArrayKey()
|
/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/services/backup/java/com/android/server/backup/encryption/chunking/cdc/ |
D | Hkdf.java | 51 static byte[] hkdf(byte[] masterKey, byte[] salt, byte[] data) throws InvalidKeyException { in hkdf() 71 private static byte[] hkdfSha256Extract(byte[] inputKeyMaterial, byte[] salt) in hkdfSha256Extract()
|
D | FingerprintMixer.java | 59 public FingerprintMixer(SecretKey secretKey, byte[] salt) throws InvalidKeyException { in FingerprintMixer()
|
/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/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/services/tests/servicestests/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/libs/storage/ |
D | ObbInfo.cpp | 26 int32_t flags, size_t saltSize, const uint8_t* salt) : mFileName(fileName), in ObbInfo()
|
/frameworks/base/core/java/android/util/apk/ |
D | VerityBuilder.java | 209 private BufferedDigester(@Nullable byte[] salt, @NonNull ByteBuffer output) in BufferedDigester() 307 SignatureInfo signatureInfo, byte[] salt, ByteBuffer output) in generateApkVerityDigestAtLeafLevel() 353 @Nullable SignatureInfo signatureInfo, @Nullable byte[] salt, in generateVerityTreeInternal() 387 byte[] salt) { in generateApkVerityHeader()
|
/frameworks/base/core/java/android/content/res/ |
D | ObbInfo.java | 58 public byte[] salt; field 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/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/libs/androidfw/include/androidfw/ |
D | ObbFile.h | 84 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()
|
D | SecureBox.java | 301 private static SecretKey hkdfDeriveKey(byte[] secret, byte[] salt, byte[] info) in hkdfDeriveKey()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockSyntheticPasswordManager.java | 98 protected byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt()
|
/frameworks/base/native/android/ |
D | storage_manager.cpp | 92 const unsigned char* salt = obbFile->getSalt(&length); in getObbInfo() local
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 224 byte[] salt; field in SyntheticPasswordManager.PasswordData 1195 protected byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 1291 long salt = getLong(LOCK_PASSWORD_SALT_KEY, 0, userId); in getSalt() local
|