mirror of
https://github.com/GaloisInc/cryptol.git
synced 2025-01-05 15:07:12 +03:00
Fix comment in Keccak example
Note: this is actually Cryptol 1 code. We should port it. I've started the process, but don't have a complete port yet.
This commit is contained in:
parent
9b6cde1f8d
commit
44f8bcd310
@ -18,7 +18,7 @@
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
* /
|
||||
*/
|
||||
|
||||
// Specification of the Keccak (SHA-3) hash function
|
||||
// Author: David Lazar
|
||||
@ -128,4 +128,4 @@ flatten A = join (join (transpose A));
|
||||
|
||||
xor : {a b} (fin a) => [a][b] -> [b];
|
||||
xor xs = xors ! 0
|
||||
where xors = [0] # [| x ^ z || x <- xs || z <- xors |];
|
||||
where xors = [0] # [| x ^ z || x <- xs || z <- xors |];
|
||||
|
Loading…
Reference in New Issue
Block a user