From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 21 22:26:44 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 9AF1A106564A for ; Mon, 21 Nov 2011 22:26:44 +0000 (UTC) (envelope-from aram_baghomian@hotmail.com) Received: from snt0-omc2-s27.snt0.hotmail.com (snt0-omc2-s27.snt0.hotmail.com [65.55.90.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7144B8FC16 for ; Mon, 21 Nov 2011 22:26:44 +0000 (UTC) Received: from SNT140-W29 ([65.55.90.71]) by snt0-omc2-s27.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 21 Nov 2011 14:26:43 -0800 Message-ID: X-Originating-IP: [2.146.169.208] From: aram baghomian To: Date: Mon, 21 Nov 2011 22:26:43 +0000 Importance: Normal In-Reply-To: References: , , , , MIME-Version: 1.0 X-OriginalArrivalTime: 21 Nov 2011 22:26:43.0941 (UTC) FILETIME=[A5F2A950:01CCA89C] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FW: 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 22:26:44 -0000 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. =