NetBSD Problem Report #22618
Received: (qmail 2458 invoked by uid 605); 27 Aug 2003 15:05:06 -0000
Message-Id: <20030827150500.3DB887B2C@yeah-baby.shagadelic.org>
Date: Wed, 27 Aug 2003 08:05:00 -0700 (PDT)
From: thorpej@shagadelic.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: thorpej@shagadelic.org
To: gnats-bugs@gnats.netbsd.org
Subject: opencrypto only operates in-place
X-Send-Pr-Version: 3.95
>Number: 22618
>Category: kern
>Synopsis: opencrypto only operates in-place
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Aug 27 15:06:00 +0000 2003
>Closed-Date:
>Last-Modified:
>Originator: Jason R Thorpe
>Release: NetBSD 1.6X
>Organization:
>Environment:
System: NetBSD swinger.shagadelic.org 1.6X NetBSD 1.6X (SWINGER) #15: Tue Aug 26 15:43:43 PDT 2003 thorpej@yeah-baby.shagadelic.org:/u1/netbsd/src/sys/arch/i386/compile/SWINGER i386
Architecture: i386
Machine: i386
>Description:
opencrypto has a design flaw in that it only operates in-place,
i.e. it cannot perform an operation where the source buffer and
the destination buffer are different. This requires applications
that need to use different source and destination buffers to
copy the data to destination buffer before the crypto operation.
This is inefficient; the data could be copied while the crypto
operation is taking place.
>How-To-Repeat:
Attempt to use opencrypto with an application that uses different
buffers for source and destination with a crypto operation.
>Fix:
Infrastructure and API changes will be required in order to
address this issue.
>Release-Note:
>Audit-Trail:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.