Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.c197 static int keymaster_create_key(struct crypt_mnt_ftr *ftr) in keymaster_create_key() argument
203 if (ftr->keymaster_blob_size) { in keymaster_create_key()
276 memcpy(ftr->keymaster_blob, key, key_size); in keymaster_create_key()
277 ftr->keymaster_blob_size = key_size; in keymaster_create_key()
289 static int keymaster_sign_object(struct crypt_mnt_ftr *ftr, in keymaster_sign_object() argument
322 switch (ftr->kdf_type) { in keymaster_sign_object()
334 SLOGE("Unknown KDF type %d", ftr->kdf_type); in keymaster_sign_object()
346 ftr->keymaster_blob, in keymaster_sign_object()
347 ftr->keymaster_blob_size, in keymaster_sign_object()
354 keymaster_key_blob_t key = { 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,