1
2
3
4
5
6
7 package aes
8
9 func ctrBlocks1(b *Block, dst, src *[BlockSize]byte, ivlo, ivhi uint64) {
10 ctrBlocks(b, dst[:], src[:], ivlo, ivhi)
11 }
12
13 func ctrBlocks2(b *Block, dst, src *[2 * BlockSize]byte, ivlo, ivhi uint64) {
14 ctrBlocks(b, dst[:], src[:], ivlo, ivhi)
15 }
16
17 func ctrBlocks4(b *Block, dst, src *[4 * BlockSize]byte, ivlo, ivhi uint64) {
18 ctrBlocks(b, dst[:], src[:], ivlo, ivhi)
19 }
20
21 func ctrBlocks8(b *Block, dst, src *[8 * BlockSize]byte, ivlo, ivhi uint64) {
22 ctrBlocks(b, dst[:], src[:], ivlo, ivhi)
23 }
24
View as plain text