Home
last modified time | relevance | path

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

/system/vold/tests/
DCryptfsScryptHidlizationEquivalence_test.cpp49 #define RSA_KEY_SIZE_BYTES (RSA_KEY_SIZE / 8) macro
229 unsigned char to_sign[RSA_KEY_SIZE_BYTES]; in keymaster_sign_object_old()
231 memset(to_sign, 0, RSA_KEY_SIZE_BYTES); in keymaster_sign_object_old()
261 memcpy(to_sign + 1, object, min(RSA_KEY_SIZE_BYTES - 1, object_size)); in keymaster_sign_object_old()
375 unsigned char to_sign[RSA_KEY_SIZE_BYTES]; in keymaster_sign_object_new()
377 memset(to_sign, 0, RSA_KEY_SIZE_BYTES); in keymaster_sign_object_new()
401 memcpy(to_sign + 1, object, min(RSA_KEY_SIZE_BYTES - 1, object_size)); in keymaster_sign_object_new()
/system/vold/
Dcryptfs.cpp110 #define RSA_KEY_SIZE_BYTES (RSA_KEY_SIZE / 8) macro
156 unsigned char to_sign[RSA_KEY_SIZE_BYTES]; in keymaster_sign_object()
158 memset(to_sign, 0, RSA_KEY_SIZE_BYTES); in keymaster_sign_object()
182 memcpy(to_sign + 1, object, std::min((size_t)RSA_KEY_SIZE_BYTES - 1, object_size)); in keymaster_sign_object()