Searched refs:ratelimit (Results 1 – 2 of 2) sorted by relevance
/system/vold/ |
D | Keymaster.cpp | 279 uint32_t ratelimit) { in keyParams() argument 285 .Authorization(km::TAG_MIN_SECONDS_BETWEEN_OPS, ratelimit); in keyParams() 289 uint32_t ratelimit, uint8_t* key_buffer, in keymaster_create_key_for_cryptfs_scrypt() argument 300 if (!dev.generateKey(keyParams(rsa_key_size, rsa_exponent, ratelimit), &key)) return -1; in keymaster_create_key_for_cryptfs_scrypt() 306 uint32_t ratelimit, const uint8_t* key_blob, in keymaster_upgrade_key_for_cryptfs_scrypt() argument 319 if (!dev.upgradeKey(old_key, keyParams(rsa_key_size, rsa_exponent, ratelimit), &new_key)) in keymaster_upgrade_key_for_cryptfs_scrypt() 326 const uint8_t* key_blob, size_t key_blob_size, uint32_t ratelimit, const uint8_t* object, in keymaster_sign_object_for_cryptfs_scrypt() argument 348 sleep(ratelimit); in keymaster_sign_object_for_cryptfs_scrypt()
|
D | Keymaster.h | 165 uint32_t ratelimit, uint8_t* key_buffer, 169 uint32_t ratelimit, const uint8_t* key_blob, 174 const uint8_t* key_blob, size_t key_blob_size, uint32_t ratelimit, const uint8_t* object,
|