25 #ifndef __SRP_HEADER__ 26 #define __SRP_HEADER__ 28 #ifndef __MOCANA_MIN_SRP_BITS__ 29 #define __MOCANA_MIN_SRP_BITS__ (2048) 83 const ubyte** modulus,
85 const ubyte** generator,
114 const ubyte* salt, ubyte4 saltLen,
115 const ubyte* uname, ubyte4 unameLen,
116 const ubyte* pw, ubyte4 pwLen,
118 ubyte** verifier, ubyte4* verifierLen);
MOC_EXTERN MSTATUS SRP_getGroupParameters2(ubyte4 bitNum, const ubyte **modulus, sbyte4 *modulusLen, const ubyte **generator, sbyte4 *generatorLen, const ubyte **k)
Gets the SRP Group parameters in Big Endian byte array form.
MOC_EXTERN MSTATUS SRP_computeVerifier(MOC_ASYM(hwAccelDescr hwAccelCtx) const ubyte *salt, ubyte4 saltLen, const ubyte *uname, ubyte4 unameLen, const ubyte *pw, ubyte4 pwLen, ubyte4 bitNum, ubyte **verifier, ubyte4 *verifierLen)
Computes the verifier for a user.
MOC_EXTERN MSTATUS SRP_getGroupParameters(ubyte4 bitNum, vlong **modulus, vlong **generator, vlong **k)
Gets the SRP Group parameters.