;;;; sha384-primitive.scm -*- Scheme -*- ;;;; Kon Lovett, Jul '18 (module sha384-primitive (;export sha384-primitive) (import scheme (chicken base) (chicken type) message-digest-primitive sha384-api) (include-relative "message-digest-primitive.types") (: sha384-primitive (-> message-digest-primitive)) (define sha384-primitive (let ((the-sha384-primitive (the (or false message-digest-primitive) #f))) (lambda () (unless the-sha384-primitive (set! the-sha384-primitive (make-message-digest-primitive context-size digest-length init update final #:block-length block-length #:raw-update raw-update #:name name)) ) the-sha384-primitive ) ) ) ) ;module sha384-primitive