code wiki / rsa

topic: rsa

15 modules sharing the rsa name family (derived from the tree's prefix discipline).

The rsa topic family in the Nishi sovereign ecosystem provides tools for RSA cryptographic operations, supporting key generation and signature verification. nx_rsa_keygen handles RSA key creation, while nx_rsa_pkcs1_sign and nx_rsa_pkcs1_v1_5_sha256 enable secure signing and verification using PKCS#1 v1.5 with SHA-256. Additional modules extend these capabilities to larger key sizes and test scenarios, ensuring compatibility and correctness across different implementations.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_rsa_keygen.nxF103e RUNG 7: RSA key generation.36218
nx_rsa_pkcs1_sign.nxF103e RUNG 8: RSASSA-PKCS1-v1_5 SIGNING with SHA-256.2298
nx_rsa_pkcs1_v1_5_k.nxk-aware RSA-PKCS#1 v1.5 verify for RSA moduli1255
nx_rsa_pkcs1_v1_5_k_test.nxKAT vs openssl RSA-3072 (sha256 + sha384).13211
nx_rsa_pkcs1_v1_5_sha256.nxRSA-PKCS#1 v1.5 signature verify1424
nx_rsa_pkcs1_v1_5_sha256_4096.nxRSA-PKCS#1 v1.5 signature verify1233
nx_rsa_pkcs1_v1_5_sha256_4096_real_test.nxREAL RSA-4096 verify1163
nx_rsa_pkcs1_v1_5_sha256_4096_test.nxcompile + sealed-enum gate.341
nx_rsa_pkcs1_v1_5_sha256_real_test.nxKAT for RSA-PKCS#1 v1.51004
nx_rsa_pkcs1_v1_5_sha384.nxRSA-PKCS#1 v1.5 signature verify with1195
nx_rsa_pkcs1_v1_5_sha384_4096_test.nxKAT vs openssl RSA-4096/SHA-384.10681
nx_rsa_pkcs1_v1_5_sha384_test.nxKAT vs openssl RSA-2048/SHA-384.5511
nx_rsa_pkcs1_v1_5_sha512.nxRSA-PKCS#1 v1.5 signature verify with1336
nx_rsa_pss_sha256.nxRSASSA-PSS signature VERIFY with SHA-256 (MGF1-SHA-256, salt_len=32), RSA-2048.983
nx_rsa_pss_sha256_gate.nxKAT for rsa_pss_sha256_verify vs a REAL OpenSSL-3.2 RSA-PSS/SHA-256/salt32576