primitive type Salsa512 512 end




Salsa512(x::Vector{UInt128}) = reinterpret(Salsa512, x) |> first

import SIMD.valloc
valloc(t::Type, n) = valloc(t, sizeof(t), n)

import Base.zero
zero(::Type{Salsa512}) = zeros(UInt128, 4) |> Salsa512
