aboutsummaryrefslogtreecommitdiff
path: root/crypto-defects.md
diff options
context:
space:
mode:
authorGravatar Andres Erbsen <andreser@mit.edu>2017-03-26 16:18:36 -0400
committerGravatar GitHub <noreply@github.com>2017-03-26 16:18:36 -0400
commit676c7329208619e7bab668e071bcd6628b5f1d87 (patch)
tree34725e7ec5b3242a88a67c2d7bc6b9e8de9fda8f /crypto-defects.md
parent1ebbf1a209518d6e043ec6831a770acf98e83009 (diff)
crypto-defects.md: add two tweetnacl bugs
Diffstat (limited to 'crypto-defects.md')
-rw-r--r--crypto-defects.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto-defects.md b/crypto-defects.md
index 3ab75b959..4ed390bc0 100644
--- a/crypto-defects.md
+++ b/crypto-defects.md
@@ -21,5 +21,8 @@ appearing in our code.
| [openssl#1593](https://rt.openssl.org/Ticket/Display.html?id=1593&user=guest&pass=guest) | P384 modular reduction | carry handling | [exploitable](https://eprint.iacr.org/2011/633.pdf) |
| [go#fa09811d](https://github.com/golang/crypto/commit/84e98f45760e87786b7f24603b8166a6fa09811d) | poly1305 reduction | AMD64 asm, missing subtraction of 3 | found quickly |
| [jose-adobe](https://blogs.adobe.com/security/2017/03/critical-vulnerability-uncovered-in-json-encryption.html) | ECDH-ES | 5 libraries | not onCurve |
+| [tweetnacl-m\[15\]](http://seb.dbzteam.org/blog/2014/04/28/tweetnacl_arithmetic_bug.html) | GF(2^255-19) freeze | bit-twiddly C | bounds? typo? |
+| [tweetnacl-U32](https://web.archive.org/web/20160305001036/http://blog.skylable.com/2014/05/tweetnacl-carrybit-bug/) | irrelevant | bit-twiddly C | `sizeof(long)!=32` |
+
Not covered in the above list: memory mismanagement (buffer overrun, use-after-free, uninitialized read, null dereference), timing attacks (branch, cache, instruction). While these issues are very important, there are good programming disciplines for avoiding them without verifying intricate details of the computation.