: 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
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.
__
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
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
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
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
amp;& (t > ((int)'9')))
{
return 0;
}
if ((t < ((int)'a')) && (t > ((int)'Z')))
{
return 0;
}
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
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
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
10 matches
Mail list logo