src/crypto/internal/fips140/aes/interface_test.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 | package aes_test |
| 6 | |
| 7 | import ( |
| 8 | "crypto/cipher" |
| 9 | "crypto/internal/fips140/aes" |
| 10 | ) |
| 11 | |
| 12 | var _ cipher.Block = (*aes.Block)(nil) |
| 13 | var _ cipher.Stream = (*aes.CTR)(nil) |
| 14 | var _ cipher.BlockMode = (*aes.CBCDecrypter)(nil) |
| 15 | var _ cipher.BlockMode = (*aes.CBCEncrypter)(nil) |