github.com/emmansun/gmsm@v0.29.1/zuc/eea_asm.go (about)

     1  //go:build (amd64 || arm64 || ppc64 || ppc64le) && !purego
     2  
     3  package zuc
     4  
     5  //go:noescape
     6  func genKeyStreamRev32Asm(keyStream []byte, pState *zucState32)
     7  
     8  func genKeyStreamRev32(keyStream []byte, pState *zucState32) {
     9  	if supportsAES {
    10  		genKeyStreamRev32Asm(keyStream, pState)
    11  	} else {
    12  		genKeyStreamRev32Generic(keyStream, pState)
    13  	}
    14  }