- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for cbc (0.02 sec)
-
src/crypto/aes/modes.go
// implementation of CBC encryption through the cipher.BlockMode interface. // See crypto/cipher/cbc.go. type cbcEncAble interface { NewCBCEncrypter(iv []byte) cipher.BlockMode } // cbcDecAble is implemented by cipher.Blocks that can provide an optimized // implementation of CBC decryption through the cipher.BlockMode interface. // See crypto/cipher/cbc.go. type cbcDecAble interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 14 15:32:26 UTC 2018 - 1.1K bytes - Viewed (0) -
src/crypto/cipher/cbc_aes_test.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // CBC AES test vectors. // See U.S. National Institute of Standards and Technology (NIST) // Special Publication 800-38A, ``Recommendation for Block Cipher // Modes of Operation,'' 2001 Edition, pp. 24-29. package cipher_test import ( "bytes" "crypto/aes" "crypto/cipher"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 2.9K bytes - Viewed (0) -
src/crypto/cipher/benchmark_test.go
var iv [16]byte aes, _ := aes.NewCipher(key[:]) cbc := cipher.NewCBCEncrypter(aes, iv[:]) for i := 0; i < b.N; i++ { cbc.CryptBlocks(buf, buf) } } func BenchmarkAESCBCDecrypt1K(b *testing.B) { buf := make([]byte, 1024) b.SetBytes(int64(len(buf))) var key [16]byte var iv [16]byte aes, _ := aes.NewCipher(key[:]) cbc := cipher.NewCBCDecrypter(aes, iv[:]) for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 28 19:13:50 UTC 2021 - 3.3K bytes - Viewed (0) -
src/crypto/cipher/cipher_test.go
for _, b := range []cipher.Block{a, d} { iv := make([]byte, b.BlockSize()) cbce := cipher.NewCBCEncrypter(b, iv) cbce.CryptBlocks(ct, pt[:0]) assertEqual("CBC encrypt", ct, pt) cbcd := cipher.NewCBCDecrypter(b, iv) cbcd.CryptBlocks(ct, pt[:0]) assertEqual("CBC decrypt", ct, pt) cfbe := cipher.NewCFBEncrypter(b, iv) cfbe.XORKeyStream(ct, pt[:0]) assertEqual("CFB encrypt", ct, pt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 21:42:23 UTC 2016 - 2.2K bytes - Viewed (0) -
src/crypto/x509/pem_decrypt_test.go
pemData []byte plainDER string }{ { kind: PEMCipherDES, password: []byte("asdf"), pemData: []byte(testingKey(` -----BEGIN RSA TESTING KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-CBC,34F09A4FC8DE22B5 WXxy8kbZdiZvANtKvhmPBLV7eVFj2A5z6oAxvI9KGyhG0ZK0skfnt00C24vfU7m5 ICXeoqP67lzJ18xCzQfHjDaBNs53DSDT+Iz4e8QUep1xQ30+8QKX2NA2coee3nwc 6oM1cuvhNUDemBH2i3dKgMVkfaga0zQiiOq6HJyGSncCMSruQ7F9iWEfRbFcxFCx
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 20:03:55 UTC 2019 - 8.9K bytes - Viewed (0) -
internal/fips/api.go
} // TLSCiphersBackwardCompatible returns a list of supported // TLS transport cipher suite IDs. // // In contrast to TLSCiphers, the list contains additional // ciphers for backward compatibility. In particular, AES-CBC // and non-ECDHE ciphers. func TLSCiphersBackwardCompatible() []uint16 { if Enabled { return []uint16{ tls.TLS_AES_128_GCM_SHA256, // TLS 1.3 tls.TLS_AES_256_GCM_SHA384,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Dec 30 19:37:07 UTC 2022 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes.go
return result[:nonceSize+len(cipherText)], nil } // cbc implements encryption at rest of the provided values given a cipher.Block algorithm. type cbc struct { block cipher.Block } // NewCBCTransformer takes the given block cipher and performs encryption and decryption on the given // data. func NewCBCTransformer(block cipher.Block) value.Transformer { return &cbc{block: block} } var (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 19:25:52 UTC 2023 - 9.6K bytes - Viewed (0) -
src/crypto/tls/cipher_suites.go
// property a cipher suite can have is forward secrecy. We don't // implement FFDHE, so that means ECDHE. // // - AEADs come before CBC ciphers // // Even with Lucky13 countermeasures, MAC-then-Encrypt CBC cipher suites // are fundamentally fragile, and suffered from an endless sequence of // padding oracle attacks. See https://eprint.iacr.org/2015/1129,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 25.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/types_encryption.go
type ProviderConfiguration struct { // aesgcm is the configuration for the AES-GCM transformer. AESGCM *AESConfiguration // aescbc is the configuration for the AES-CBC transformer. AESCBC *AESConfiguration // secretbox is the configuration for the Secretbox based transformer. Secretbox *SecretboxConfiguration // identity is the (empty) configuration for the identity transformer.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy
where: encryptionTransformation | source "AES/ECB/PKCS5PADDING" | EncryptionKind.KEYSTORE "AES/CBC/PKCS5PADDING" | EncryptionKind.KEYSTORE "AES/ECB/PKCS5PADDING" | EncryptionKind.ENV_VAR "AES/CBC/PKCS5PADDING" | EncryptionKind.ENV_VAR } def "configuration cache encryption enablement is #enabled if kind=#kind"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 13K bytes - Viewed (0)