Searched refs:SALT_LEN (Results 1 – 2 of 2) sorted by relevance
/system/vold/ |
D | cryptfs.h | 43 #define SALT_LEN 16 macro 112 unsigned char salt[SALT_LEN]; /* The salt used for this encryption */
|
D | cryptfs.cpp | 1007 return PKCS5_PBKDF2_HMAC_SHA1(passwd, strlen(passwd), salt, SALT_LEN, in pbkdf2() 1026 salt, SALT_LEN, N, r, p, ikey, in scrypt() 1047 salt, SALT_LEN, N, r, p, ikey, in scrypt_keymaster() 1061 rc = crypto_scrypt(signature, signature_size, salt, SALT_LEN, in scrypt_keymaster() 1251 read(fd, salt, SALT_LEN); in create_encrypted_random_key()
|