Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 86204 invoked from network); 26 Oct 2006 14:50:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 14:50:21 -0000 Received: (qmail 49748 invoked by uid 500); 26 Oct 2006 14:50:32 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 49714 invoked by uid 500); 26 Oct 2006 14:50:32 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 49703 invoked by uid 99); 26 Oct 2006 14:50:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 07:50:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 07:50:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8142F7142CB for ; Thu, 26 Oct 2006 07:49:16 -0700 (PDT) Message-ID: <11074793.1161874156526.JavaMail.root@brutus> Date: Thu, 26 Oct 2006 07:49:16 -0700 (PDT) From: "Daniel Fridlender (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Created: (HARMONY-1981) [classlib][java.math] optimization of BigInteger.modPow and BigInteger.pow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [classlib][java.math] optimization of BigInteger.modPow and BigInteger.pow -------------------------------------------------------------------------- Key: HARMONY-1981 URL: http://issues.apache.org/jira/browse/HARMONY-1981 Project: Harmony Issue Type: Improvement Reporter: Daniel Fridlender Priority: Minor The method modPow is important for cryptographic applications. We optimized it by + using sliding windows instead of the simpleminded square-and-multiply technique + optimizing Montogomery multiplication when computing squares We also optimized pow with a more efficient computation of squares. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira