From owner-cvs-all@FreeBSD.ORG Sun Jul 30 19:29:26 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D67E016A4DD; Sun, 30 Jul 2006 19:29:26 +0000 (UTC) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9635D43D45; Sun, 30 Jul 2006 19:29:26 +0000 (GMT) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6UJTQqn098063; Sun, 30 Jul 2006 19:29:26 GMT (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6UJTQ3x098062; Sun, 30 Jul 2006 19:29:26 GMT (envelope-from simon) Message-Id: <200607301929.k6UJTQ3x098062@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Sun, 30 Jul 2006 19:29:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libmp mpasbn.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 19:29:26 -0000 simon 2006-07-30 19:29:26 UTC FreeBSD src repository Modified files: lib/libmp mpasbn.c Log: Pass BN_CTX to internal functions instead of allocating it internally. This allows msqrt() to only call BN_CTX_new() once intead of many times. Suggested and reviewed by: stefanf Revision Changes Path 1.5 +35 -27 src/lib/libmp/mpasbn.c