Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 136 for cipher (0.21 sec)

  1. src/crypto/aes/cbc_ppc64x.go

    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 }
    
    // cryptBlocksChain invokes the cipher message identifying encrypt or decrypt.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:31 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. docs/security/tls_configuration_history.md

    ---
    
    <a name="tlsv13_only"></a>
    #### ¹ TLSv1.3 Only
    
    Cipher suites that are only available with TLSv1.3.
    
    <a name="http2_naughty"></a>
    #### ² HTTP/2 Cipher Suite Denylist
    
    Cipher suites that are [discouraged for use][http2_denylist] with HTTP/2. OkHttp includes them because better suites are not commonly available. For example, none of the better cipher suites listed above shipped with Android 4.4 or Java 7.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 9K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-discovery/app/options.go

    	cipherKeys := sets.New[string]()
    	for _, cipher := range tls.InsecureCipherSuites() {
    		cipherKeys.Insert(cipher.Name)
    	}
    	return sets.SortedList(cipherKeys)
    }
    
    // secureTLSCipherNames returns a list of secure cipher suite names implemented by crypto/tls.
    func secureTLSCipherNames() []string {
    	cipherKeys := sets.New[string]()
    	for _, cipher := range tls.CipherSuites() {
    		cipherKeys.Insert(cipher.Name)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. src/crypto/rc4/rc4.go

    import (
    	"crypto/internal/alias"
    	"strconv"
    )
    
    // A Cipher is an instance of RC4 using a particular key.
    type Cipher struct {
    	s    [256]uint32
    	i, j uint8
    }
    
    type KeySizeError int
    
    func (k KeySizeError) Error() string {
    	return "crypto/rc4: invalid key size " + strconv.Itoa(int(k))
    }
    
    // NewCipher creates and returns a new [Cipher]. The key argument should be the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Crypto.java

            return new HMACT64(key);
        }
    
    
        /**
         * 
         * @param key
         * @return RC4 cipher
         */
        public static Cipher getArcfour ( byte[] key ) {
            try {
                Cipher c = Cipher.getInstance("RC4");
                c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "RC4"));
                return c;
            }
            catch (
                NoSuchAlgorithmException |
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  6. src/crypto/aes/gcm_ppc64x.go

    func counterCryptASM(nr int, out, in []byte, counter *[gcmBlockSize]byte, key *uint32)
    
    // NewGCM returns the AES cipher wrapped in Galois Counter Mode. This is only
    // called by [crypto/cipher.NewGCM] via the gcmAble interface.
    func (c *aesCipherAsm) NewGCM(nonceSize, tagSize int) (cipher.AEAD, error) {
    	var h1, h2 uint64
    	g := &gcmAsm{cipher: c, ks: c.enc[:c.l], nonceSize: nonceSize, tagSize: tagSize}
    
    	hle := make([]byte, gcmBlockSize)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/crypto/aes/aes_gcm.go

    )
    
    var errOpen = errors.New("cipher: message authentication failed")
    
    // Assert that aesCipherGCM implements the gcmAble interface.
    var _ gcmAble = (*aesCipherGCM)(nil)
    
    // NewGCM returns the AES cipher wrapped in Galois Counter Mode. This is only
    // called by [crypto/cipher.NewGCM] via the gcmAble interface.
    func (c *aesCipherGCM) NewGCM(nonceSize, tagSize int) (cipher.AEAD, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/options.go

    	for _, cipher := range tls.InsecureCipherSuites() {
    		acceptedCiphers[cipher.Name] = cipher.ID
    	}
    	for _, cipher := range tls.CipherSuites() {
    		acceptedCiphers[cipher.Name] = cipher.ID
    	}
    	return acceptedCiphers
    }
    
    // TLSCipherSuites returns a list of cipher suite IDs from the cipher suite names passed.
    func TLSCipherSuites(cipherNames []string) ([]uint16, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/crypto/aes/cipher_s390x.go

    //go:build !purego
    
    package aes
    
    import (
    	"crypto/cipher"
    	"crypto/internal/alias"
    	"internal/cpu"
    )
    
    type code int
    
    // Function codes for the cipher message family of instructions.
    const (
    	aes128 code = 18
    	aes192      = 19
    	aes256      = 20
    )
    
    type aesCipherAsm struct {
    	function code     // code for cipher message instruction
    	key      []byte   // key (128, 192 or 256 bits)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/crypto/cipher/cfb.go

    // license that can be found in the LICENSE file.
    
    // CFB (Cipher Feedback) Mode.
    
    package cipher
    
    import (
    	"crypto/internal/alias"
    	"crypto/subtle"
    )
    
    type cfb struct {
    	b       Block
    	next    []byte
    	out     []byte
    	outUsed int
    
    	decrypt bool
    }
    
    func (x *cfb) XORKeyStream(dst, src []byte) {
    	if len(dst) < len(src) {
    		panic("crypto/cipher: output smaller than input")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top