diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-17 05:49:02 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-17 06:03:01 +0200 |
commit | 34fd8f675f6094eecaa336bf1e294cf808a35ce3 (patch) | |
tree | fec0983301001191b99d8ec47262499e57a15a56 /src/crypto/zinc/poly1305/poly1305-mips-glue.h | |
parent | chacha20-x86_64: cascade down implementations (diff) | |
download | wireguard-monolithic-historical-34fd8f675f6094eecaa336bf1e294cf808a35ce3.tar.xz wireguard-monolithic-historical-34fd8f675f6094eecaa336bf1e294cf808a35ce3.zip |
crypto: pass simd by reference
Diffstat (limited to 'src/crypto/zinc/poly1305/poly1305-mips-glue.h')
-rw-r--r-- | src/crypto/zinc/poly1305/poly1305-mips-glue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/zinc/poly1305/poly1305-mips-glue.h b/src/crypto/zinc/poly1305/poly1305-mips-glue.h index 960abee..0e72c8b 100644 --- a/src/crypto/zinc/poly1305/poly1305-mips-glue.h +++ b/src/crypto/zinc/poly1305/poly1305-mips-glue.h @@ -22,7 +22,7 @@ static inline bool poly1305_init_arch(void *ctx, static inline bool poly1305_blocks_arch(void *ctx, const u8 *inp, const size_t len, const u32 padbit, - simd_context_t simd_context) + simd_context_t *simd_context) { poly1305_blocks_mips(ctx, inp, len, padbit); return true; @@ -30,7 +30,7 @@ static inline bool poly1305_blocks_arch(void *ctx, const u8 *inp, static inline bool poly1305_emit_arch(void *ctx, u8 mac[POLY1305_MAC_SIZE], const u32 nonce[4], - simd_context_t simd_context) + simd_context_t *simd_context) { poly1305_emit_mips(ctx, mac, nonce); return true; |