Cryptographic Code Library from DannyNiu/NJF
MySuiteA is a suite of C language source code library for cryptographic algorithms. It's written with modularity, self-sufficiency, API uniforminity in mind, and is highly portable.
Uniform APIs are designed for each type of primitives, allowing their instances to be created at compile, link, and run time. Higher-level algorithms may take lower-level primitives as parameters when instantiating (e.g. GCM mode plus AES blockcipher, RSA algorithm with SHA-256 hash function).
All objects, functions, and data types are layered according to:
Each type of concern are encapsulated within a specific layer, allowing modular code reuse at higher layer, supporting modular instantiability.
All codes constituting the algorithms are written absent any function call
to hosted libraries (i.e. no malloc
or fwrite
, etc.). Any necessary
working contexts are allocated by the user/caller before performing any
cryptographic computation.
MySuiteA will not, and cannot correctly adapt to all usage scenario, therefore any platform dependent concerns such as thread, async-signal, and async-cancel safety are left out of the suite and are to be handled by the user/caller.
Apart from US algorithms, a select few important national/regional standards from elsewhere around the globe are included in the suite. At the same time, an inclusion criteria is established to prevent scope creep.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。