Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 435 for cipher (0.57 sec)

  1. src/crypto/tls/conn.go

    	payloadBytes := tcpMSSEstimate - recordHeaderLen - c.out.explicitNonceLen()
    	if c.out.cipher != nil {
    		switch ciph := c.out.cipher.(type) {
    		case cipher.Stream:
    			payloadBytes -= c.out.mac.Size()
    		case cipher.AEAD:
    			payloadBytes -= ciph.Overhead()
    		case cbcMode:
    			blockSize := ciph.BlockSize()
    			// The payload must fit in a multiple of blockSize, with
    			// room for at least one padding byte.
    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. src/crypto/tls/defaults.go

    // defaultCipherSuitesFIPS are the FIPS-allowed cipher suites.
    var defaultCipherSuitesFIPS = []uint16{
    	TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
    	TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
    	TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
    	TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
    	TLS_RSA_WITH_AES_128_GCM_SHA256,
    	TLS_RSA_WITH_AES_256_GCM_SHA384,
    }
    
    // defaultCipherSuitesTLS13FIPS are the FIPS-allowed cipher suites for TLS 1.3.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_test.go

    func TestTLS13OnlyClientHelloCipherSuite(t *testing.T) {
    	tls13Tests := []struct {
    		name    string
    		ciphers []uint16
    	}{
    		{
    			name:    "nil",
    			ciphers: nil,
    		},
    		{
    			name:    "empty",
    			ciphers: []uint16{},
    		},
    		{
    			name:    "some TLS 1.2 cipher",
    			ciphers: []uint16{TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. src/crypto/aes/asm_s390x.s

    TEXT ·cryptBlocks(SB),NOSPLIT,$0-40
    	MOVD	key+8(FP), R1
    	MOVD	dst+16(FP), R2
    	MOVD	src+24(FP), R4
    	MOVD	length+32(FP), R5
    	MOVD	c+0(FP), R0
    loop:
    	KM	R2, R4      // cipher message (KM)
    	BVS	loop        // branch back if interrupted
    	XOR	R0, R0
    	RET
    
    // func cryptBlocksChain(c code, iv, key, dst, src *byte, length int)
    TEXT ·cryptBlocksChain(SB),NOSPLIT,$48-48
    	LA	params-48(SP), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/crypto/tls/66214.md

    3DES cipher suites were removed from the default list used when
    [Config.CipherSuites] is nil. The default can be reverted adding `tls3des=1` to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 178 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope_test.go

    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package envelope
    
    import (
    	"bytes"
    	"context"
    	"crypto/aes"
    	"crypto/cipher"
    	"encoding/base64"
    	"encoding/binary"
    	"fmt"
    	"strconv"
    	"strings"
    	"testing"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 14:23:50 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. src/crypto/aes/aes_test.go

    			continue
    		}
    		out := make([]byte, len(tt.in))
    		c.Encrypt(out, tt.in)
    		for j, v := range out {
    			if v != tt.out[j] {
    				t.Errorf("Cipher.Encrypt %d: out[%d] = %#x, want %#x", i, j, v, tt.out[j])
    				break
    			}
    		}
    	}
    }
    
    // Test Cipher Decrypt against FIPS 197 examples.
    func TestCipherDecrypt(t *testing.T) {
    	for i, tt := range encryptTests {
    		c, err := NewCipher(tt.key)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. releasenotes/notes/28996.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
      - 28996
    
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 24 15:05:41 UTC 2021
    - 219 bytes
    - Viewed (0)
  9. releasenotes/notes/tls-inbound.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: security
    releaseNotes:
    - |
      **Improved** TLS configuration on sidecar server side inbound paths to enforce TLSv2 version along with recommended cipher suites.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 28 16:30:12 UTC 2020
    - 378 bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/chacha20/chacha_noasm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build (!arm64 && !s390x && !ppc64le) || !gc || purego
    
    package chacha20
    
    const bufSize = blockSize
    
    func (s *Cipher) xorKeyStreamBlocks(dst, src []byte) {
    	s.xorKeyStreamBlocksGeneric(dst, src)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 361 bytes
    - Viewed (0)
Back to top