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)
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.
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |