https://github.com/project-everest/hacl-star
Raw File
Tip revision: b0655d04427e84c46e388869bd07367c7b249c9f authored by Jay Bosamiya on 22 October 2019, 07:25:15 UTC
Introduce another codeOnly that can be used
Tip revision: b0655d0
Hacl.Hash.MD.fsti
module Hacl.Hash.MD

open Hacl.Hash.Definitions
open Spec.Hash.Definitions

noextract inline_for_extraction
val mk_update_multi: a:hash_alg -> update:update_st a -> update_multi_st a

noextract inline_for_extraction
val mk_update_last: a:hash_alg -> update_multi_st a -> pad_st a -> update_last_st a

noextract inline_for_extraction
val mk_hash: a:hash_alg ->
  alloca:alloca_st a ->
  update_multi:update_multi_st a ->
  update_last:update_last_st a ->
  finish:finish_st a ->
  hash_st a
back to top