Home
last modified time | relevance | path

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

12345678910>>...18

/aosp_15_r20/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
/aosp_15_r20/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…
/aosp_15_r20/external/rust/beto-rust/nearby/crypto/crypto_provider/src/
Ded25519.rs72 pub fn derive_public_key<E: Ed25519Provider>(&self) -> PublicKey { in derive_public_key()
115 pub struct PublicKey(RawPublicKey); struct
117 impl PublicKey { implementation
135 fn as_internal<E: Ed25519Provider>(&self) -> E::PublicKey { in as_internal()
189 type PublicKey: PublicKeyImpl<Signature = Self::Signature>; typedef
197 type PublicKey: PublicKeyImpl; typedef
243 fn public_key(&self) -> Self::PublicKey; in public_key()
281 fn to_external(&self) -> PublicKey { in to_external()
Delliptic_curve.rs23 type PublicKey: PublicKey<C>; typedef
56 other_pub: &<Self::Impl as EcdhProvider<C>>::PublicKey, in diffie_hellman()
61 pub trait PublicKey<E: Curve>: Sized + PartialEq + Debug { trait
/aosp_15_r20/external/boringssl/src/ssl/test/runner/kyber/
H A Dkyber.go473 type PublicKey struct { struct
474 t vector
475 rho [32]byte
476 publicKeyHash [32]byte
477 m matrix
492 func (pub *PublicKey) Marshal() *[PublicKeySize]byte {
499 func (pub *PublicKey) encryptCPA(message, entropy *[32]byte) *[CiphertextSize]byte {
534 func (pub *PublicKey) Encap(outSharedSecret []byte, entropy *[32]byte) *[CiphertextSize]byte {
547 PublicKey anonMember
/aosp_15_r20/external/cronet/third_party/boringssl/src/ssl/test/runner/kyber/
H A Dkyber.go473 type PublicKey struct { struct
474 t vector
475 rho [32]byte
476 publicKeyHash [32]byte
477 m matrix
492 func (pub *PublicKey) Marshal() *[PublicKeySize]byte {
499 func (pub *PublicKey) encryptCPA(message, entropy *[32]byte) *[CiphertextSize]byte {
534 func (pub *PublicKey) Encap(outSharedSecret []byte, entropy *[32]byte) *[CiphertextSize]byte {
547 PublicKey anonMember
/aosp_15_r20/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 {
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/
Dagreement.rs124 pub fn compute_public_key(&self) -> Result<PublicKey, error::Unspecified> { in compute_public_key()
152 pub struct PublicKey { struct
154 bytes: ec::PublicKey, argument
157 impl AsRef<[u8]> for PublicKey { implementation
163 impl core::fmt::Debug for PublicKey { implementation
172 impl PublicKey { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/ec/
Dkeys.rs15 pub fn public_key(&self) -> &PublicKey { in public_key()
18 pub fn split(self) -> (Seed, PublicKey) { in split() argument
68 pub fn compute_public_key(&self) -> Result<PublicKey, error::Unspecified> { in compute_public_key()
79 pub struct PublicKey { struct
84 impl AsRef<[u8]> for PublicKey { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/rsa/
Dpublic_key.rs26 pub struct PublicKey { struct
32 derive_debug_self_as_ref_hex_bytes!(PublicKey); argument
34 impl PublicKey { impl
152 impl AsRef<[u8]> for PublicKey { implementation
/aosp_15_r20/external/boringssl/src/rust/bssl-crypto/src/
H A Drsa.rs67 pub struct PublicKey(*mut bssl_sys::RSA); struct
69 impl PublicKey { implementation
161 unsafe impl Sync for PublicKey {} implementation
162 unsafe impl Send for PublicKey {} implementation
164 impl Drop for PublicKey { implementation
284 pub fn as_public(&self) -> PublicKey { in as_public()
H A Decdh.rs45 pub struct PublicKey<C: ec::Curve> { struct
50 impl<C: ec::Curve> PublicKey<C> { implementation
H A Decdsa.rs42 pub struct PublicKey<C: ec::Curve> { struct
47 impl<C: ec::Curve> PublicKey<C> { argument
H A Ded25519.rs59 pub struct PublicKey([u8; PUBLIC_KEY_LEN]); struct
128 pub fn to_public(&self) -> PublicKey { in to_public()
142 impl PublicKey { implementation
/aosp_15_r20/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/
H A Drsa.rs67 pub struct PublicKey(*mut bssl_sys::RSA); struct
69 impl PublicKey { impl
161 unsafe impl Sync for PublicKey {} implementation
162 unsafe impl Send for PublicKey {} implementation
164 impl Drop for PublicKey { implementation
284 pub fn as_public(&self) -> PublicKey { in as_public()
H A Decdh.rs45 pub struct PublicKey<C: ec::Curve> { struct
50 impl<C: ec::Curve> PublicKey<C> { implementation
H A Decdsa.rs42 pub struct PublicKey<C: ec::Curve> { struct
47 impl<C: ec::Curve> PublicKey<C> { impl
H A Ded25519.rs59 pub struct PublicKey([u8; PUBLIC_KEY_LEN]); struct
128 pub fn to_public(&self) -> PublicKey { in to_public()
142 impl PublicKey { impl
/aosp_15_r20/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 {
/aosp_15_r20/packages/modules/Virtualization/guest/pvmfw/src/
Dbcc.rs139 pub fn leaf_subject_pubkey(&self) -> &PublicKey { in leaf_subject_pubkey()
164 pub struct PublicKey { struct
167 pub cose_alg: iana::Algorithm,
231 fn subject_public_key(&self) -> Result<PublicKey> { in subject_public_key()
261 impl PublicKey { impl
/aosp_15_r20/external/rust/beto-rust/nearby/crypto/crypto_provider_rustcrypto/src/
Ded25519.rs26 type PublicKey = PublicKey; typedef
33 type PublicKey = PublicKey; typedef
57 fn public_key(&self) -> Self::PublicKey { in public_key()
74 pub struct PublicKey(ed25519_dalek::VerifyingKey); struct
76 impl crypto_provider::ed25519::PublicKeyImpl for PublicKey { implementation
/aosp_15_r20/external/rust/beto-rust/nearby/crypto/crypto_provider_boringssl/src/
Ded25519.rs24 type PublicKey = PublicKey; typedef
31 type PublicKey = PublicKey; typedef
54 fn public_key(&self) -> Self::PublicKey { in public_key()
71 pub struct PublicKey(bssl_crypto::ed25519::PublicKey); struct
73 impl crypto_provider::ed25519::PublicKeyImpl for PublicKey { implementation
/aosp_15_r20/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 {
/aosp_15_r20/tools/security/remote_provisioning/hwtrust/src/
H A Dpublickey.rs39 pub struct PublicKey { struct
51 impl PublicKey { implementation
139 impl TryFrom<PKey<Public>> for PublicKey { implementation
304 pub fn public_key(&self) -> PublicKey { in public_key()
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/ec/curve25519/ed25519/
Dsigning.rs229 type PublicKey = PublicKey; typedef
231 fn public_key(&self) -> &Self::PublicKey { in public_key()
237 pub struct PublicKey([u8; ED25519_PUBLIC_KEY_LEN]); struct
239 impl AsRef<[u8]> for PublicKey { implementation

12345678910>>...18