src/crypto/internal/fips140/aes/cbc_noasm.go
raw| 1 | // Copyright 2024 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 | //go:build (!s390x && !ppc64 && !ppc64le) || purego |
| 6 | |
| 7 | package aes |
| 8 | |
| 9 | func cryptBlocksEnc(b *Block, civ *[BlockSize]byte, dst, src []byte) { |
| 10 | cryptBlocksEncGeneric(b, civ, dst, src) |
| 11 | } |
| 12 | |
| 13 | func cryptBlocksDec(b *Block, civ *[BlockSize]byte, dst, src []byte) { |
| 14 | cryptBlocksDecGeneric(b, civ, dst, src) |
| 15 | } |