2014-04-11 Marc Glisse <marc.glisse@inria.fr>
[official-gcc.git] / libgo / go / crypto / aes / cipher_generic.go
blob1714e0f1e5cbdba4d890998e9f0f6bc9388ac5fe
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.
5 // +build !amd64
7 package aes
9 func encryptBlock(xk []uint32, dst, src []byte) {
10 encryptBlockGo(xk, dst, src)
13 func decryptBlock(xk []uint32, dst, src []byte) {
14 decryptBlockGo(xk, dst, src)
17 func expandKey(key []byte, enc, dec []uint32) {
18 expandKeyGo(key, enc, dec)