- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for NewCBCDecrypter (0.22 sec)
-
src/crypto/aes/cbc_s390x.go
iv [BlockSize]byte } func (b *aesCipherAsm) NewCBCEncrypter(iv []byte) cipher.BlockMode { var c cbc c.b = b c.c = b.function copy(c.iv[:], iv) return &c } func (b *aesCipherAsm) NewCBCDecrypter(iv []byte) cipher.BlockMode { var c cbc c.b = b c.c = b.function + 128 // decrypt function code is encrypt + 128 copy(c.iv[:], iv) return &c } func (x *cbc) BlockSize() int { return BlockSize }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 1.6K bytes - Viewed (0) -
src/crypto/aes/cbc_ppc64x.go
iv [BlockSize]byte } func (b *aesCipherAsm) NewCBCEncrypter(iv []byte) cipher.BlockMode { var c cbc c.b = b c.enc = cbcEncrypt copy(c.iv[:], iv) return &c } func (b *aesCipherAsm) NewCBCDecrypter(iv []byte) cipher.BlockMode { var c cbc c.b = b c.enc = cbcDecrypt copy(c.iv[:], iv) return &c } func (x *cbc) BlockSize() int { return BlockSize }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:31 UTC 2024 - 1.7K bytes - Viewed (0) -
src/crypto/internal/boring/aes.go
type aesCipher struct { key []byte enc C.GO_AES_KEY dec C.GO_AES_KEY } type extraModes interface { // Copied out of crypto/aes/modes.go. NewCBCEncrypter(iv []byte) cipher.BlockMode NewCBCDecrypter(iv []byte) cipher.BlockMode NewCTR(iv []byte) cipher.Stream NewGCM(nonceSize, tagSize int) (cipher.AEAD, error) } var _ extraModes = (*aesCipher)(nil) func NewAESCipher(key []byte) (cipher.Block, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 10.2K bytes - Viewed (0) -
src/crypto/tls/cipher_suites.go
block, _ := des.NewTripleDESCipher(key) if isRead { return cipher.NewCBCDecrypter(block, iv) } return cipher.NewCBCEncrypter(block, iv) } func cipherAES(key, iv []byte, isRead bool) any { block, _ := aes.NewCipher(key) if isRead { return cipher.NewCBCDecrypter(block, iv) } return cipher.NewCBCEncrypter(block, iv) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 25.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(StreamReader).Read", Method, 0}, {"(StreamWriter).Close", Method, 0}, {"(StreamWriter).Write", Method, 0}, {"AEAD", Type, 2}, {"Block", Type, 0}, {"BlockMode", Type, 0}, {"NewCBCDecrypter", Func, 0}, {"NewCBCEncrypter", Func, 0}, {"NewCFBDecrypter", Func, 0}, {"NewCFBEncrypter", Func, 0}, {"NewCTR", Func, 0}, {"NewGCM", Func, 2}, {"NewGCMWithNonceSize", Func, 5},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)