- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for expandKeyGeneric (0.91 sec)
-
lib/fips140/v1.0.0.zip
)) } return newBlock(b, key), nil } func newBlockExpanded(c *blockExpanded, key []byte) { switch len(key) { case aes128KeySize: c.rounds = aes128Rounds case aes192KeySize: c.rounds = aes192Rounds case aes256KeySize: c.rounds = aes256Rounds } expandKeyGeneric(c, key) } func (c *Block) BlockSize() int { return BlockSize } func (c *Block) Encrypt(dst, src []byte) { // AES-ECB is not approved in FIPS 140-3 mode. fips140.RecordNonApproved() if len(src) < BlockSize { panic("crypto/aes: input not full block")...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)