Update to sodium 1.0.20.1 to .NET 8

This commit is contained in:
2025-03-18 12:50:30 +13:00
parent 78015046a5
commit 93108d7032
55 changed files with 3600 additions and 282 deletions

View File

@@ -0,0 +1,34 @@
using System.Runtime.CompilerServices;
namespace CSSUDII.Sodium.Interop
{
public partial struct crypto_hash_sha512_state
{
[NativeTypeName("uint64_t[8]")]
public _state_e__FixedBuffer state;
[NativeTypeName("uint64_t[2]")]
public _count_e__FixedBuffer count;
[NativeTypeName("uint8_t[128]")]
public _buf_e__FixedBuffer buf;
[InlineArray(8)]
public partial struct _state_e__FixedBuffer
{
public ulong e0;
}
[InlineArray(2)]
public partial struct _count_e__FixedBuffer
{
public ulong e0;
}
[InlineArray(128)]
public partial struct _buf_e__FixedBuffer
{
public byte e0;
}
}
}