Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.cpp369 static int keymaster_create_key(struct crypt_mnt_ftr* ftr) { in keymaster_create_key() argument
370 if (ftr->keymaster_blob_size) { in keymaster_create_key()
376 RSA_KEY_SIZE, RSA_EXPONENT, KEYMASTER_CRYPTFS_RATE_LIMIT, ftr->keymaster_blob, in keymaster_create_key()
377 KEYMASTER_BLOB_SIZE, &ftr->keymaster_blob_size); in keymaster_create_key()
379 if (ftr->keymaster_blob_size > KEYMASTER_BLOB_SIZE) { in keymaster_create_key()
381 ftr->keymaster_blob_size = 0; in keymaster_create_key()
389 static int keymaster_sign_object_for_cryptfs_scrypt(struct crypt_mnt_ftr* ftr, uint32_t ratelimit, in keymaster_sign_object_for_cryptfs_scrypt() argument
405 std::string key(reinterpret_cast<const char*>(ftr->keymaster_blob), ftr->keymaster_blob_size); in keymaster_sign_object_for_cryptfs_scrypt()
428 write_string_to_buf(*op.getUpgradedBlob(), ftr->keymaster_blob, KEYMASTER_BLOB_SIZE, in keymaster_sign_object_for_cryptfs_scrypt()
429 &ftr->keymaster_blob_size); in keymaster_sign_object_for_cryptfs_scrypt()
[all …]