diff options
author | Jack Lloyd <[email protected]> | 2019-02-26 10:38:03 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-02-26 10:38:03 -0500 |
commit | 53ea62781eebb7c2b744cefd1aa7db2e1c1909b4 (patch) | |
tree | 84d282d8657727154769172bff2670a21d313c55 /doc | |
parent | 6ff8ed38ccf5f29763e0d47b86d560ea7196d54a (diff) |
Another mistake
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mistakes.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/mistakes.rst b/doc/mistakes.rst index 6c9ccedf1..0bc1de743 100644 --- a/doc/mistakes.rst +++ b/doc/mistakes.rst @@ -13,6 +13,14 @@ later). Then an expressive C++ API could be built on top of the C API. This would have given us a stable ABI, allowed C applications to use the library, and (these days) make it easier to progressively rewrite the library in Rust. +Public Algorithm Specific Classes +------------------------------------ + +Classes like AES_128 and SHA_256 should never have been exposed to applications. +Intead such operations should have been accessible only via the higher level +interfaces (here BlockCipher and HashFunction). This would substantially reduce +the overall API and ABI surface. + Exceptions ----------- |