package fipsaes

Import Path
	github.com/tmc/go-iroh/internal/itls/shim/fipsaes (on go.dev)

Dependency Relation
	imports 2 packages, and imported by 2 packages

Involved Source Files Package fipsaes is a shim for crypto/internal/fips140/aes, exposing just the Block type and constructor the vendored crypto/tls casts to. It wraps the stdlib crypto/aes cipher.
Package-Level Type Names (only one)
/* sort by: | */
Block wraps a stdlib AES cipher.Block. Block cipher.Block BlockSize returns the cipher's block size. Decrypt decrypts the first block in src into dst. Dst and src must overlap entirely or not at all. Encrypt encrypts the first block in src into dst. Dst and src must overlap entirely or not at all. Block : crypto/cipher.Block func New(b cipher.Block) *Block func github.com/tmc/go-iroh/internal/itls/shim/fipsgcm.NewGCMForTLS12(b *Block) (cipher.AEAD, error) func github.com/tmc/go-iroh/internal/itls/shim/fipsgcm.NewGCMForTLS13(b *Block) (cipher.AEAD, error)
Package-Level Functions (only one)
New wraps a stdlib AES cipher.Block as a *Block.
Package-Level Constants (only one)
BlockSize is the AES block size in bytes.