Home
last modified time | relevance | path

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

/system/gatekeeper/
Dgatekeeper.cpp200 UniquePtr<uint8_t[]> to_sign(new(std::nothrow) uint8_t[to_sign_size]); in CreatePasswordHandle() local
201 if (!to_sign) return false; in CreatePasswordHandle()
203 memcpy(to_sign.get(), &password_handle, metadata_length); in CreatePasswordHandle()
204 memcpy(to_sign.get() + metadata_length, password.Data<uint8_t>(), password.size()); in CreatePasswordHandle()
215 password_key, password_key_length, to_sign.get(), to_sign_size, salt); in CreatePasswordHandle()
/system/vold/
Dcryptfs.cpp466 unsigned char to_sign[RSA_KEY_SIZE_BYTES]; in keymaster_sign_object() local
467 size_t to_sign_size = sizeof(to_sign); in keymaster_sign_object()
468 memset(to_sign, 0, RSA_KEY_SIZE_BYTES); in keymaster_sign_object()
492 memcpy(to_sign + 1, object, std::min((size_t)RSA_KEY_SIZE_BYTES - 1, object_size)); in keymaster_sign_object()
499 return keymaster_sign_object_for_cryptfs_scrypt(ftr, KEYMASTER_CRYPTFS_RATE_LIMIT, to_sign, in keymaster_sign_object()