Cisco Access Token (CAT)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: cryptoEPPwdHash Token
Hi All,
         I'm working in H235 CAT implementation.The RRQ is rejected by the GK due to the mismatch in challenge.
I used OpenSSL library to generate digest(MD5).Please look at my implemenation. If any fault is there please let me know
 
    Pass - Character Pointer--------gateway123
    timeStamp - Four Byte---------1095444951
    ran            - unsigned char -----25
 
                   sprintf(Buffer,"%s%u%d", Pass,timeStamp,ran);---------  Output :gateway123109544495125
 
                  encodedLen=strlen(Buffer);
                  MD5Digest(Buffer,encodedLen,Digest); 
This Digest is put in the challenge filed.
 
Is this implementaion is correct????
 
Thanks
 
-Finny

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux