(constant (string->utf8 "expand 32-byte k"))
(primitive (make-primitive-procedure name 5)))
(define (zv n) (make-bytevector n 0))
+ (bytevector-u8-set! output 64 #xff)
(primitive output 0 input key constant)
+ (assert-= (bytevector-u8-ref output 64) #xff)
+ (bytevector-u8-set! output 0 #xff)
(primitive output 1 input key constant)
+ (assert-= (bytevector-u8-ref output 0) #xff)
(assert-error (lambda () (primitive output -1 input key constant)))
(assert-error (lambda () (primitive output 2 input key constant)))
(assert-error (lambda () (primitive output 3 input key constant)))