diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-12-04 18:22:33 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-12-04 19:15:56 +0100 |
commit | 822c9e935a25a7590cd99b4c5407bb6596be41b7 (patch) | |
tree | bbb54a32dc204bd87174b6c444032a306f7e5c73 /src/methods/composed_gmac/composed_gmac.c | |
parent | 35748654f39a99c226cd14f3b92822eb64bd7037 (diff) | |
download | fastd-822c9e935a25a7590cd99b4c5407bb6596be41b7.tar fastd-822c9e935a25a7590cd99b4c5407bb6596be41b7.zip |
Change xor and xor_a back to work on pointers
For some reason, this makes GCC generate much better code on MIPS with -Os
Diffstat (limited to 'src/methods/composed_gmac/composed_gmac.c')
-rw-r--r-- | src/methods/composed_gmac/composed_gmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/methods/composed_gmac/composed_gmac.c b/src/methods/composed_gmac/composed_gmac.c index 25805fa..b3b22d6 100644 --- a/src/methods/composed_gmac/composed_gmac.c +++ b/src/methods/composed_gmac/composed_gmac.c @@ -215,7 +215,7 @@ static bool method_encrypt(fastd_context_t *ctx, fastd_peer_t *peer UNUSED, fast return false; } - xor_a(&outblocks[0], tag); + xor_a(&outblocks[0], &tag); fastd_buffer_free(in); |