github.com/birneee/aes6@v0.0.0-20240131140838-9e8f775f7eae/block.go (about)

     1  package aes6
     2  
     3  import _ "unsafe"
     4  
     5  //go:linkname encryptBlockGo crypto/aes.encryptBlockGo
     6  func encryptBlockGo(xk []uint32, dst, src []byte)
     7  
     8  //go:linkname decryptBlockGo crypto/aes.decryptBlockGo
     9  func decryptBlockGo(xk []uint32, dst, src []byte)
    10  
    11  //go:linkname expandKeyGo crypto/aes.expandKeyGo
    12  func expandKeyGo(key []byte, enc, dec []uint32)