Home
last modified time | relevance | path

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

/system/vold/
DKeymaster.cpp278 static km::AuthorizationSet keyParams(uint32_t rsa_key_size, uint64_t rsa_exponent, in keyParams() argument
281 .RsaSigningKey(rsa_key_size, rsa_exponent) in keyParams()
288 int keymaster_create_key_for_cryptfs_scrypt(uint32_t rsa_key_size, uint64_t rsa_exponent, 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()
305 int keymaster_upgrade_key_for_cryptfs_scrypt(uint32_t rsa_key_size, uint64_t rsa_exponent, 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()
DKeymaster.h164 int keymaster_create_key_for_cryptfs_scrypt(uint32_t rsa_key_size, uint64_t rsa_exponent,
168 int keymaster_upgrade_key_for_cryptfs_scrypt(uint32_t rsa_key_size, uint64_t rsa_exponent,