src/HOL/SPARK/Examples/RIPEMD-160/wordops.adb
author wenzelm
Wed, 23 Jul 2025 14:53:21 +0200
changeset 82898 89da4dcd1fa8
parent 41561 d1318f3c86ba
permissions -rw-r--r--
clarified colors, following d6a14ed060fb;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41561
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     1
package body Wordops is
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     2
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     3
   function Rotate(I : Rotate_Amount; W : Word) return Word
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     4
   is
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     5
   begin
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     6
      return Interfaces.Rotate_Left (W, I);
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     7
   end Rotate;
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     8
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     9
end Wordops;