Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for PUB (0.07 sec)

  1. cmd/testdata/invalid_test_key.pub

    Sveinn <******@****.***> 1717573873 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 569 bytes
    - Viewed (0)
  2. cmd/testdata/dillon_test_key.pub

    Sveinn <******@****.***> 1717573873 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 99 bytes
    - Viewed (0)
  3. src/crypto/internal/boring/notboring.go

    	panic("boringcrypto: not available")
    }
    func EncryptRSAOAEP(h, mgfHash hash.Hash, pub *PublicKeyRSA, msg, label []byte) ([]byte, error) {
    	panic("boringcrypto: not available")
    }
    func EncryptRSAPKCS1(pub *PublicKeyRSA, msg []byte) ([]byte, error) {
    	panic("boringcrypto: not available")
    }
    func EncryptRSANoPadding(pub *PublicKeyRSA, msg []byte) ([]byte, error) {
    	panic("boringcrypto: not available")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. gradle/verification-keyring.keys

    pub    80662F8192D749A0
    uid    Adam Gent <******@****.***>
    
    sub    8067ECAA8D58321C
    -----BEGIN PGP PUBLIC KEY BLOCK-----
    Version: BCPG v1.68
    
    mQENBE1Hdr8BCACnwSb6j+eHyhhe4RJzAW2BqlYSdxfIsjdaTGm3V6GcPzd3JMvO
    /PufaPZ4OXVHCwdU2op7qEHkM3GkLIxUx3ZuZhuirdoatW8VjykshDx6/IsTQ7Jr
    J+hLS6SdnhS7KrbiLeC4fmeXkAVow09spSgTufhd+fqZ8RV2gbmfgvxOOf1NK8WZ
    7E3Tkm7y6Rbz0DHrSqPYd28Od/3fKogFHHIE/srnAR7MEBf3HfEDJk4xTvH3sQ4+
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 525.2K bytes
    - Viewed (0)
  5. src/crypto/ecdsa/ecdsa_legacy.go

    	if err != nil {
    		return false
    	}
    	return VerifyASN1(pub, hash, sig)
    }
    
    func verifyLegacy(pub *PublicKey, hash []byte, sig []byte) bool {
    	rBytes, sBytes, err := parseSignature(sig)
    	if err != nil {
    		return false
    	}
    	r, s := new(big.Int).SetBytes(rBytes), new(big.Int).SetBytes(sBytes)
    
    	c := pub.Curve
    	N := c.Params().N
    
    	if r.Sign() <= 0 || s.Sign() <= 0 {
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/crypto/tls/auth.go

    			cert.PrivateKey)
    	}
    
    	switch pub := signer.Public().(type) {
    	case *ecdsa.PublicKey:
    		switch pub.Curve {
    		case elliptic.P256():
    		case elliptic.P384():
    		case elliptic.P521():
    		default:
    			return fmt.Errorf("tls: unsupported certificate curve (%s)", pub.Curve.Params().Name)
    		}
    	case *rsa.PublicKey:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/crypto/rsa/pkcs1v15.go

    func EncryptPKCS1v15(random io.Reader, pub *PublicKey, msg []byte) ([]byte, error) {
    	randutil.MaybeReadByte(random)
    
    	if err := checkPub(pub); err != nil {
    		return nil, err
    	}
    	k := pub.Size()
    	if len(msg) > k-11 {
    		return nil, ErrMessageTooLong
    	}
    
    	if boring.Enabled && random == boring.RandReader {
    		bkey, err := boringPublicKey(pub)
    		if err != nil {
    			return nil, err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. src/crypto/internal/boring/rsa.go

    	return cryptRSA(priv.withKey, C.GO_RSA_PKCS1_OAEP_PADDING, h, mgfHash, label, 0, 0, decryptInit, decrypt, ciphertext)
    }
    
    func EncryptRSAOAEP(h, mgfHash hash.Hash, pub *PublicKeyRSA, msg, label []byte) ([]byte, error) {
    	return cryptRSA(pub.withKey, C.GO_RSA_PKCS1_OAEP_PADDING, h, mgfHash, label, 0, 0, encryptInit, encrypt, msg)
    }
    
    func DecryptRSAPKCS1(priv *PrivateKeyRSA, ciphertext []byte) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/crypto/ecdsa/ecdsa.go

    	boring.UnreachableExceptTests()
    
    	if err := verifyAsm(pub, hash, sig); err != errNoAsm {
    		return err == nil
    	}
    
    	switch pub.Curve.Params() {
    	case elliptic.P224().Params():
    		return verifyNISTEC(p224(), pub, hash, sig)
    	case elliptic.P256().Params():
    		return verifyNISTEC(p256(), pub, hash, sig)
    	case elliptic.P384().Params():
    		return verifyNISTEC(p384(), pub, hash, sig)
    	case elliptic.P521().Params():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. src/crypto/rsa/rsa.go

    // for or by this public key will have the same size.
    func (pub *PublicKey) Size() int {
    	return (pub.N.BitLen() + 7) / 8
    }
    
    // Equal reports whether pub and x have the same value.
    func (pub *PublicKey) Equal(x crypto.PublicKey) bool {
    	xx, ok := x.(*PublicKey)
    	if !ok {
    		return false
    	}
    	return bigIntEqual(pub.N, xx.N) && pub.E == xx.E
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top