From owner-freebsd-arch@FreeBSD.ORG Fri Dec 10 08:20:16 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 D014916A4CE for ; Fri, 10 Dec 2004 08:20:16 +0000 (GMT) Received: from storm.uk.FreeBSD.org (storm.uk.FreeBSD.org [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C86D43D2F for ; Fri, 10 Dec 2004 08:20:16 +0000 (GMT) (envelope-from mark@grondar.org) Received: from storm.uk.FreeBSD.org (uucp@localhost [127.0.0.1]) by storm.uk.FreeBSD.org (8.13.1/8.13.1) with ESMTP id iBA8KDc0059577; Fri, 10 Dec 2004 08:20:14 GMT (envelope-from mark@grondar.org) Received: (from uucp@localhost)iBA8KC6H059576; Fri, 10 Dec 2004 08:20:12 GMT (envelope-from mark@grondar.org) Received: from grondar.org (localhost [127.0.0.1]) by grovel.grondar.org (8.13.1/8.13.1) with ESMTP id iBA8FTWw085726; Fri, 10 Dec 2004 08:15:29 GMT (envelope-from mark@grondar.org) Message-Id: <200412100815.iBA8FTWw085726@grovel.grondar.org> X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Colin Percival From: Mark Murray In-Reply-To: Your message of "Fri, 10 Dec 2004 00:07:17 PST." <41B95935.10505@wadham.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Dec 2004 08:15:29 +0000 Sender: mark@grondar.org 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:20:16 -0000 Colin Percival writes: > 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. Do you have a version of your code linked against OpenSSL? What is the size difference between a static link of your code vs a static link against OpenSSL? M -- Mark Murray iumop ap!sdn w,I idlaH