Searched refs:to_sign (Results 1 – 2 of 2) sorted by relevance
/system/gatekeeper/ |
D | gatekeeper.cpp | 186 UniquePtr<uint8_t[]> to_sign(new(std::nothrow) uint8_t[to_sign_size]); in CreatePasswordHandle() local 187 if (!to_sign) return false; in CreatePasswordHandle() 189 memcpy(to_sign.get(), &password_handle, metadata_length); in CreatePasswordHandle() 190 memcpy(to_sign.get() + metadata_length, password.Data<uint8_t>(), password.size()); in CreatePasswordHandle() 201 password_key, password_key_length, to_sign.get(), to_sign_size, salt); in CreatePasswordHandle()
|
/system/vold/ |
D | cryptfs.cpp | 360 unsigned char to_sign[RSA_KEY_SIZE_BYTES]; in keymaster_sign_object() local 361 size_t to_sign_size = sizeof(to_sign); in keymaster_sign_object() 362 memset(to_sign, 0, RSA_KEY_SIZE_BYTES); in keymaster_sign_object() 386 memcpy(to_sign + 1, object, std::min((size_t)RSA_KEY_SIZE_BYTES - 1, object_size)); in keymaster_sign_object() 395 ftr->keymaster_blob, ftr->keymaster_blob_size, KEYMASTER_CRYPTFS_RATE_LIMIT, to_sign, in keymaster_sign_object()
|