From 6e425a9de8c003b5a733621a6b6730ec3cc902b8 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Sat, 23 Dec 2006 00:30:12 +0000 Subject: 20061220 --- module/keyring.m | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'module/keyring.m') diff --git a/module/keyring.m b/module/keyring.m index 753aea12..08a3ef94 100644 --- a/module/keyring.m +++ b/module/keyring.m @@ -41,6 +41,12 @@ Keyring: module # shifts shl: fn(i: self ref IPint, n: int): ref IPint; shr: fn(i: self ref IPint, n: int): ref IPint; + + # bitwise + and: fn(i1: self ref IPint, i2: ref IPint): ref IPint; + ori: fn(i1: self ref IPint, i2: ref IPint): ref IPint; + xor: fn(i1: self ref IPint, i2: ref IPint): ref IPint; + not: fn(i1: self ref IPint): ref IPint; }; # signature algorithm -- cgit v1.2.3