Searched refs:ftr (Results 1 – 1 of 1) sorted by relevance
108 static void get_device_scrypt_params(struct crypt_mnt_ftr *ftr) { in get_device_scrypt_params() argument148 ftr->N_factor = params[0]; in get_device_scrypt_params()149 ftr->r_factor = params[1]; in get_device_scrypt_params()150 ftr->p_factor = params[2]; in get_device_scrypt_params()878 struct crypt_mnt_ftr *ftr = (struct crypt_mnt_ftr *) params; in scrypt() local880 int N = 1 << ftr->N_factor; in scrypt()881 int r = 1 << ftr->r_factor; in scrypt()882 int p = 1 << ftr->p_factor; in scrypt()961 static void get_kdf_func(struct crypt_mnt_ftr *ftr, kdf_func *kdf, void** kdf_params) in get_kdf_func() argument963 if (ftr->kdf_type == KDF_SCRYPT) { in get_kdf_func()[all …]