fixes issue #5: formatting problem with tabs vs spaces

This commit is contained in:
philsmd
2015-12-06 11:29:29 +01:00
parent c9b3bc17de
commit ef548d3088
45 changed files with 1792 additions and 1799 deletions
+2 -2
View File
@@ -973,7 +973,7 @@ static void AES256_ExpandKey (const uint *userkey, uint *rek)
i = 0;
j = 0;
while (1)
while (1)
{
uint temp = rek[j + 7];
@@ -1003,7 +1003,7 @@ static void AES256_ExpandKey (const uint *userkey, uint *rek)
rek[j + 15] = rek[j + 7] ^ rek[j + 14];
j += 8;
}
}
}
static void AES256_InvertKey (uint *rdk)
+2 -2
View File
@@ -36,8 +36,8 @@ void hc_clEnqueueWriteBuffer (cl_command_queue command_queue, cl_mem buffer, cl_
void hc_clEnqueueCopyBuffer (cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, size_t src_offset, size_t dst_offset, size_t cb, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event);
void hc_clFlush (cl_command_queue command_queue);
void hc_clFinish (cl_command_queue command_queue);
void hc_clGetDeviceIDs (cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id *devices, cl_uint *num_devices);
void hc_clGetDeviceInfo (cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret);
void hc_clGetDeviceIDs (cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id *devices, cl_uint *num_devices);
void hc_clGetDeviceInfo (cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret);
void hc_clGetPlatformIDs (cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms);
void hc_clGetPlatformInfo (cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret);
void hc_clReleaseCommandQueue (cl_command_queue command_queue);
+2 -2
View File
@@ -168,8 +168,8 @@ typedef struct
typedef struct
{
uint data_len;
uint data_buf[512];
uint data_len;
uint data_buf[512];
} cloudkey_t;