sha3_state Derived Type

type, public :: sha3_state


Components

Type Visibility Attributes Name Initial
integer(kind=int64), public, dimension(5,5) :: S
integer(kind=int8), public, dimension(:), pointer :: buffer
integer, public :: bufsize = -1
integer, public :: c
integer, public :: d
integer, public :: r

Source Code

type sha3_state
   integer :: d ! size of digest in bits
   integer :: c ! capacity in bits
   integer :: r ! rate, in bits
   integer(kind=int64), dimension(5,5) :: S ! state
   integer(kind=int8), dimension(:), pointer :: buffer
   integer :: bufsize = -1 ! the number of bytes actually usable in buffer
end type sha3_state