Home
last modified time | relevance | path

Searched defs:PublicKey (Results 1 – 25 of 28) sorted by relevance

12

/prebuilts/go/linux-x86/src/crypto/ecdh/
Decdh.go52 ecdh(local *PrivateKey, remote *PublicKey) ([]byte, error)
68 type PublicKey struct { struct
69 curve Curve
70 publicKey []byte
71 boring *boring.PublicKeyECDH
75 func (k *PublicKey) Bytes() []byte {
89 func (k *PublicKey) Equal(x crypto.PublicKey) bool {
98 func (k *PublicKey) Curve() Curve {
161 func (k *PrivateKey) PublicKey() *PublicKey { func
Dnist.go191 func (c *nistCurve[Point]) ecdh(local *PrivateKey, remote *PublicKey) ([]byte, error) {
/prebuilts/go/linux-x86/src/crypto/dsa/
Ddsa.go31 type PublicKey struct { struct
32 Parameters
33 Y *big.Int
38 PublicKey anonMember
273 func Verify(pub *PublicKey, hash []byte, r, s *big.Int) bool {
/prebuilts/go/linux-x86/src/crypto/ecdsa/
Decdsa.go50 type PublicKey struct { struct
51 elliptic.Curve
52 X, Y *big.Int
61 func (k *PublicKey) ECDH() (*ecdh.PublicKey, error) {
77 func (pub *PublicKey) Equal(x crypto.PublicKey) bool {
92 PublicKey anonMember
473 func VerifyASN1(pub *PublicKey, hash, sig []byte) bool {
Dboring.go42 func boringPublicKey(pub *PublicKey) (*boring.PublicKeyECDSA, error) {
81 func publicKeyEqual(k1, k2 *PublicKey) bool {
93 func copyPublicKey(k *PublicKey) PublicKey {
Decdsa_legacy.go121 func Verify(pub *PublicKey, hash []byte, r, s *big.Int) bool {
132 func verifyLegacy(pub *PublicKey, hash []byte, sig []byte) bool {
Dnotboring.go11 func boringPublicKey(*PublicKey) (*boring.PublicKeyECDSA, error) {
Decdsa_noasm.go11 func verifyAsm(pub *PublicKey, hash []byte, sig []byte) error {
Decdsa_s390x.go131 func verifyAsm(pub *PublicKey, hash []byte, sig []byte) error {
/prebuilts/go/linux-x86/src/crypto/rsa/
Drsa.go49 type PublicKey struct { struct
50 N *big.Int // modulus
51 E int // public exponent
59 func (pub *PublicKey) Size() int {
64 func (pub *PublicKey) Equal(x crypto.PublicKey) bool {
98 func checkPub(pub *PublicKey) error {
113 PublicKey // public part. anonMember
481 func encrypt(pub *PublicKey, plaintext []byte) ([]byte, error) {
515 func EncryptOAEP(hash hash.Hash, random io.Reader, pub *PublicKey, msg []byte, label []byte) ([]byt…
Dboring.go42 func boringPublicKey(pub *PublicKey) (*boring.PublicKeyRSA, error) {
93 func publicKeyEqual(k1, k2 *PublicKey) bool {
99 func copyPublicKey(k *PublicKey) PublicKey {
Dpkcs1v15.go42 func EncryptPKCS1v15(random io.Reader, pub *PublicKey, msg []byte) ([]byte, error) {
307 func pkcs1v15ConstructEM(pub *PublicKey, hash crypto.Hash, hashed []byte) ([]byte, error) {
345 func VerifyPKCS1v15(pub *PublicKey, hash crypto.Hash, hashed []byte, sig []byte) error {
Dnotboring.go11 func boringPublicKey(*PublicKey) (*boring.PublicKeyRSA, error) {
Dpss.go344 func VerifyPSS(pub *PublicKey, hash crypto.Hash, digest []byte, sig []byte, opts *PSSOptions) error…
/prebuilts/go/linux-x86/src/crypto/ed25519/
Ded25519.go42 type PublicKey []byte type
48 func (pub PublicKey) Equal(x crypto.PublicKey) bool {
267 func Verify(publicKey PublicKey, message, sig []byte) bool {
282 func VerifyWithOptions(publicKey PublicKey, message, sig []byte, opts *Options) error {
313 func verify(publicKey PublicKey, message, sig []byte, domPrefix, context string) bool {
/prebuilts/go/linux-x86/src/crypto/tls/
Dauth.go22 func verifyHandshakeSignature(sigType uint8, pubkey crypto.PublicKey, hashFunc crypto.Hash, signed,…
131 func legacyTypeAndHashFromPublicKey(pub crypto.PublicKey) (sigType uint8, hash crypto.Hash, err err…
Dech.go33 PublicKey []byte member
/prebuilts/go/linux-x86/src/crypto/x509/
Dsec1.go31 PublicKey asn1.BitString `asn1:"optional,explicit,tag:1"` member
Dpkcs1.go167 func MarshalPKCS1PublicKey(key *rsa.PublicKey) []byte {
Dx509.go187 PublicKey publicKeyInfo member
204 PublicKey asn1.BitString member
697 PublicKey any member
894 func checkSignature(algo SignatureAlgorithm, signed, signature []byte, publicKey crypto.PublicKey, …
1814 PublicKey any member
1853 PublicKey publicKeyInfo member
/prebuilts/go/linux-x86/src/crypto/internal/boring/
Decdh.go97 func (k *PrivateKeyECDH) PublicKey() (*PublicKeyECDH, error) { func
/prebuilts/go/linux-x86/src/crypto/
Dcrypto.go162 type PublicKey any type
/prebuilts/go/linux-x86/src/crypto/internal/hpke/
Dhpke.go150 func SetupSender(kemID, kdfID, aeadID uint16, pub crypto.PublicKey, info []byte) ([]byte, *Sender, …
/prebuilts/go/linux-x86/src/encoding/asn1/
Dasn1_test.go561 PublicKey PublicKeyInfo member
583 PublicKey BitString member
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/mod/sumdb/note/
Dnote.go378 func NewEd25519VerifierKey(name string, key ed25519.PublicKey) (string, error) {

12