Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SignRSAPKCS1v15 (0.27 sec)

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

    func NewPrivateKeyRSA(N, E, D, P, Q, Dp, Dq, Qinv BigInt) (*PrivateKeyRSA, error) {
    	panic("boringcrypto: not available")
    }
    func NewPublicKeyRSA(N, E BigInt) (*PublicKeyRSA, error) { panic("boringcrypto: not available") }
    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) {
    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/rsa/pkcs1v15.go

    	// pkcs1v15ConstructEM is called before boring.SignRSAPKCS1v15 to return
    	// consistent errors, including ErrMessageTooLong.
    	em, err := pkcs1v15ConstructEM(&priv.PublicKey, hash, hashed)
    	if err != nil {
    		return nil, err
    	}
    
    	if boring.Enabled {
    		bkey, err := boringPrivateKey(priv)
    		if err != nil {
    			return nil, err
    		}
    		return boring.SignRSAPKCS1v15(bkey, hash, hashed)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/rsa.go

    			md, nil, C.int(saltLen), base(sig), C.size_t(len(sig)))
    	}) == 0 {
    		return fail("RSA_verify_pss_mgf1")
    	}
    	return nil
    }
    
    func SignRSAPKCS1v15(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte) ([]byte, error) {
    	if h == 0 {
    		// No hashing.
    		var out []byte
    		var outLen C.size_t
    		if priv.withKey(func(key *C.GO_RSA) C.int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top