Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 262 for msign (0.05 sec)

  1. src/crypto/ed25519/ed25519_test.go

    	}
    
    	message := []byte("message")
    	var noHash crypto.Hash
    	signature, err := signer.Sign(zero, message, noHash)
    	if err != nil {
    		t.Fatalf("error from Sign(): %s", err)
    	}
    
    	signature2, err := signer.Sign(zero, message, &Options{Hash: noHash})
    	if err != nil {
    		t.Fatalf("error from Sign(): %s", err)
    	}
    	if !bytes.Equal(signature, signature2) {
    		t.Errorf("signatures keys do not match")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/crypto/ecdsa/ecdsa_s390x.s

    	BLT  error       // condition code of 1 indicates a failure
    
    success:
    	MOVD $0, errn+16(FP) // return 0 - sign/verify was successful
    	RET
    
    error:
    	MOVD $1, errn+16(FP) // return 1 - sign/verify failed
    	RET
    
    retry:
    	MOVD $2, errn+16(FP) // return 2 - sign/verify was unsuccessful -- if sign, retry with new RN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 891 bytes
    - Viewed (0)
  3. src/crypto/elliptic/params.go

    func zForAffine(x, y *big.Int) *big.Int {
    	z := new(big.Int)
    	if x.Sign() != 0 || y.Sign() != 0 {
    		z.SetInt64(1)
    	}
    	return z
    }
    
    // affineFromJacobian reverses the Jacobian transform. See the comment at the
    // top of the file. If the point is ∞ it returns 0, 0.
    func (curve *CurveParams) affineFromJacobian(x, y, z *big.Int) (xOut, yOut *big.Int) {
    	if z.Sign() == 0 {
    		return new(big.Int), new(big.Int)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/crypto/ecdsa/ecdsa_legacy.go

    // Sign signs a hash (which should be the result of hashing a larger message)
    // using the private key, priv. If the hash is longer than the bit-length of the
    // private key's curve order, the hash will be truncated to that length. It
    // returns the signature as a pair of integers. Most applications should use
    // [SignASN1] instead of dealing directly with r, s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/math/unsafe.go

    // Float32bits returns the IEEE 754 binary representation of f,
    // with the sign bit of f and the result in the same bit position.
    // Float32bits(Float32frombits(x)) == x.
    func Float32bits(f float32) uint32 { return *(*uint32)(unsafe.Pointer(&f)) }
    
    // Float32frombits returns the floating-point number corresponding
    // to the IEEE 754 binary representation b, with the sign bit of b
    // and the result in the same bit position.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Signature.java

        /**
         * Creates a signature artifact for the given public artifact.
         *
         * <p>The file to sign will be the file of the given artifact and the classifier of this signature artifact will default to the classifier of the given artifact to sign.</p>
         * <p>The artifact to sign may change after being used as the source for this signature.</p>
         *
         * @param toSign The artifact that is to be signed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/FormatSupport.java

                // This is a workaround for https://github.com/gradle/gradle-private/issues/1690
                return new BigDecimal(0);
            }
    
            double sign = Math.signum(getDifferencePercentage(baseline, current).doubleValue());
            return new BigDecimal(sign * 100.0 * confidenceInDifference(baseline.getTotalTime(), current.getTotalTime())).setScale(2, RoundingMode.HALF_UP);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/fmt/format.go

    		for digits > 0 {
    			num = append(num, '0')
    			digits--
    		}
    		num = append(num, tail...)
    	}
    	// We want a sign if asked for and if the sign is not positive.
    	if f.plus || num[0] != '+' {
    		// If we're zero padding to the left we want the sign before the leading zeros.
    		// Achieve this by writing the sign out and then padding the unsigned number.
    		// Zero padding is allowed only to the left.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

        /** MINUS SIGN */
        public static final char MINUS_SIGN = '\u2212';
    
        /** FULLWIDTH HYPHEN-MINUS */
        public static final char FULLWIDTH_HYPHEN_MINUS = '\uFF0D';
    
        /** CENT SIGN */
        public static final char CENT_SIGN = '\u00A2';
    
        /** FULLWIDTH CENT SIGN */
        public static final char FULLWIDTH_CENT_SIGN = '\uFFE0';
    
        /** POUND SIGN */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. src/crypto/ed25519/ed25519.go

    	copy(privateKey[32:], publicKey)
    }
    
    // Sign signs the message with privateKey and returns a signature. It will
    // panic if len(privateKey) is not [PrivateKeySize].
    func Sign(privateKey PrivateKey, message []byte) []byte {
    	// Outline the function body so that the returned signature can be
    	// stack-allocated.
    	signature := make([]byte, SignatureSize)
    	sign(signature, privateKey, message, domPrefixPure, "")
    	return signature
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top