Home
last modified time | relevance | path

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

/system/gatekeeper/
Dgatekeeper.cpp184 uint8_t to_sign[password_length + metadata_length]; in CreatePasswordHandle() local
185 memcpy(to_sign, password_handle, metadata_length); in CreatePasswordHandle()
186 memcpy(to_sign + metadata_length, password, password_length); in CreatePasswordHandle()
197 password_key, password_key_length, to_sign, sizeof(to_sign), salt); in CreatePasswordHandle()
/system/vold/
Dcryptfs.c304 unsigned char to_sign[RSA_KEY_SIZE_BYTES]; in keymaster_sign_object() local
305 size_t to_sign_size = sizeof(to_sign); in keymaster_sign_object()
306 memset(to_sign, 0, RSA_KEY_SIZE_BYTES); in keymaster_sign_object()
330 memcpy(to_sign + 1, object, min(RSA_KEY_SIZE_BYTES - 1, object_size)); in keymaster_sign_object()
348 to_sign, in keymaster_sign_object()
377 keymaster_blob_t input = { to_sign, to_sign_size }; in keymaster_sign_object()