Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for blockGeneric (0.15 sec)

  1. src/cmd/internal/notsha256/sha256block_generic.go

    // license that can be found in the LICENSE file.
    
    //go:build purego || (!amd64 && !386 && !ppc64le && !ppc64)
    
    package notsha256
    
    func block(dig *digest, p []byte) {
    	blockGeneric(dig, p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 300 bytes
    - Viewed (0)
  2. src/crypto/md5/md5block_generic.go

    // license that can be found in the LICENSE file.
    
    //go:build (!amd64 && !386 && !arm && !ppc64le && !ppc64 && !s390x && !arm64) || purego
    
    package md5
    
    const haveAsm = false
    
    func block(dig *digest, p []byte) {
    	blockGeneric(dig, p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 345 bytes
    - Viewed (0)
  3. src/crypto/md5/md5.go

    	// Note that we currently call block or blockGeneric
    	// directly (guarded using haveAsm) because this allows
    	// escape analysis to see that p and d don't escape.
    	nn = len(p)
    	d.len += uint64(nn)
    	if d.nx > 0 {
    		n := copy(d.x[d.nx:], p)
    		d.nx += n
    		if d.nx == BlockSize {
    			if haveAsm {
    				block(d, d.x[:])
    			} else {
    				blockGeneric(d, d.x[:])
    			}
    			d.nx = 0
    		}
    		p = p[n:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/crypto/sha256/sha256block_generic.go

    // license that can be found in the LICENSE file.
    
    //go:build (!amd64 && !386 && !s390x && !ppc64le && !ppc64 && !arm64) || purego
    
    package sha256
    
    func block(dig *digest, p []byte) {
    	blockGeneric(dig, p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 317 bytes
    - Viewed (0)
  5. src/crypto/sha512/sha512block_arm64.go

    //go:build !purego
    
    package sha512
    
    import "internal/cpu"
    
    func block(dig *digest, p []byte) {
    	if cpu.ARM64.HasSHA512 {
    		blockAsm(dig, p)
    		return
    	}
    	blockGeneric(dig, p)
    }
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 388 bytes
    - Viewed (0)
  6. src/crypto/sha1/sha1block_generic.go

    // license that can be found in the LICENSE file.
    
    //go:build (!amd64 && !386 && !arm && !s390x && !arm64) || purego
    
    package sha1
    
    func block(dig *digest, p []byte) {
    	blockGeneric(dig, p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 301 bytes
    - Viewed (0)
  7. src/crypto/sha256/sha256block_s390x.s

    	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/crypto/sha512/sha512block_s390x.s

    	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)
  9. src/crypto/sha1/sha1block_s390x.s

    	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)
  10. src/crypto/sha1/sha1block.go

    package sha1
    
    import (
    	"math/bits"
    )
    
    const (
    	_K0 = 0x5A827999
    	_K1 = 0x6ED9EBA1
    	_K2 = 0x8F1BBCDC
    	_K3 = 0xCA62C1D6
    )
    
    // blockGeneric is a portable, pure Go version of the SHA-1 block step.
    // It's used by sha1block_generic.go and tests.
    func blockGeneric(dig *digest, p []byte) {
    	var w [16]uint32
    
    	h0, h1, h2, h3, h4 := dig.h[0], dig.h[1], dig.h[2], dig.h[3], dig.h[4]
    	for len(p) >= chunk {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:27:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top