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_secretstream_xchacha20poly1305_state
{
[NativeTypeName("unsigned char[32]")]
public _k_e__FixedBuffer k;
[NativeTypeName("unsigned char[12]")]
public _nonce_e__FixedBuffer nonce;
[NativeTypeName("unsigned char[8]")]
public __pad_e__FixedBuffer _pad;
[InlineArray(32)]
public partial struct _k_e__FixedBuffer
{
public byte e0;
}
[InlineArray(12)]
public partial struct _nonce_e__FixedBuffer
{
public byte e0;
}
[InlineArray(8)]
public partial struct __pad_e__FixedBuffer
{
public byte e0;
}
}
}