Function hacl_sys::EverCrypt_Hash_Incremental_create_in
source · pub unsafe extern "C" fn EverCrypt_Hash_Incremental_create_in(
a: Spec_Hash_Definitions_hash_alg
) -> *mut EverCrypt_Hash_Incremental_hash_state
Expand description
Allocate initial state for the agile hash. The argument a
stands for the
choice of algorithm (see Hacl_Spec.h). This API will automatically pick the most
efficient implementation, provided you have called EverCrypt_AutoConfig2_init()
before. The state is to be freed by calling free
.