Searched refs:RSA_KEY_SIZE_BYTES (Results 1 – 2 of 2) sorted by relevance
/system/vold/tests/ |
D | CryptfsScryptHidlizationEquivalence_test.cpp | 49 #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/ |
D | cryptfs.cpp | 110 #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()
|