Date: Sun, 20 Nov 2011 11:56:04 +0000 From: aram baghomian <aram_baghomian@hotmail.com> To: <ctm-users@freebsd.org> Subject: How to compile opencrypto separately Message-ID: <SNT140-W33ACA8C83D5A4D597AA3C8E7CA0@phx.gbl> In-Reply-To: <SNT140-W2051782FEB5EEF917A5CBFE7CA0@phx.gbl> References: <SNT140-W4768C32C6CCB5302301581E7C50@phx.gbl>, <SNT140-W2051782FEB5EEF917A5CBFE7CA0@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi I have some problems with opencrypto project and i hope you want to help m= e for solve them. - I want to compile opencrypto code without to force compile it as a subsys= tem of kernel and with whole code of my kernel. How can i do that? - 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 build 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? i'm sorry for my english. thanks. =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SNT140-W33ACA8C83D5A4D597AA3C8E7CA0>