mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-24 06:52:44 +03:00
Remove trailing whitespace
This commit is contained in:
parent
9809e176eb
commit
1322156d28
@ -2198,5 +2198,3 @@ True
|
||||
```
|
||||
This check verifies the implementation of `ChaCha`, `Poly1305` and the `AEAD`
|
||||
construction all work with the provided test vectors.
|
||||
|
||||
|
||||
|
@ -169,4 +169,3 @@ sbox8 = [[13, 2, 8, 4, 6, 15, 11, 1, 10, 9, 3, 14, 5, 0, 12, 7],
|
||||
[7, 11, 4, 1, 9, 12, 14, 2, 0, 6, 10, 13, 15, 3, 5, 8],
|
||||
[2, 1, 14, 7, 4, 10, 8, 13, 15, 12, 9, 0, 3, 5, 6, 11]
|
||||
]
|
||||
|
||||
|
@ -685,4 +685,3 @@ kats = [ 0x69217a3079908094e11121d042354a7c1f55b6482ca1a51e1b250dfd1ed0eef9
|
||||
, 0xc08aa1c286d709fdc7473744977188c895ba011014247e4efa8d07e78fec695c
|
||||
, 0xf03f5789d3336b80d002d59fdf918bdb775b00956ed5528e86aa994acb38fe2d
|
||||
]
|
||||
|
||||
|
@ -51,4 +51,3 @@ suffix = 0b000000001000000000000000000001
|
||||
property Bivium_correct = (Bivium(iv1, iv2)) == test_keystream
|
||||
property Bivium_search (x, y) = (Bivium(x, y)) == test_keystream
|
||||
property Bivium_search_with_suffix (x, y) = (Bivium(x, y#suffix)) == test_keystream
|
||||
|
||||
|
@ -54,4 +54,3 @@ test_keystream = 0b0111111101111011111101000011100000000000001000100000000000000
|
||||
|
||||
property Trivium_correct = (Trivium(iv1, iv2, iv3)) == test_keystream
|
||||
property Trivium_search (x, y, z) = (Trivium(x, y, z)) == test_keystream
|
||||
|
||||
|
@ -54,4 +54,3 @@ inRange : {n} (fin n, n >= 1) => Board n -> Position n -> Bit
|
||||
inRange qs x = x <= `(n - 1)
|
||||
|
||||
property nQueensProve x = (nQueens x) == False
|
||||
|
||||
|
@ -105,4 +105,3 @@ validMoveSequence moves = all [validMove a b | a <- moves | b <- drop`{1} moves]
|
||||
|
||||
solutionInNmoves : {n} (fin n) => [n] Board -> Bit
|
||||
property solutionInNmoves ms = validMoveSequence ([start] # ms # [second])
|
||||
|
||||
|
@ -172,4 +172,3 @@ malicious_block ([H0, H1, H2, H3, H4], M) k =
|
||||
| W <- Ws | K <- (Ks k)
|
||||
| t <- [0..79]
|
||||
]
|
||||
|
||||
|
@ -444,5 +444,3 @@ getSolverConfig :: ModuleM T.SolverConfig
|
||||
getSolverConfig = ModuleT $ do
|
||||
me <- get
|
||||
return (meSolverConfig me)
|
||||
|
||||
|
||||
|
@ -246,6 +246,3 @@ primLexer cfg cs = run inp Normal
|
||||
|
||||
-- vim: ft=haskell
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -730,6 +730,3 @@ z3exists = do
|
||||
case mPath of
|
||||
Nothing -> return (Just Z3NotFound)
|
||||
Just _ -> return Nothing
|
||||
|
||||
|
||||
|
||||
|
@ -564,4 +564,3 @@ instance PP Solved where
|
||||
where suDoc = maybe empty pp mb
|
||||
Unsolved -> text "unsolved"
|
||||
Unsolvable -> text "unsolvable"
|
||||
|
||||
|
@ -533,5 +533,3 @@ lookupVar x =
|
||||
case Map.lookup x (roVars ro) of
|
||||
Just s -> return s
|
||||
Nothing -> reportError $ UndefinedVariable x
|
||||
|
||||
|
||||
|
@ -89,5 +89,3 @@ cryIsFinType varInfo g ty =
|
||||
|
||||
where
|
||||
solved ps = Solved Nothing [ g { goal = p } | p <- ps ]
|
||||
|
||||
|
||||
|
@ -168,4 +168,3 @@ importType = go
|
||||
t2 <- go y
|
||||
t3 <- go z
|
||||
return (app f [t1,t2,t3])
|
||||
|
||||
|
@ -337,8 +337,3 @@ iLenFromThenTo i j k
|
||||
| Just x <- iIsExact i, Just y <- iIsExact j, Just z <- iIsExact k
|
||||
, Just r <- nLenFromThenTo x y z = iConst r
|
||||
| otherwise = iAnyFin
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -279,7 +279,3 @@ finishTodos =
|
||||
p' <- nonLinPropM p
|
||||
ps' <- finishTodos
|
||||
return (p' : ps')
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -515,5 +515,3 @@ linRel (x1,y1) (x2,y2) =
|
||||
let b = y1 - a * x1
|
||||
guard $ not $ a < 0 && b < 0 -- No way this will give a natural number.
|
||||
return (a,b)
|
||||
|
||||
|
||||
|
@ -841,6 +841,3 @@ cryNatOp op x y =
|
||||
Impossible -> PFalse -- It doesn't matter, but @false@ might anihilate.
|
||||
Return p -> p
|
||||
If p t e -> p :&& toProp t :|| Not p :&& toProp e
|
||||
|
||||
|
||||
|
||||
|
@ -509,5 +509,3 @@ eNoInf expr =
|
||||
(_, K Inf, _) -> Impossible
|
||||
(_, _, K Inf) -> Impossible
|
||||
_ -> return (f x' y' z')
|
||||
|
||||
|
||||
|
@ -211,6 +211,3 @@ crySimpExprStep1 expr =
|
||||
case (x,y,z) of
|
||||
(K a, K b, K c) -> K `fmap` IN.nLenFromThenTo a b c
|
||||
_ -> Nothing
|
||||
|
||||
|
||||
|
||||
|
@ -20,4 +20,3 @@ joinRotors (rotors, inputChar) = (rotors', outputChar)
|
||||
]
|
||||
rotors' = tail [ r | (_, _, r) <- ncrs ]
|
||||
(_, outputChar, _) = ncrs ! 0
|
||||
|
||||
|
@ -213,5 +213,3 @@ sbox = [
|
||||
0xe1, 0xf8, 0x98, 0x11, 0x69, 0xd9, 0x8e, 0x94, 0x9b, 0x1e, 0x87, 0xe9, 0xce, 0x55, 0x28, 0xdf,
|
||||
0x8c, 0xa1, 0x89, 0x0d, 0xbf, 0xe6, 0x42, 0x68, 0x41, 0x99, 0x2d, 0x0f, 0xb0, 0x54, 0xbb, 0x16
|
||||
]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user