/ story-20-LeSec-the-application-library.org
story-20-LeSec-the-application-library.org
1 #+TITLE: Story 20 - Le'Sec, the application library 2 #+OPTIONS: author:nil date:nil 3 #+LANGUAGE: en 4 #+CATEGORY: lesec 5 6 Let's talk about Le'Sec! 7 8 This is a toolkit, both a higher level application library and a set of 9 command line tools. So far, it has grown organically, specifically to be make 10 a tool to interact with a cryptography plugin through Le'Sec Core. It's 11 currently very small, so the design has been able to remain fairly consistent. 12 13 * Le'Sec application library 14 15 Le'Sec's has a single routine library, generally called ~liblesec~ (on Unix, 16 it would have been fun to call it ~libesec~, to allow linking with ~-lesec~, 17 but I'm choosing not to to avoid confusion). 18 19 Symbol names in ~liblesec~ all start with ~LeSec_~, with the rest of the name 20 in lower case. Quite a few symbols are just aliases of Le'Sec Core symbols, 21 which allows them to change in the future without having to change Le'Sec 22 Core. It's therefore preferable that applications use symbol names starting 23 with ~LeSec_~ rather than with ~LSC_~. 24 25 * Le'Sec tools 26 27 Two tools are currently being developed: 28 29 - ~lesec-tool~, which is a generic tool to interact with a plugin. It's 30 developed in parallel with the development of the libtomcrypt plugin, among 31 others to test that the plugin is working as intended. 32 - ~lesec-speed~, which is a generic tool to benchmark the algorithm 33 implementations in a plugin. This is currently in very early development.