Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: rod-chapman/SPARKNaCl

Tags

alire-4.0.1

Toggle alire-4.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sha384 (#38)

* Added SHA384

* Remove the RR32 and RR64

Both of the mentioned functions simply rename Rotate_Right. To increase
readability this commit removes both functions. Affected modules are
SHA256 and SHA512.

* Rename TS64 to Big_Endian_Unpack

This commit renames TS64 to Big_Endian_Unpack and propagates this change
to the modules implementing SHA256 and SHA512. Additionally,
Big_Endian_Get_Byte ghost function is added to prove the post condition
of the Big_Endian_Unpack.

* Replace TS64 with Big_Endian_Unpack in SHA384 pkg

This commit replaces the TS64 function with the Big_Endian_Unpack
function. Both functions are functionally identical but differ in their
implementation and what is proved about them.

* ReWIP: factored common SHA384, SHA512 code into parent packagage, tests pass still need to run proofs

* SHA384, moved common functions to SHA2_Common pkg

* Workaround for GNAT 14 codegen issue

* Discharged proofs

* Added Loop_Variant to prove subprogram termination

---------

Co-authored-by: mxar <[email protected]>

alire-4.0.0

Toggle alire-4.0.0's commit message
Update to version 4.0.0 and GNAT >= 12.1.1

perf3

Toggle perf3's commit message
Move constants and declarations to libary level to avoid multiple ela…

…boration of them. Remove inner block statement in * operator.

perf2

Toggle perf2's commit message
Remove unnecessary local variables. Proof and tests all OK and improv…

…es performance at -O0

new_mul_perf_baseline

Toggle new_mul_perf_baseline's commit message
Revert to original implementation of * as basis for performance test …

…against new_mul branch

perf1

Toggle perf1's commit message
Carchup merge branch 'master' into new_mul

alire3.0.0

Toggle alire3.0.0's commit message
Add correct dependency for GNAT >= 11.2.1

GNAT_CE_2021

Toggle GNAT_CE_2021's commit message
Add pragma Warnings to deal with wording change produced by SPARK Com…

…munity 2021

Unroll_First_Mul

Toggle Unroll_First_Mul's commit message
Unroll first iteration of main loop in *, and merge with initializati…

…on of T. A bit faster at all optimization levels.

No_Lookups

Toggle No_Lookups's commit message
Remove lookup tables for CSwap16 and CSwap32 and replace with a simpl…

…er expression.