Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Block_generic (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/crypto/sha512/sha512block_generic.go

    // license that can be found in the LICENSE file.
    
    //go:build (!amd64 && !arm64 && !ppc64 && !ppc64le && !riscv64 && !s390x) || purego
    
    package sha512
    
    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
    - 321 bytes
    - Viewed (0)
  10. src/crypto/sha256/sha256block_arm64.go

    //go:build !purego
    
    package sha256
    
    import "internal/cpu"
    
    var k = _K
    
    //go:noescape
    func sha256block(h []uint32, p []byte, k []uint32)
    
    func block(dig *digest, p []byte) {
    	if !cpu.ARM64.HasSHA2 {
    		blockGeneric(dig, p)
    	} else {
    		h := dig.h[:]
    		sha256block(h, p, k)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 435 bytes
    - Viewed (0)
Back to top