Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 498 for digests (0.24 sec)

  1. src/crypto/sha1/sha1block_s390x.s

    //go:build !purego
    
    #include "textflag.h"
    
    // func block(dig *digest, p []byte)
    TEXT ·block(SB), NOSPLIT|NOFRAME, $0-32
    	MOVBZ  ·useAsm(SB), R4
    	LMG    dig+0(FP), R1, R3            // R2 = &p[0], R3 = len(p)
    	MOVBZ  $1, R0                       // SHA-1 function code
    	CMPBEQ R4, $0, generic
    
    loop:
    	KIMD R0, R2      // compute intermediate message digest (KIMD)
    	BVS  loop        // continue if interrupted
    	RET
    
    generic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 608 bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
    
        /**
         * @param digest
         *            the digest to set
         * @throws SmbException
         */
        private void setDigest ( SMBSigningDigest digest ) throws SmbException {
            if ( this.transport.isSMB2() ) {
                this.digest = digest;
            }
            else {
                this.transport.setDigest(digest);
            }
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  3. src/compress/zlib/writer.go

    // to w.
    func (z *Writer) Reset(w io.Writer) {
    	z.w = w
    	// z.level and z.dict left unchanged.
    	if z.compressor != nil {
    		z.compressor.Reset(w)
    	}
    	if z.digest != nil {
    		z.digest.Reset()
    	}
    	z.err = nil
    	z.scratch = [4]byte{}
    	z.wroteHeader = false
    }
    
    // writeHeader writes the ZLIB header.
    func (z *Writer) writeHeader() (err error) {
    	z.wroteHeader = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 18:51:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                throw ex;
        
                            uid = response.uid;
        
                            if( request.digest != null ) {
                                /* success - install the signing digest */
                                transport.digest = request.digest;
                            }
        
                            connectionState = 2;    
    
                            state = 0;
        
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  5. pkg/wasm/cache.go

    		if d, err := name.NewDigest(key.downloadURL[len(ociURLPrefix):]); err == nil {
    			// If there is no checksum and the digest is suffixed in URL, use the digest.
    			dstr := d.DigestStr()
    			if strings.HasPrefix(dstr, sha256SchemePrefix) {
    				key.checksum = dstr[len(sha256SchemePrefix):]
    			}
    			// For other digest scheme, give up to use cache.
    		}
    	}
    
    	if len(key.checksum) == 0 {
    		// If no checksum, try the checksum cache.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/crypto/sha256/sha256block_s390x.s

    //go:build !purego
    
    #include "textflag.h"
    
    // func block(dig *digest, p []byte)
    TEXT ·block(SB), NOSPLIT|NOFRAME, $0-32
    	MOVBZ  ·useAsm(SB), R4
    	LMG    dig+0(FP), R1, R3            // R2 = &p[0], R3 = len(p)
    	MOVBZ  $2, R0                       // SHA-256 function code
    	CMPBEQ R4, $0, generic
    
    loop:
    	KIMD R0, R2      // compute intermediate message digest (KIMD)
    	BVS  loop        // continue if interrupted
    	RET
    
    generic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 610 bytes
    - Viewed (0)
  7. src/crypto/sha512/sha512block_s390x.s

    //go:build !purego
    
    #include "textflag.h"
    
    // func block(dig *digest, p []byte)
    TEXT ·block(SB), NOSPLIT|NOFRAME, $0-32
    	MOVBZ  ·useAsm(SB), R4
    	LMG    dig+0(FP), R1, R3            // R2 = &p[0], R3 = len(p)
    	MOVBZ  $3, R0                       // SHA-512 function code
    	CMPBEQ R4, $0, generic
    
    loop:
    	KIMD R0, R2      // compute intermediate message digest (KIMD)
    	BVS  loop        // continue if interrupted
    	RET
    
    generic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 610 bytes
    - Viewed (0)
  8. src/internal/zstd/xxhash_test.go

    		0x1032d841e824f998,
    	},
    }
    
    func TestXXHash(t *testing.T) {
    	var xh xxhash64
    	for i, test := range xxHashTests {
    		xh.reset()
    		xh.update([]byte(test.data))
    		if got := xh.digest(); got != test.hash {
    			t.Errorf("#%d: got %#x want %#x", i, got, test.hash)
    		}
    	}
    }
    
    func TestLargeXXHash(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping expensive test in short mode")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:34:06 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/crypto/rsa/pss.go

    		return PSSSaltLengthAuto
    	}
    	return opts.SaltLength
    }
    
    var invalidSaltLenErr = errors.New("crypto/rsa: PSSOptions.SaltLength cannot be negative")
    
    // SignPSS calculates the signature of digest using PSS.
    //
    // digest must be the result of hashing the input message using the given hash
    // function. The opts argument may be nil, in which case sensible defaults are
    // used. If opts.Hash is set, it overrides hash.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         * @param dst
         * @param dstIndex
         * @return message length
         */
        int encode ( byte[] dst, int dstIndex );
    
    
        /**
         * @param digest
         */
        void setDigest ( SMBSigningDigest digest );
    
    
        /**
         * @return the signing digest
         */
        SMBSigningDigest getDigest ();
    
    
        /**
         * @return the associated response
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
Back to top