- #include <stdio.h>
- #include <stdlib.h>
- #include <CL/opencl.h>
- #include <string.h>
-
- #define SHA256_PLAINTEXT_LENGTH 80
- #define SHA256_RESULT_SIZE 32
- #define MAX_SOURCE_SIZE 16384
-
- void sha256_init(size_t user_kpc);
- void sha256_crypt(char input[], char* output);
|