Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 606 for decrypto (0.13 sec)

  1. src/crypto/rsa/pss.go

    	// zero, it overrides the hash function passed to SignPSS. It's required
    	// when using PrivateKey.Sign.
    	Hash crypto.Hash
    }
    
    // HashFunc returns opts.Hash so that [PSSOptions] implements [crypto.SignerOpts].
    func (opts *PSSOptions) HashFunc() crypto.Hash {
    	return opts.Hash
    }
    
    func (opts *PSSOptions) saltLength() int {
    	if opts == nil {
    		return PSSSaltLengthAuto
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

    import org.apache.maven.settings.Mirror;
    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Server;
    import org.apache.maven.settings.crypto.DefaultSettingsDecryptionRequest;
    import org.apache.maven.settings.crypto.SettingsDecrypter;
    import org.apache.maven.settings.crypto.SettingsDecryptionResult;
    import org.apache.maven.wagon.ResourceDoesNotExistException;
    import org.apache.maven.wagon.TransferFailedException;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. src/crypto/aes/cipher_asm.go

    	boring.Unreachable()
    	if len(src) < BlockSize {
    		panic("crypto/aes: input not full block")
    	}
    	if len(dst) < BlockSize {
    		panic("crypto/aes: output not full block")
    	}
    	if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) {
    		panic("crypto/aes: invalid buffer overlap")
    	}
    	encryptBlockAsm(int(c.l)/4-1, &c.enc[0], &dst[0], &src[0])
    }
    
    func (c *aesCipherAsm) Decrypt(dst, src []byte) {
    	boring.Unreachable()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/crypto/internal/mlkem768/mlkem768.go

    	return Kout
    }
    
    // parseDK parses a decryption key from its encoded form.
    //
    // It implements the computation of s from K-PKE.Decrypt according to FIPS 203
    // (DRAFT), Algorithm 14.
    func parseDK(dx *decryptionKey, dkPKE []byte) error {
    	if len(dkPKE) != decryptionKeySize {
    		return errors.New("mlkem768: invalid decryption key length")
    	}
    
    	for i := range dx.s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go

    			wantCount:   1,
    		},
    		{
    			name: "decrypt",
    			operation: func() {
    				if _, err = service.Decrypt(ctx, "1", &kmsservice.DecryptRequest{Ciphertext: []byte("testdata"), KeyID: "1"}); err != nil {
    					t.Fatalf("failed when execute decrypt, error: %v", err)
    				}
    			},
    			labelValues: []string{testProviderName, "/v2.KeyManagementService/Decrypt", "OK"},
    			wantCount:   1,
    		},
    		{
    			name: "status",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. src/crypto/cipher/ctr.go

    package cipher
    
    import (
    	"bytes"
    	"crypto/internal/alias"
    	"crypto/subtle"
    )
    
    type ctr struct {
    	b       Block
    	ctr     []byte
    	out     []byte
    	outUsed int
    }
    
    const streamBufferSize = 512
    
    // ctrAble is an interface implemented by ciphers that have a specific optimized
    // implementation of CTR, like crypto/aes. NewCTR will check for this interface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/crypto/tls/ticket.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tls
    
    import (
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/hmac"
    	"crypto/sha256"
    	"crypto/subtle"
    	"crypto/x509"
    	"errors"
    	"io"
    
    	"golang.org/x/crypto/cryptobyte"
    )
    
    // A SessionState is a resumable session.
    type SessionState struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. internal/config/crypto_test.go

    		}
    
    		plaintext, err := Decrypt(KMS, bytes.NewReader(data), test.Context)
    		if err != nil {
    			t.Fatalf("Test %d: failed to decrypt stream: %v", i, err)
    		}
    		data, err = io.ReadAll(plaintext)
    		if err != nil {
    			t.Fatalf("Test %d: failed to decrypt stream: %v", i, err)
    		}
    
    		if !bytes.Equal(data, test.Data) {
    			t.Fatalf("Test %d: decrypted data does not match original data", i)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/crypto/aes/ctr_s390x.go

    // Copyright 2016 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.
    
    //go:build !purego
    
    package aes
    
    import (
    	"crypto/cipher"
    	"crypto/internal/alias"
    	"internal/byteorder"
    )
    
    // Assert that aesCipherAsm implements the ctrAble interface.
    var _ ctrAble = (*aesCipherAsm)(nil)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    				"Decoded encrypted object",
    				"About to decrypt DEK using remote service",
    				"DEK decryption succeeded",
    				"About to decrypt data using DEK",
    				"Data decryption succeeded",
    			},
    		},
    		{
    			desc:                     "decrypt with cache miss, simulate KMS plugin failure",
    			cacheTTL:                 1 * time.Second,
    			simulateKMSPluginFailure: true,
    			expected: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
Back to top