Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SignRSAPSS (0.1 sec)

  1. src/crypto/internal/boring/notboring.go

    func SignRSAPKCS1v15(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte) ([]byte, error) {
    	panic("boringcrypto: not available")
    }
    func SignRSAPSS(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte, saltLen int) ([]byte, error) {
    	panic("boringcrypto: not available")
    }
    func VerifyRSAPKCS1v15(pub *PublicKeyRSA, h crypto.Hash, hashed, sig []byte) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/rsa.go

    	return C._goboringcrypto_EVP_PKEY_encrypt(ctx, out, outLen, in, inLen)
    }
    
    var invalidSaltLenErr = errors.New("crypto/rsa: PSSOptions.SaltLength cannot be negative")
    
    func SignRSAPSS(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte, saltLen int) ([]byte, error) {
    	md := cryptoHashToMD(h)
    	if md == nil {
    		return nil, errors.New("crypto/rsa: unsupported hash function")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. src/crypto/rsa/pss.go

    	// well-specified way.
    
    	if boring.Enabled && rand == boring.RandReader {
    		bkey, err := boringPrivateKey(priv)
    		if err != nil {
    			return nil, err
    		}
    		return boring.SignRSAPSS(bkey, hash, digest, opts.saltLength())
    	}
    	boring.UnreachableExceptTests()
    
    	if opts != nil && opts.Hash != 0 {
    		hash = opts.Hash
    	}
    
    	saltLength := opts.saltLength()
    	switch saltLength {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top