From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 21 06:36:19 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0564D1065670 for ; Mon, 21 Nov 2011 06:36:19 +0000 (UTC) (envelope-from aram_baghomian@hotmail.com) Received: from snt0-omc2-s33.snt0.hotmail.com (snt0-omc2-s33.snt0.hotmail.com [65.55.90.108]) by mx1.freebsd.org (Postfix) with ESMTP id CECA88FC08 for ; Mon, 21 Nov 2011 06:36:18 +0000 (UTC) Received: from SNT140-W38 ([65.55.90.73]) by snt0-omc2-s33.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 20 Nov 2011 22:24:17 -0800 Message-ID: X-Originating-IP: [2.145.221.134] From: aram baghomian To: Date: Mon, 21 Nov 2011 06:24:17 +0000 Importance: Normal In-Reply-To: References: , , , MIME-Version: 1.0 X-OriginalArrivalTime: 21 Nov 2011 06:24:17.0704 (UTC) FILETIME=[32822A80:01CCA816] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to compile opencrypto separately X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2011 06:36:19 -0000 Hi I'm sorry=2C i forgot to register my email address to your mailing list. n= ow i registered in it and resend my question. 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. =