Home
last modified time | relevance | path

Searched defs:PrivateKey (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/ecdh/
Decdh.go52 ecdh(local *PrivateKey, remote *PublicKey) ([]byte, error)
60 privateKeyToPublicKey(*PrivateKey) *PublicKey
107 type PrivateKey struct { struct
108 curve Curve
109 privateKey []byte
110 boring *boring.PrivateKeyECDH
113 publicKey *PublicKey
114 publicKeyOnce sync.Once
126 func (k *PrivateKey) ECDH(remote *PublicKey) ([]byte, error) {
134 func (k *PrivateKey) Bytes() []byte {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/rsa/
Drsa.go112 type PrivateKey struct { struct
113 PublicKey // public part.
114 D *big.Int // private exponent
115 Primes []*big.Int // prime factors of N, has >= 2 elements.
120 Precomputed PrecomputedValues
124 func (priv *PrivateKey) Public() crypto.PublicKey {
130 func (priv *PrivateKey) Equal(x crypto.PrivateKey) bool {
163 …nc (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
174 …crypt(rand io.Reader, ciphertext []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error) {
233 func (priv *PrivateKey) Validate() error {
[all …]
Dpkcs1v15.go93 func DecryptPKCS1v15(random io.Reader, priv *PrivateKey, ciphertext []byte) ([]byte, error) {
154 func DecryptPKCS1v15SessionKey(random io.Reader, priv *PrivateKey, ciphertext []byte, key []byte) e…
185 func decryptPKCS1v15(priv *PrivateKey, ciphertext []byte) (valid int, em []byte, index int, err err…
288 func SignPKCS1v15(random io.Reader, priv *PrivateKey, hash crypto.Hash, hashed []byte) ([]byte, err…
Dboring.go64 func boringPrivateKey(priv *PrivateKey) (*boring.PrivateKeyRSA, error) {
106 func privateKeyEqual(k1, k2 *PrivateKey) bool {
111 func copyPrivateKey(k *PrivateKey) PrivateKey {
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/ecdsa/
Decdsa.go91 type PrivateKey struct { struct
92 PublicKey
93 D *big.Int
99 func (k *PrivateKey) ECDH() (*ecdh.PrivateKey, error) {
125 func (priv *PrivateKey) Public() crypto.PublicKey {
132 func (priv *PrivateKey) Equal(x crypto.PrivateKey) bool {
153 …nc (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
260 func SignASN1(rand io.Reader, priv *PrivateKey, hash []byte) ([]byte, error) {
417 func mixedCSPRNG(rand io.Reader, priv *PrivateKey, hash []byte) (io.Reader, error) {
Dboring.go64 func boringPrivateKey(priv *PrivateKey) (*boring.PrivateKeyECDSA, error) {
88 func privateKeyEqual(k1, k2 *PrivateKey) bool {
101 func copyPrivateKey(k *PrivateKey) PrivateKey {
/aosp_15_r20/external/boringssl/src/ssl/test/runner/kyber/
H A Dkyber.go546 type PrivateKey struct { struct
547 PublicKey
548 s vector
549 foFailureSecret [32]byte
575 func (priv *PrivateKey) decryptCPA(ciphertext *[CiphertextSize]byte) [32]byte {
595 func (priv *PrivateKey) Decap(outSharedSecret []byte, ciphertext *[CiphertextSize]byte) {
615 func (priv *PrivateKey) Marshal() *[PrivateKeySize]byte {
/aosp_15_r20/external/cronet/third_party/boringssl/src/ssl/test/runner/kyber/
H A Dkyber.go546 type PrivateKey struct { struct
547 PublicKey
548 s vector
549 foFailureSecret [32]byte
575 func (priv *PrivateKey) decryptCPA(ciphertext *[CiphertextSize]byte) [32]byte {
595 func (priv *PrivateKey) Decap(outSharedSecret []byte, ciphertext *[CiphertextSize]byte) {
615 func (priv *PrivateKey) Marshal() *[PrivateKeySize]byte {
/aosp_15_r20/external/boringssl/src/rust/bssl-crypto/src/
H A Drsa.rs180 pub struct PrivateKey(*mut bssl_sys::RSA); struct
182 impl PrivateKey { implementation
299 unsafe impl Sync for PrivateKey {} implementation
300 unsafe impl Send for PrivateKey {} implementation
302 impl Drop for PrivateKey { implementation
H A Decdh.rs68 pub struct PrivateKey<C: ec::Curve> { struct
73 impl<C: ec::Curve> PrivateKey<C> { impl
H A Decdsa.rs104 pub struct PrivateKey<C: ec::Curve> { struct
109 impl<C: ec::Curve> PrivateKey<C> { impl
H A Dx25519.rs60 pub struct PrivateKey(pub [u8; PRIVATE_KEY_LEN]); struct
62 impl AsRef<[u8]> for PrivateKey { implementation
68 impl PrivateKey { impl
/aosp_15_r20/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/
H A Drsa.rs180 pub struct PrivateKey(*mut bssl_sys::RSA); struct
182 impl PrivateKey { implementation
299 unsafe impl Sync for PrivateKey {} implementation
300 unsafe impl Send for PrivateKey {} implementation
302 impl Drop for PrivateKey { implementation
H A Decdh.rs68 pub struct PrivateKey<C: ec::Curve> { struct
73 impl<C: ec::Curve> PrivateKey<C> { impl
H A Decdsa.rs104 pub struct PrivateKey<C: ec::Curve> { struct
109 impl<C: ec::Curve> PrivateKey<C> { implementation
H A Dx25519.rs60 pub struct PrivateKey(pub [u8; PRIVATE_KEY_LEN]); struct
62 impl AsRef<[u8]> for PrivateKey { implementation
68 impl PrivateKey { implementation
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/dsa/
Ddsa.go37 type PrivateKey struct { struct
38 PublicKey
39 X *big.Int
159 func GenerateKey(priv *PrivateKey, rand io.Reader) error {
205 func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/x509/
Dsec1.go29 PrivateKey []byte member
46 func MarshalECPrivateKey(key *ecdsa.PrivateKey) ([]byte, error) {
57 func marshalECPrivateKeyWithOID(key *ecdsa.PrivateKey, oid asn1.ObjectIdentifier) ([]byte, error) {
72 func marshalECDHPrivateKey(key *ecdh.PrivateKey) ([]byte, error) {
Dname_constraints_test.go1612 …onstraints constraintsSpec, name string, key *ecdsa.PrivateKey, parent *Certificate, parentKey *ec…
1648 …c makeConstraintsLeafCert(leaf leafSpec, key *ecdsa.PrivateKey, parent *Certificate, parentKey *ec…
/aosp_15_r20/tools/security/remote_provisioning/hwtrust/src/
H A Dpublickey.rs288 pub struct PrivateKey { struct
289 kind: SignatureKind,
290 pkey: PKey<Private>,
293 impl PrivateKey { impl
/aosp_15_r20/external/python/rsa/rsa/
Dpkcs1.py196 def decrypt(crypto: bytes, priv_key: key.PrivateKey) -> bytes:
279 def sign_hash(hash_value: bytes, priv_key: key.PrivateKey, hash_method: str) -> bytes:
312 def sign(message: bytes, priv_key: key.PrivateKey, hash_method: str) -> bytes:
/aosp_15_r20/external/private-join-and-compute/private_join_and_compute/crypto/dodis_yampolskiy_prf/
H A Ddy_verifiable_random_function.h115 struct PrivateKey { struct
116 BigNum key;
117 PedersenOverZn::Opening commit_key_opening;
/aosp_15_r20/external/rust/beto-rust/nearby/crypto/crypto_provider/src/
Ded25519.rs68 pub struct PrivateKey(RawPrivateKey); struct
70 impl PrivateKey { implementation
213 fn private_key(&self) -> PrivateKey { in private_key()
/aosp_15_r20/packages/modules/Virtualization/libs/dice/open_dice/src/
Ddice.rs230 pub struct PrivateKey([u8; PRIVATE_KEY_SIZE]); struct
232 impl Default for PrivateKey { implementation
243 impl PrivateKey { impl
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/ed25519/
Ded25519.go57 type PrivateKey []byte type
67 func (priv PrivateKey) Equal(x crypto.PrivateKey) bool {
189 func Sign(privateKey PrivateKey, message []byte) []byte {

12345678910>>...14