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 | 915507020046c9488f277d523c22bb12995e14ea (patch) | |
tree | 0bcde034f2f71ef6091a3cdb3793c09d43ce0f89 /src/selftest/chacha20poly1305.h | |
parent | receive: simplify ip header checking logic (diff) | |
download | wireguard-monolithic-historical-915507020046c9488f277d523c22bb12995e14ea.tar.xz wireguard-monolithic-historical-915507020046c9488f277d523c22bb12995e14ea.zip |
global: move to consistent use of uN instead of uintN_t for kernel code
Diffstat (limited to 'src/selftest/chacha20poly1305.h')
-rw-r--r-- | src/selftest/chacha20poly1305.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selftest/chacha20poly1305.h b/src/selftest/chacha20poly1305.h index 6b4893f..7f21ec6 100644 --- a/src/selftest/chacha20poly1305.h +++ b/src/selftest/chacha20poly1305.h @@ -1,7 +1,7 @@ #ifdef DEBUG /* ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2 */ struct chacha20poly1305_testvec { - uint8_t *key, *nonce, *assoc, *input, *result; + u8 *key, *nonce, *assoc, *input, *result; size_t alen, ilen; }; static const struct chacha20poly1305_testvec chacha20poly1305_enc_vectors[] = { { @@ -26,7 +26,7 @@ static const struct chacha20poly1305_testvec chacha20poly1305_dec_vectors[] = { bool chacha20poly1305_selftest(void) { size_t i; - uint8_t computed_result[512]; + u8 computed_result[512]; bool success = true; for (i = 0; i < ARRAY_SIZE(chacha20poly1305_enc_vectors); ++i) { |