Copyright | (c) Marcel Fourné 20[09..] |
---|---|
License | BSD3 |
Maintainer | Marcel Fourné (haskell@marcelfourne.de) |
Stability | experimental |
Portability | Good |
Safe Haskell | None |
Language | Haskell98 |
ECC Base algorithms & point formats for NIST Curves as specified in NISTReCur.pdf[http:/csrc.nist.govgroupsSTtoolkitdocumentsdss/NISTReCur.pdf] Re Timing-Attacks: We depend on (==) being resistant for Integer.
Documentation
sizeinWords :: Int -> Int Source #
determine the needed storage for a bitlength in Words
one :: Int -> Vector Word Source #
a vector of zeros of requested length, but least significant word 1
two :: Int -> Vector Word Source #
a vector of zeros of requested length, but least significant word 2