Skip to content

Commit

Permalink
Trying to add an Fstar interface for Hacl SIMD Sha3.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzcf committed Dec 6, 2023
1 parent 697d323 commit d6ecfa0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proofs/fstar/extraction/Libcrux.Hacl.Sha3.Simd256.fsti
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module Libcrux.Hacl.Sha3.Simd256
#set-options "--fuel 0 --ifuel 1 --z3rlimit 15"
open Rust_primitives
open Core

val shake128 (v_LEN: usize) (payload0: t_Slice u8) (payload1: t_Slice u8) (payload2: t_Slice u8) (payload3: t_Slice u8): ((t_Array u8 v_LEN) & (t_Array u8 v_LEN) & (t_Array u8 v_LEN) & (t_Array u8 v_LEN))
1 change: 1 addition & 0 deletions proofs/fstar/extraction/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ VERIFIED = \
Libcrux.Kem.fst \
Libcrux.Kem.Kyber.Constants.fst \
Libcrux.Digest.fsti \
Libcrux.Hacl.Sha3.Simd256.fsti \
Libcrux.Kem.Kyber.Hash_functions.fst \
Libcrux.Kem.Kyber.Kyber768.fst \
Libcrux.Kem.Kyber.Kyber1024.fst \
Expand Down

0 comments on commit d6ecfa0

Please sign in to comment.