Searched refs:SALT_SIZE (Results 1 – 5 of 5) sorted by relevance
67 #define SALT_SIZE 8 in TEST_F() macro68 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()
169 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()
82 static constexpr size_t SALT_SIZE = 16; variable96 uint8_t mSalt[SALT_SIZE];
180 static constexpr size_t SALT_SIZE = 16; variable188 saltSize = SALT_SIZE; in generateKeyFromPassword()
209 const SALT_SIZE: usize = keystore2_crypto::SALT_LENGTH; const320 Self::SALT_SIZE => Some(&buffer[buffer.len() - Self::SALT_SIZE..buffer.len()]), in new_from_stream()