Home
last modified time | relevance | path

Searched refs:SALT_SIZE (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/libs/androidfw/tests/
H A DObbFile_test.cpp67 #define SALT_SIZE 8 in TEST_F() macro
68 unsigned char salt[SALT_SIZE] = {0x01, 0x10, 0x55, 0xAA, 0xFF, 0x00, 0x5A, 0xA5}; in TEST_F()
69 EXPECT_TRUE(mObbFile->setSalt(salt, SALT_SIZE)) in TEST_F()
/aosp12/system/security/keystore/
H A Duser_state.cpp169 if (length > SALT_SIZE && rawBlob.info == SALT_SIZE) { in readMasterKey()
170 salt = (uint8_t*)&rawBlob + length - SALT_SIZE; in readMasterKey()
241 saltSize = SALT_SIZE; in generateKeyFromPassword()
H A Duser_state.h82 static constexpr size_t SALT_SIZE = 16; variable
96 uint8_t mSalt[SALT_SIZE];
/aosp12/system/security/keystore2/src/crypto/
H A Dcrypto.cpp180 static constexpr size_t SALT_SIZE = 16; variable
188 saltSize = SALT_SIZE; in generateKeyFromPassword()
/aosp12/system/security/keystore2/src/
H A Dlegacy_blob.rs209 const SALT_SIZE: usize = keystore2_crypto::SALT_LENGTH; const
320 Self::SALT_SIZE => Some(&buffer[buffer.len() - Self::SALT_SIZE..buffer.len()]), in new_from_stream()