diff options
Diffstat (limited to 'module/keyring.m')
| -rw-r--r-- | module/keyring.m | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
