| // Copyright 2024 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| |
| //go:build (!amd64 && !arm64 && !s390x && !ppc64 && !ppc64le) || purego |
| |
| package aes |
| |
| func ctrBlocks1(b *Block, dst, src *[BlockSize]byte, ivlo, ivhi uint64) { |
| ctrBlocks(b, dst[:], src[:], ivlo, ivhi) |
| } |
| |
| func ctrBlocks2(b *Block, dst, src *[2 * BlockSize]byte, ivlo, ivhi uint64) { |
| ctrBlocks(b, dst[:], src[:], ivlo, ivhi) |
| } |
| |
| func ctrBlocks4(b *Block, dst, src *[4 * BlockSize]byte, ivlo, ivhi uint64) { |
| ctrBlocks(b, dst[:], src[:], ivlo, ivhi) |
| } |
| |
| func ctrBlocks8(b *Block, dst, src *[8 * BlockSize]byte, ivlo, ivhi uint64) { |
| ctrBlocks(b, dst[:], src[:], ivlo, ivhi) |
| } |