commit | b4b41cad0ade42b4b5616803e6b8d5a59866683d | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Thu May 16 17:48:35 2019 -0500 |
committer | Adam Langley <alangley@gmail.com> | Fri May 17 00:21:36 2019 +0000 |
tree | 356a1887bd6cc194b71a7542752e00cd5b0bbdf4 | |
parent | c93e525df1b0e89504029a39275052544ed38d8f [diff] |
Remove no-op casts around tt1. I believe this is defined, but it's also unnecessary. Change-Id: I01313ece2134bd7afecb6c8539d35b5b06c6777a Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/36065 Reviewed-by: Adam Langley <alangley@gmail.com>
diff --git a/third_party/sike/fpx.c b/third_party/sike/fpx.c index 9ff88e8..0951418 100644 --- a/third_party/sike/fpx.c +++ b/third_party/sike/fpx.c
@@ -287,7 +287,7 @@ } sike_fprdc(tt3, c->c1); // c[1] = (a0+a1)*(b0+b1) - a0*b0 - a1*b1 - mp_addfast(&((crypto_word_t*)&tt1)[NWORDS_FIELD], t1, &((crypto_word_t*)&tt1)[NWORDS_FIELD]); + mp_addfast(&tt1[NWORDS_FIELD], t1, &tt1[NWORDS_FIELD]); sike_fprdc(tt1, c->c0); // c[0] = a0*b0 - a1*b1 }