• Api Documentation
Show / Hide Table of Contents
  • CSChaCha20Unity
    • ChaCha20
    • SimdMode
    • Util
  • CSChaCha20Unity.SimdVectorSharp
    • SimdNative
    • Vector128
    • Vector256
    • Vector512

Class SimdNative

Inheritance
object
SimdNative
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CSChaCha20Unity.SimdVectorSharp
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
Type Name Description
byte[] input
UIntPtr length
UIntPtr offset
byte[] outArray

Vector128_IsHardwareAccelerated()

Declaration
public static extern bool Vector128_IsHardwareAccelerated()
Returns
Type Description
bool

Vector128_Xor(byte[], byte[], byte[])

Declaration
public static extern void Vector128_Xor(byte[] a, byte[] b, byte[] outArray)
Parameters
Type Name Description
byte[] a
byte[] b
byte[] outArray

Vector256_Create(byte[], UIntPtr, UIntPtr, byte[])

Declaration
public static extern void Vector256_Create(byte[] input, UIntPtr length, UIntPtr offset, byte[] outArray)
Parameters
Type Name Description
byte[] input
UIntPtr length
UIntPtr offset
byte[] outArray

Vector256_IsHardwareAccelerated()

Declaration
public static extern bool Vector256_IsHardwareAccelerated()
Returns
Type Description
bool

Vector256_Xor(byte[], byte[], byte[])

Declaration
public static extern void Vector256_Xor(byte[] a, byte[] b, byte[] outArray)
Parameters
Type Name Description
byte[] a
byte[] b
byte[] outArray

Vector512_Create(byte[], UIntPtr, UIntPtr, byte[])

Declaration
public static extern void Vector512_Create(byte[] input, UIntPtr length, UIntPtr offset, byte[] outArray)
Parameters
Type Name Description
byte[] input
UIntPtr length
UIntPtr offset
byte[] outArray

Vector512_IsHardwareAccelerated()

Declaration
public static extern bool Vector512_IsHardwareAccelerated()
Returns
Type Description
bool

Vector512_Xor(byte[], byte[], byte[])

Declaration
public static extern void Vector512_Xor(byte[] a, byte[] b, byte[] outArray)
Parameters
Type Name Description
byte[] a
byte[] b
byte[] outArray
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX