Hi Apoorva,

Did you compile ,execute "make check"  successfully for cryptodev-linux?

I was able to compile and install cryptodev-linux , but when I
executed  "make check" Command it fails with following errors

cc  -I..    -c -o cipher_comp.o cipher_comp.c
cc  -I..    -c -o openssl_wrapper.o openssl_wrapper.c
openssl_wrapper.c: In function ‘openssl_hmac’:
openssl_wrapper.c:136:5: error: invalid use of void expression
openssl_wrapper.c:144:3: error: invalid use of void expression
openssl_wrapper.c:152:3: error: invalid use of void expression
make[1]: *** [openssl_wrapper.o] Error 1
make[1]: Leaving directory
`/home/srisowj/cryptodev/
cryptodev-linux-1.6/tests'
make: *** [check] Error 2

Please can you let me know if you have any information regarding this?

BR,
& Srisowj


On Mon, Feb 23, 2015 at 4:30 PM,  <cryptodev-linux-devel-requ...@gna.org> wrote:
> Send Cryptodev-linux-devel mailing list submissions to
>         cryptodev-linux-devel@gna.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.gna.org/listinfo/cryptodev-linux-devel
> or, via email, send a message with subject or body 'help' to
>         cryptodev-linux-devel-requ...@gna.org
>
> You can reach the person managing the list at
>         cryptodev-linux-devel-ow...@gna.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Cryptodev-linux-devel digest..."
>
>
> Today's Topics:
>
>    1. Crypto dev Testing demo code error (Apoorva Bhatia)
>    2. Re: Cryptodev-linux-devel Digest, Vol 45, Issue 8
>       (Cristian Stoica)
>    3. Re: Crypto dev Testing demo code error (Nikos Mavrogiannopoulos)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 23 Feb 2015 10:57:59 +0530
> From: Apoorva Bhatia <apoorva18.bha...@gmail.com>
> To: cryptodev-linux-devel@gna.org
> Subject: [Cryptodev-linux-devel] Crypto dev Testing demo code error
> Message-ID:
>         <caj_p2pi-ketqgqzaiypqtsur1tkfubaawp8kuap27yatn8k...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> Actually I have been working on iMX6 processor (Sabre Lite board) which has
> CAAM which is the hardware accelerator. Now I need to load openssl and make
> it use CAAM. To do the same, I have first loaded a loadable module of
> cryptodev and then to check the same I use the demo code that Michael
> Ludwig had given on his page. cryptodev-demo1.c
> <http://www.logix.cz/michal/devel/cryptodev/cryptodev-demo1.c>
> Now, when I run it, I get this error:
> ioctl(CRIOGET): Inappropriate ioctl for device
>
> Could you please help with what could be the problem?
> Regards,
> Apoorva Bhatia
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> </public/cryptodev-linux-devel/attachments/20150223/a582b13d/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 23 Feb 2015 09:57:20 +0200
> From: Cristian Stoica <cristian.sto...@freescale.com>
> To: sri sowj <srisowj4li...@gmail.com>,
>         <cryptodev-linux-devel@gna.org>
> Subject: Re: [Cryptodev-linux-devel] Cryptodev-linux-devel Digest, Vol
>         45, Issue 8
> Message-ID: <54eadd60.9020...@freescale.com>
> Content-Type: text/plain; charset="utf-8"
>
> On 02/22/2015 12:49 AM, sri sowj wrote:
>> looks like eng_cryptodev.c does not compile itself.
>> Steps followed to compile openssl:
>> ./config -DHAVE_CRYPTODEV and -DUSE_CRYPTODEV_DIGESTS
>> make
>>
>> Some of the errors:
>> eng_cryptodev.c:1498: error: ?CRF_MOD_EXP? undeclared (first use in
>> this function)
>
> You must also tell openssl where to find cryptodev.
> Try adding -I/path/to/cryptodev to your ./config command.
>
> Cristian S.
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 23 Feb 2015 09:32:24 +0100
> From: Nikos Mavrogiannopoulos <n...@gnutls.org>
> To: Apoorva Bhatia <apoorva18.bha...@gmail.com>
> Cc: "cryptodev-linux-devel@gna.org" <cryptodev-linux-devel@gna.org>
> Subject: Re: [Cryptodev-linux-devel] Crypto dev Testing demo code
>         error
> Message-ID:
>         <CAJU7zaLuJbzN7anWF=gz7mas8ui+twbkjw7z3a6xqjnjx61...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Mon, Feb 23, 2015 at 6:27 AM, Apoorva Bhatia <apoorva18.bha...@gmail.com>
> wrote:
>
>> Hi,
>>
>> Actually I have been working on iMX6 processor (Sabre Lite board) which
>> has CAAM which is the hardware accelerator. Now I need to load openssl and
>> make it use CAAM. To do the same, I have first loaded a loadable module of
>> cryptodev and then to check the same I use the demo code that Michael
>> Ludwig had given on his page. cryptodev-demo1.c
>> <http://www.logix.cz/michal/devel/cryptodev/cryptodev-demo1.c>
>> Now, when I run it, I get this error:
>> ioctl(CRIOGET): Inappropriate ioctl for device
>>
>
> The page of Michael Ludwig is for a different project that had a similar
> name 10 years ago. Now the projects are combined under cryptodev-linux, so
> you'd better use the examples in which are found in cryptodev-linux source
> code.
>
> regards,
> Nikos
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> </public/cryptodev-linux-devel/attachments/20150223/41c4d014/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Cryptodev-linux-devel mailing list
> Cryptodev-linux-devel@gna.org
> https://mail.gna.org/listinfo/cryptodev-linux-devel
>
>
> ------------------------------
>
> End of Cryptodev-linux-devel Digest, Vol 45, Issue 11
> *****************************************************

_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to