SURFEX v8.1
General documentation of Surfex
sha256_wrapper.F90
Go to the documentation of this file.
2 
3 use, intrinsic :: iso_c_binding
4 
5 implicit none
6 
7 interface
8  subroutine sha256_hash(message, n, sha, block, len_block, action) bind(c)
9  use iso_c_binding
10  type(c_ptr), value :: message
11  integer(c_int64_t), value :: n
12  integer(c_int32_t) :: sha(8)
13  integer(c_int8_t) :: block(64)
14  integer(c_int32_t) :: len_block
15  integer(c_int32_t), value :: action
16  end subroutine sha256_hash
17 end interface
18 
19 end module sha256_wrapper
20