: 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
Hi
Please help me to resolve this issue of segmentation fault.Below is the
stack trace from valgrind,may this helps:
valgrind ./ssl fecdba9876543210 40fedf386da13d57 test.txt test.des
==30856== Memcheck, a memory error detector
==30856== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et a
Hi,
Yes I have replaced them all with strlen.
I got the error in key generation at the checking whether key has generated
or not
--> if ((k = DES_set_key_checked((C_Block*)&cbc_key,&key)) != 0)
printf("\nkey error\n%d\n",k);
Every time it prints " key error : -1 " as output.
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 list
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
#include
#include
#include
#define ENC 1
#define DEC 0
int isDecryption(char inputFile[]);
void translate(unsigned char *dest, char *src);
int allHex(char input[]);
int main(int argc, char *argv[])
{
if (argc != 5)
{
printf("Incorrect number