// //------------------ DOK FILE -------------------------------------------------- +Header core.crypto.rsa =pkg core.crypto.rsa =title core.crypto.rsa =short =desc Documentation in progress... // // //------------------ PROTO ----------------------------------------------------- RSA +Proto RSA =type RSA =mode structure =pkg core.crypto.rsa =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- dPR +Proto dPR =type RSA -> BigNum =mode field =pkg core.crypto.rsa =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- dQR +Proto dQR =type RSA -> BigNum =mode field =pkg core.crypto.rsa =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- modulusR +Proto modulusR =type RSA -> BigNum =mode field =pkg core.crypto.rsa =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- pR +Proto pR =type RSA -> BigNum =mode field =pkg core.crypto.rsa =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- privExpR +Proto privExpR =type RSA -> BigNum =mode field =pkg core.crypto.rsa =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- pubExpR +Proto pubExpR =type RSA -> BigNum =mode field =pkg core.crypto.rsa =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- qInvR +Proto qInvR =type RSA -> BigNum =mode field =pkg core.crypto.rsa =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- qR +Proto qR =type RSA -> BigNum =mode field =pkg core.crypto.rsa =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- rsaComputePrivateExp +Proto rsaComputePrivateExp =type fun RSA BigNum -> BigNum =mode Function =pkg core.crypto.rsa =impl native =link =desc // +arg A =type RSA =desc // +arg B =type BigNum =desc // +arg result =type BigNum =desc // // //------------------ PROTO ----------------------------------------------------- rsaCreate +Proto rsaCreate =type fun Int Int -> RSA =mode Function =pkg core.crypto.rsa =impl native =link =desc // +arg A =type Int =desc // +arg B =type Int =desc // +arg result =type RSA =desc // // //------------------ PROTO ----------------------------------------------------- rsaDump +Proto rsaDump =type fun RSA -> RSA =mode Function =pkg core.crypto.rsa =impl native =link =desc // +arg A =type RSA =desc // +arg result =type RSA =desc // // //------------------ PROTO ----------------------------------------------------- rsaFromPQ +Proto rsaFromPQ =type fun BigNum BigNum BigNum -> RSA =mode Function =pkg core.crypto.rsa =impl native =link =desc // +arg A =type BigNum =desc // +arg B =type BigNum =desc // +arg C =type BigNum =desc // +arg result =type RSA =desc // // //------------------ PROTO ----------------------------------------------------- rsaFromPublic +Proto rsaFromPublic =type fun BigNum BigNum -> RSA =mode Function =pkg core.crypto.rsa =impl native =link =desc // +arg A =type BigNum =desc // +arg B =type BigNum =desc // +arg result =type RSA =desc // // //------------------ PROTO ----------------------------------------------------- rsaIsPrivate +Proto rsaIsPrivate =type fun RSA -> Bool =mode Function =pkg core.crypto.rsa =impl native =link =desc // +arg A =type RSA =desc // +arg result =type Bool =desc // // //------------------ PROTO ----------------------------------------------------- rsaModulus +Proto rsaModulus =type fun RSA -> BigNum =mode Function =pkg core.crypto.rsa =impl native =link =desc // +arg A =type RSA =desc // +arg result =type BigNum =desc // // //------------------ PROTO ----------------------------------------------------- rsaPubExp +Proto rsaPubExp =type fun RSA -> BigNum =mode Function =pkg core.crypto.rsa =impl native =link =desc // +arg A =type RSA =desc // +arg result =type BigNum =desc // // //------------------ PROTO ----------------------------------------------------- rsaRandomMsg +Proto rsaRandomMsg =type fun RSA -> BigNum =mode Function =pkg core.crypto.rsa =impl native =link =desc // +arg A =type RSA =desc // +arg result =type BigNum =desc