Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bigEndianUint (0.1 sec)

  1. src/crypto/internal/bigmod/nat.go

    	if leading < m.leading {
    		return nil, errors.New("input overflows the modulus size")
    	}
    	x.maybeSubtractModulus(no, m)
    	return x, nil
    }
    
    // bigEndianUint returns the contents of buf interpreted as a
    // big-endian encoded uint value.
    func bigEndianUint(buf []byte) uint {
    	if _W == 64 {
    		return uint(byteorder.BeUint64(buf))
    	}
    	return uint(byteorder.BeUint32(buf))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top