github.com/yanyiwu/go@v0.0.0-20150106053140-03d6637dbb7f/src/crypto/aes/cipher_generic.go (about)

     1  // Copyright 2012 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build !amd64
     6  
     7  package aes
     8  
     9  func encryptBlock(xk []uint32, dst, src []byte) {
    10  	encryptBlockGo(xk, dst, src)
    11  }
    12  
    13  func decryptBlock(xk []uint32, dst, src []byte) {
    14  	decryptBlockGo(xk, dst, src)
    15  }
    16  
    17  func expandKey(key []byte, enc, dec []uint32) {
    18  	expandKeyGo(key, enc, dec)
    19  }