Class SimdNative
Assembly: CSChaCha20Unity.dll
Syntax
public static class SimdNative
Methods
Vector128_Create(byte[], UIntPtr, UIntPtr, byte[])
Declaration
public static extern void Vector128_Create(byte[] input, UIntPtr length, UIntPtr offset, byte[] outArray)
Parameters
Vector128_IsHardwareAccelerated()
Declaration
public static extern bool Vector128_IsHardwareAccelerated()
Returns
Vector128_Xor(byte[], byte[], byte[])
Declaration
public static extern void Vector128_Xor(byte[] a, byte[] b, byte[] outArray)
Parameters
Vector256_Create(byte[], UIntPtr, UIntPtr, byte[])
Declaration
public static extern void Vector256_Create(byte[] input, UIntPtr length, UIntPtr offset, byte[] outArray)
Parameters
Vector256_IsHardwareAccelerated()
Declaration
public static extern bool Vector256_IsHardwareAccelerated()
Returns
Vector256_Xor(byte[], byte[], byte[])
Declaration
public static extern void Vector256_Xor(byte[] a, byte[] b, byte[] outArray)
Parameters
Vector512_Create(byte[], UIntPtr, UIntPtr, byte[])
Declaration
public static extern void Vector512_Create(byte[] input, UIntPtr length, UIntPtr offset, byte[] outArray)
Parameters
Vector512_IsHardwareAccelerated()
Declaration
public static extern bool Vector512_IsHardwareAccelerated()
Returns
Vector512_Xor(byte[], byte[], byte[])
Declaration
public static extern void Vector512_Xor(byte[] a, byte[] b, byte[] outArray)
Parameters