dyne / Zenroom

Embedded no-code VM executing human-like language to manipulate data and process cryptographic operations.
https://dev.zenroom.org
GNU Affero General Public License v3.0
195 stars 62 forks source link

RSA signature support #868

Closed jaromil closed 2 months ago

jaromil commented 5 months ago

Here we add support for RSA 2048 and 4096 signatures with a simple interface extending milagro's primitives.

For the API reference see rsa_*.h in build/milagro/include and rsa_support.h/c in lib/milagro../src

matteo-cristino commented 2 months ago

I see some discrepancy in the tabs in zen_rsa.c and zencode_rsa.lua (spaces vs tabs). Can you fix it before merging so that we have not to deal with it later on?