crypt: Use int8 instead of int.
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
* Andrew Aldridge, [email protected]
|
* Andrew Aldridge, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
#define CRYPT_OUTPUT_BYTES (6 + 64 + 1 + 64 + 1)
|
#define CRYPT_OUTPUT_BYTES (6 + 64 + 1 + 64 + 1)
|
||||||
|
|
||||||
static const char* kHexAlphabet = "0123456789abcdef";
|
static const char* kHexAlphabet = "0123456789abcdef";
|
||||||
static const int kHexLookup[] = {
|
static const int8 kHexLookup[] = {
|
||||||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||||||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||||||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3,
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3,
|
||||||
|
|||||||
Reference in New Issue
Block a user