Re: Re : Re: Re : Generation of DES key for use in DES_encrypt1()

2014-08-31 Thread vineet59
: 14 errors from 5 contexts (suppressed: 25 > from 8) > Segmentation fault > > Respond me as soon as possible. > Thanks!! > > ---------------- > If you reply to this email, your message will be added to the > disc

Re: Re : Re: Re : Generation of DES key for use in DES_encrypt1()

2014-08-31 Thread vineet59
on as possible. Thanks!! -- View this message in context: http://openssl.6102.n7.nabble.com/Generation-of-DES-key-for-use-in-DES-encrypt1-tp52999p53170.html Sent from the OpenSSL - User mailing list archive at Nabble.com. __

Re: Re : Re: Re : Generation of DES key for use in DES_encrypt1()

2014-08-25 Thread vineet59
key error : -1 " as output. Please respond ASAP. Thanks!! Vineet -- View this message in context: http://openssl.6102.n7.nabble.com/Generation-of-DES-key-for-use-in-DES-encrypt1-tp52999p53038.html Sent from the OpenSSL - User mai

Re : Re: Re : Generation of DES key for use in DES_encrypt1()

2014-08-24 Thread nicolas . kox
Hi, did you replace them all? where does it fail? Which function, which line? This would be helpful. Regards Nico - Mail d'origine - De: vineet59 À: openssl-users@openssl.org Envoyé: Sun, 24 Aug 2014 11:33:02 +0200 (CEST) Objet: Re: Re : Generation of DES key for use in DES_enc

Re: Re : Generation of DES key for use in DES_encrypt1()

2014-08-24 Thread vineet59
Hi I have replaced the sizeof with strlen(),but still got the same error message. Please respond ASAP!! Thanks!! Vineet -- View this message in context: http://openssl.6102.n7.nabble.com/Generation-of-DES-key-for-use-in-DES-encrypt1-tp52999p53033.html Sent from the OpenSSL - User mailing

Re : Generation of DES key for use in DES_encrypt1()

2014-08-23 Thread nicolas . kox
o use strlen instead of sizeof best regards - Mail d'origine - De: vineet59 À: openssl-users@openssl.org Envoyé: Thu, 21 Aug 2014 21:20:31 +0200 (CEST) Objet: Generation of DES key for use in DES_encrypt1() #include #include #include #define ENC 1 #define DEC 0 int isDecrypt

Generation of DES key for use in DES_encrypt1()

2014-08-22 Thread vineet59
amp;& (t > ((int)'9'))) { return 0; } if ((t < ((int)'a')) && (t > ((int)'Z'))) { return 0; }

RE : Generation of DES key

2008-03-26 Thread EL HACHIMI Driss
Hello Abderrahmane, Thank you for your answer. Best Regards El hallabi-Kettani Abderrahmane <[EMAIL PROTECTED]> a écrit : Hello Driss, I think, it will be theDESCheckResult = DES_set_key_checked(&theDESKey1, &theSchedule); DES_ecb_encrypt((DES_cblock *) &buff, (DES_cblock *) &th

RE : Generation of DES key

2008-03-26 Thread El hallabi-Kettani Abderrahmane
Hello Driss, I think, it will be theDESCheckResult = DES_set_key_checked(&theDESKey1, &theSchedule); DES_ecb_encrypt((DES_cblock *) &buff, (DES_cblock *) &theOutput, &theSchedule, DES_ENCRYPT); Namely that DES_ecb_encrypt is described like that : void DES_ecb_encrypt(c

Generation of DES key

2008-03-26 Thread EL HACHIMI Driss
Hello, I need to encrypt a password with a DES key, I'm trying the following code: char * buff[20]; int theDESCheckResult; DES_cblock * theDESKey1; DES_key_schedule *theSchedule; DES_cblock * theOutput; ALMLog (@"Enter your DBPassword"); fgets((char *)&buff, 1