github.com/deroproject/derosuite@v2.1.6-1.0.20200307070847-0f2e589c7a2b+incompatible/cryptonight/x86.go (about)

     1  // +build amd64
     2  
     3  package cryptonight
     4  
     5  import "github.com/intel-go/cpuid"
     6  
     7  func init() {
     8  	if cpuid.HasFeature(cpuid.AES) {
     9  		HardwareAES = true
    10  	}
    11  }
    12  
    13  // defined in assembly
    14  func encryptAESRound(xk *uint32, dst, src *uint32)
    15  
    16  // defined in assembly
    17  func encrypt10AESRound(xk *uint32, dst, src *uint32)
    18  
    19  // defined in assembly
    20  func mul6464128(input *uint64)