From owner-freebsd-arch@FreeBSD.ORG Fri Dec 10 08:07:21 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D823616A4CE; Fri, 10 Dec 2004 08:07:21 +0000 (GMT) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4405543D5A; Fri, 10 Dec 2004 08:07:19 +0000 (GMT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-qfe3.prod.shaw.ca [10.0.141.179]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I8H00BKDYK6LN40@l-daemon>; Fri, 10 Dec 2004 01:07:18 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca ([10.0.121.151]) by pd3mr3so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I8H00JMYYK6ERO0@pd3mr3so.prod.shaw.ca>; Fri, 10 Dec 2004 01:07:18 -0700 (MST) Received: from [192.168.0.60] (S0106006067227a4a.vc.shawcable.net [24.87.233.42])2003)) with ESMTP id <0I8H00J3BYK61U@l-daemon>; Fri, 10 Dec 2004 01:07:18 -0700 (MST) Date: Fri, 10 Dec 2004 00:07:17 -0800 From: Colin Percival In-reply-to: <20041210075720.GR1130@darkness.comp.waw.pl> To: Pawel Jakub Dawidek Message-id: <41B95935.10505@wadham.ox.ac.uk> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime References: <41B92CF3.2090302@wadham.ox.ac.uk> <20041210075720.GR1130@darkness.comp.waw.pl> User-Agent: Mozilla Thunderbird 0.9 (X11/20041107) cc: freebsd-arch@freebsd.org Subject: Re: Adding standalone RSA code X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 08:07:22 -0000 Pawel Jakub Dawidek wrote: > On Thu, Dec 09, 2004 at 08:58:27PM -0800, Colin Percival wrote: > +> 1. It is lightweight (around 2% of the size of openssl), which > +> may allow it to be used in memory-limited environments, > > You compered size of the source or compiled library? > Compiled openssl library isn't too big... I was comparing /usr/lib/libcrypto.a (1.7 MB on my system) to the sum of the sizes of the object files built from my library code (38 kB). If you look at the number of lines of C files (counted using `wc -l` since I don't want to bother installing sloccount), my code is 1489 lines compared to openssl's 202982 lines. Colin Percival