Searched refs:mSalt (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ObbFile.h | 80 *length = sizeof(mSalt); in getSalt() 81 return mSalt; in getSalt() 85 if (length != sizeof(mSalt)) { in setSalt() 89 memcpy(mSalt, salt, sizeof(mSalt)); in setSalt() 128 unsigned char mSalt[8]; variable
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | KeyDerivationParams.java | 54 private final byte[] mSalt; field in KeyDerivationParams 111 mSalt = Objects.requireNonNull(salt); in KeyDerivationParams() 126 return mSalt; in getSalt() 156 out.writeByteArray(mSalt); in writeToParcel() 165 mSalt = in.createByteArray(); in KeyDerivationParams()
|
/frameworks/base/libs/androidfw/ |
D | ObbFile.cpp | 80 memset(mSalt, 0, sizeof(mSalt)); in ObbFile() 203 memcpy(&mSalt, (unsigned char*)scanBuf + kSaltOffset, sizeof(mSalt)); in parseObbFile() 279 if (write(fd, mSalt, sizeof(mSalt)) != (ssize_t)sizeof(mSalt)) { in writeTo()
|
/frameworks/base/core/java/android/util/ |
D | HashedStringCache.java | 57 private byte[] mSalt; field in HashedStringCache 113 mDigester.update(mSalt); in hashString() 160 if (mSalt == null || needsNewSalt) { in populateSaltValues() 177 mSalt = saltString.getBytes(UTF_8); in populateSaltValues()
|
/frameworks/base/libs/storage/ |
D | ObbInfo.cpp | 28 mSalt(salt) {} in ObbInfo() 43 p->writeByteArray(mSaltSize, mSalt); in writeToParcel()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/ |
D | BackupStreamEncrypterTest.java | 64 private byte[] mSalt; field in BackupStreamEncrypterTest 70 mSalt = new byte[SALT_LENGTH]; in setUp() 73 mRandom.nextBytes(mSalt); in setUp() 221 return task.backup(mSecretKey, mSalt, ImmutableSet.of()); in runBackup() 230 return task.backup(mSecretKey, mSalt, ImmutableSet.copyOf(existingChunks)); in runBackup()
|
/frameworks/base/core/java/android/util/apk/ |
D | VerityBuilder.java | 183 private final byte[] mSalt; field in VerityBuilder.BufferedDigester 187 mSalt = salt; in BufferedDigester() 190 if (mSalt != null) { in BufferedDigester() 191 mMd.update(mSalt); in BufferedDigester() 219 if (mSalt != null) { in consume() 220 mMd.update(mSalt); in consume()
|