diff options
author | Guillaume LE VAILLANT <glv@posteo.net> | 2018-08-02 09:56:33 +0200 |
---|---|---|
committer | Guillaume LE VAILLANT <glv@posteo.net> | 2018-08-02 09:58:44 +0200 |
commit | e0ce7a37e8832a47c0a643d78da942c2119a36d2 (patch) | |
tree | bdf537ce3993fa64c246c8092ae39c3cf900ecfa /src/macs | |
parent | 0302de143c193eca763bb0344ed73781b4ccd3c4 (diff) |
Move generic function definitions to their own file
Diffstat (limited to 'src/macs')
-rw-r--r-- | src/macs/mac.lisp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/macs/mac.lisp b/src/macs/mac.lisp index 598d527..1d1d8ef 100644 --- a/src/macs/mac.lisp +++ b/src/macs/mac.lisp @@ -4,18 +4,6 @@ (in-package :crypto) -(defgeneric update-mac (mac thing &key &allow-other-keys) - (:documentation "Update the internal state of MAC with THING. -The exact method is determined by the type of THING.")) - -(defgeneric produce-mac (mac &key digest digest-start) - (:documentation "Return the hash of the data processed by -MAC so far. - -If DIGEST is provided, the hash will be placed into DIGEST starting at -DIGEST-START. DIGEST must be a (SIMPLE-ARRAY (UNSIGNED-BYTE 8) (*)). -An error will be signaled if there is insufficient room in DIGEST.")) - (defun macp (sym) (get sym '%make-mac)) |