From 53ea62781eebb7c2b744cefd1aa7db2e1c1909b4 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Tue, 26 Feb 2019 10:38:03 -0500 Subject: Another mistake --- doc/mistakes.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') 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 ----------- -- cgit v1.2.3