Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for cipherText (0.17 sec)

  1. src/crypto/tls/handshake_messages.go

    }
    
    type clientKeyExchangeMsg struct {
    	ciphertext []byte
    }
    
    func (m *clientKeyExchangeMsg) marshal() ([]byte, error) {
    	length := len(m.ciphertext)
    	x := make([]byte, length+4)
    	x[0] = typeClientKeyExchange
    	x[1] = uint8(length >> 16)
    	x[2] = uint8(length >> 8)
    	x[3] = uint8(length)
    	copy(x[4:], m.ciphertext)
    
    	return x, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    		return nil, t.err
    	}
    	return base64.StdEncoding.DecodeString(string(req.Ciphertext))
    }
    
    func (t *testKMSv2EnvelopeService) Encrypt(ctx context.Context, uid string, data []byte) (*kmsservice.EncryptResponse, error) {
    	t.encryptCalls++
    	if t.err != nil {
    		return nil, t.err
    	}
    	return &kmsservice.EncryptResponse{
    		Ciphertext:  []byte(base64.StdEncoding.EncodeToString(data)),
    		KeyID:       t.keyID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  3. src/crypto/tls/common.go

    	}
    }
    
    const (
    	maxPlaintext               = 16384        // maximum plaintext payload length
    	maxCiphertext              = 16384 + 2048 // maximum ciphertext payload length
    	maxCiphertextTLS13         = 16384 + 256  // maximum ciphertext length in TLS 1.3
    	recordHeaderLen            = 5            // record header length
    	maxHandshake               = 65536        // maximum handshake we support (protocol max is 16 MB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  4. src/crypto/tls/conn.go

    	// are included in the MAC. Otherwise, an attacker that could
    	// distinguish MAC failures from padding failures could mount an attack
    	// similar to POODLE in SSL 3.0: given a good ciphertext that uses a
    	// full block's worth of padding, replace the final block with another
    	// block. If the MAC check passed but the padding check failed, the
    	// last byte of that block decrypted to the block size.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    // Bind and Accept must be used. Once the setup process is complete, input
    // data can be written to the socket, processed by the kernel, and then read
    // back as hash output or ciphertext.
    //
    // Here is an example of using an AF_ALG socket with SHA1 hashing.
    // The initial socket setup process is as follows:
    //
    //	// Open a socket to perform SHA1 hashing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
Back to top