Searched refs:ftr (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | cryptfs.cpp | 336 static int keymaster_create_key(struct crypt_mnt_ftr* ftr) { in keymaster_create_key() argument 337 if (ftr->keymaster_blob_size) { in keymaster_create_key() 343 RSA_KEY_SIZE, RSA_EXPONENT, KEYMASTER_CRYPTFS_RATE_LIMIT, ftr->keymaster_blob, in keymaster_create_key() 344 KEYMASTER_BLOB_SIZE, &ftr->keymaster_blob_size); in keymaster_create_key() 346 if (ftr->keymaster_blob_size > KEYMASTER_BLOB_SIZE) { in keymaster_create_key() 348 ftr->keymaster_blob_size = 0; in keymaster_create_key() 357 static int keymaster_sign_object(struct crypt_mnt_ftr* ftr, const unsigned char* object, in keymaster_sign_object() argument 378 switch (ftr->kdf_type) { in keymaster_sign_object() 390 SLOGE("Unknown KDF type %d", ftr->kdf_type); in keymaster_sign_object() 395 ftr->keymaster_blob, ftr->keymaster_blob_size, KEYMASTER_CRYPTFS_RATE_LIMIT, to_sign, in keymaster_sign_object() [all …]
|