From b6fe1441a456f88bc1696f93924824ff05941b48 Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 23 Aug 2024 07:40:03 +0100 Subject: [PATCH] --- crypto_router_asic.mdwn | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/crypto_router_asic.mdwn b/crypto_router_asic.mdwn index 92c8333a3..32229315a 100644 --- a/crypto_router_asic.mdwn +++ b/crypto_router_asic.mdwn @@ -20,26 +20,36 @@ To build the foundations of a cryptographic extension of the Power ISA, allowing anyone interested to build upon this effort and make an Cryptorouter FPGA or ASIC for oneself. -# Deliverables are at top-level bugreport 589 +# Deliverables are at top-level bugreport 589 * a set of general-purpose scalar instructions suitable for cryptographic applications as well as many other purposes * documentation of said instructions (already done, [[bitmanip]] [[bigint]]) * reference HDL implementation of a number of them (not possible within limited 2021-02-051 budget [[nlnet_2021_crypto_router]] ) -* additional specification and simulation for concepts like a REMAP engine and element width -overrides which, when implemented, will allow efficient implementation of many +* additional specification of and simulation for concepts like a REMAP engine and element width +overrides which, when implemented also in HDL, will allow hyper-efficient acceleration of many fundamental crypto algorithms. (implemented 100% in simulator, allowing 100% successful implementation of Simple-V-PowerISA assembler to be made, but limited budget of 2021-02-051 was insufficient to complete HDL implementation of REMAP and elwidths) * a flexible HDL platform (ls2) for implementing a System-on-Chip on an FPGA or ASIC +One catastrophic mistake made by many cryptographic instruction implementations +is to create over-specific instructions. "multiply by 2 then subtract 5" for example +(the basis of a RISC-V chacha20 "accelerator"!) + ## TODO Links to: * sub-page about historical reasoning for some of the decisions taken -* documentation and examples for the crypto instructions +(probably not needed, cesar) +* documentation and demonstration of the general-purpose instructions that happen +to also help accelerate cryptographic algorithms + https://bugs.libre-soc.org/show_bug.cgi?id=773 * bug reports, git commits and other wiki pages +https://libre-soc.org/openpower/sv/cookbook/chacha20/ - this was actually done under https://bugs.libre-soc.org/show_bug.cgi?id=952 2022-08-051 https://libre-soc.org/nlnet_2022_opf_isa_wg/ and only has TEN INSTRUCTIONS in the inner +loop entire algorithm. + # Helpful information for Cryptorouter implementations: Given the work above, the information below is useful for allowing anyone -- 2.30.2