Subject: Re: rc5des on NetBSD/vax
To: Dave McGuire , Brian D Chase <bdc@world.std.com>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: port-vax
Date: 02/23/1999 11:18:34
On Sun, Feb 21, 1999 at 04:13:18PM -0500, Dave McGuire wrote:
> 
> >Opcode 9C, ROTL - rotate long.  There are also shift instructions for 32
> >and 64bit operands: ASHL and ASHQ.  I'd guess that with some hand
> >optimized assembler we'd see better performance.  God only knows what
> >other VAX instructions could be used or abused into speeding up things. 

RC5 needs 4 basic operations:

- ADD 
- XOR
- ROT by the constant 3
- ROT by (a variable % 32)

Are all available?

	-is