Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2011 22:26:43 +0000
From:      aram baghomian <aram_baghomian@hotmail.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   FW: How to compile opencrypto separately
Message-ID:  <SNT140-W29F3A77817CA09A549FF4AE7CB0@phx.gbl>
In-Reply-To: <SNT140-W3835BCCFEA79A3081AE666E7CB0@phx.gbl>
References:  <SNT140-W4768C32C6CCB5302301581E7C50@phx.gbl>, <SNT140-W2051782FEB5EEF917A5CBFE7CA0@phx.gbl>, <SNT140-W33ACA8C83D5A4D597AA3C8E7CA0@phx.gbl>, <SNT140-W2836316026E772DF0B4B34E7CA0@phx.gbl>, <SNT140-W3835BCCFEA79A3081AE666E7CB0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help


Can any hacker help me?


From: aram_baghomian@hotmail.com
To: freebsd-hackers@freebsd.org
Subject: How to compile opencrypto separately
Date: Mon=2C 21 Nov 2011 06:24:17 +0000








Hi

I have some problems with opencrypto project  and i hope you want to help m=
e for solve them.

- I trying to add my hash algorithm into opencrypto project and compile it =
for use it later with cryptodev
and IPSEC vpn.

I use rmd160 as a sample and do this steps:
 1- rename rmd160.c & rmd160.h to myhash.c & myhash.h .
 2- change the name and the contents of the functions of rmd160 to myhash.(=
used standard form in the title of functions)
 3- add my function titles and variables in xform.c & xform.h .
 4- add my fixed value of my algorithm in the cryptodev.h .
 5- recompile my kernel with IPSEC option and cryptodev device .

But in the make time i get this error :

in function 'MYHASHUpdate_int' :
xform.c:759: undefined refrence to 'MYHASHUpdate'

what isn't enough in my steps?
what should i do?


thanks.

 		 	   		   		 	   		   		 	   		   		 	   		   		 	   		   		 	   		  =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SNT140-W29F3A77817CA09A549FF4AE7CB0>