29 lines
622 B
C#
29 lines
622 B
C#
using System.Runtime.CompilerServices;
|
|
|
|
namespace CSSUDII.Sodium.Interop
|
|
{
|
|
public partial struct crypto_hash_sha256_state
|
|
{
|
|
[NativeTypeName("uint32_t[8]")]
|
|
public _state_e__FixedBuffer state;
|
|
|
|
[NativeTypeName("uint64_t")]
|
|
public ulong count;
|
|
|
|
[NativeTypeName("uint8_t[64]")]
|
|
public _buf_e__FixedBuffer buf;
|
|
|
|
[InlineArray(8)]
|
|
public partial struct _state_e__FixedBuffer
|
|
{
|
|
public uint e0;
|
|
}
|
|
|
|
[InlineArray(64)]
|
|
public partial struct _buf_e__FixedBuffer
|
|
{
|
|
public byte e0;
|
|
}
|
|
}
|
|
}
|