diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-11 14:25:28 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-11 14:25:28 +0100 |
commit | 32216b8d5dc5a6f0e3185b0d959e4db855ce7ac5 (patch) | |
tree | f1288270505e5bf5c6fed90e6dc8e59f2ab0a4dd /src/selftest/curve25519.h | |
parent | d8331fc7dcacd721a1d1ef85336faa99f19b3e82 (diff) |
global: move to consistent use of uN instead of uintN_t for kernel code
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/selftest/curve25519.h')
-rw-r--r-- | src/selftest/curve25519.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/selftest/curve25519.h b/src/selftest/curve25519.h index 1ba1dde..490b1e9 100644 --- a/src/selftest/curve25519.h +++ b/src/selftest/curve25519.h @@ -1,8 +1,8 @@ #ifdef DEBUG struct curve25519_test_vector { - uint8_t private[CURVE25519_POINT_SIZE]; - uint8_t public[CURVE25519_POINT_SIZE]; - uint8_t result[CURVE25519_POINT_SIZE]; + u8 private[CURVE25519_POINT_SIZE]; + u8 public[CURVE25519_POINT_SIZE]; + u8 result[CURVE25519_POINT_SIZE]; }; static const struct curve25519_test_vector curve25519_test_vectors[] = { { @@ -45,7 +45,7 @@ bool curve25519_selftest(void) { bool success = true; size_t i = 0; - uint8_t out[CURVE25519_POINT_SIZE]; + u8 out[CURVE25519_POINT_SIZE]; for (i = 0; i < ARRAY_SIZE(curve25519_test_vectors); ++i) { memset(out, 0, CURVE25519_POINT_SIZE); |