Home
last modified time | relevance | path

Searched refs:ftr (Results 1 – 2 of 2) sorted by relevance

/system/vold/
Dcryptfs.cpp111 static int keymaster_create_key(struct crypt_mnt_ftr *ftr) in keymaster_create_key() argument
113 if (ftr->keymaster_blob_size) { in keymaster_create_key()
119 KEYMASTER_CRYPTFS_RATE_LIMIT, ftr->keymaster_blob, KEYMASTER_BLOB_SIZE, in keymaster_create_key()
120 &ftr->keymaster_blob_size); in keymaster_create_key()
122 if (ftr->keymaster_blob_size > KEYMASTER_BLOB_SIZE) { in keymaster_create_key()
124 ftr->keymaster_blob_size = 0; in keymaster_create_key()
133 static int keymaster_sign_object(struct crypt_mnt_ftr *ftr, in keymaster_sign_object() argument
157 switch (ftr->kdf_type) { in keymaster_sign_object()
169 SLOGE("Unknown KDF type %d", ftr->kdf_type); in keymaster_sign_object()
172 return keymaster_sign_object_for_cryptfs_scrypt(ftr->keymaster_blob, ftr->keymaster_blob_size, in keymaster_sign_object()
[all …]
Dcryptfs.h250 int cryptfs_create_default_ftr(struct crypt_mnt_ftr* ftr, int key_length);
251 int cryptfs_get_master_key(struct crypt_mnt_ftr* ftr, const char* password,
253 int cryptfs_set_password(struct crypt_mnt_ftr* ftr, const char* password,