nx_x509_verify_rsa_pkcs1_sha256_4096.nx
buildroot/runtime/nx_x509_verify_rsa_pkcs1_sha256_4096.nx
about
nx_x509_verify_rsa_pkcs1_sha256_4096.nx -- X.509 outer-signature
verify for sha256WithRSAEncryption signed certs with RSA-4096 keys.
Parallel to nx_x509_verify_rsa_pkcs1_sha256.nx (2048 variant).
Composes nx_rsa_pkcs1_v1_5_sha256_4096 with cert.tbs / cert.sig
byte ranges.
API:
nx_x509_verify_rsa_pkcs1_sha256_4096(tbs, tbs_len, sig, sig_len,
issuer_n_4096, issuer_e) -> verdict
Sealed verdict mirrors the 2048 variant shape (OK=1, fails=others).
license_tier: INDEPENDENT_REDERIVE
genealogy_id: international-research-sources/ietf/rfc_5280 + rfc_8017
lineage_id: nishi_x509_verify_rsa_pkcs1_sha256_4096_q1
dependencies 3 imports · 5 importers
imports: nx_syscalls.nxnx_u4096.nxnx_rsa_pkcs1_v1_5_sha256_4096.nx
imported by: nx_tls12_client.nxnx_tls12_mutant.nxnx_tls12_req.nxnx_x509_trust_root_kat.nxnx_x509_verify_under_issuer.nx
structs
| none |
consts
| 22 | const NX_X509_RSA_PKCS1_SHA256_4096_OK: i64 = 1 |
| 23 | const NX_X509_RSA_PKCS1_SHA256_4096_BAD_LEN: i64 = 2 |
| 24 | const NX_X509_RSA_PKCS1_SHA256_4096_BAD_SIG: i64 = 3 |
| 25 | const NX_X509_RSA_PKCS1_SHA256_4096_BAD_PUB: i64 = 4 |
| 26 | const NX_X509_RSA_PKCS1_SHA256_4096_VERDICT_N: i64 = 5 |
functions
| 28 | func nx_x509_rsa_pkcs1_sha256_4096_verdict_is_valid(v: i64) -> i64 called by 1: main |
| 34 | func nx_x509_verify_rsa_pkcs1_sha256_4096(tbs: *u8, tbs_len: i64, called by 3: tr_verify_ske_sigmainnx_x509_verify_under_issuer calls 1: rsa_pkcs1_v1_5_sha256_4096_verify |
| 47 | func main() -> i64 |