Home
last modified time | relevance | path

Searched defs:pkey (Results 1 – 25 of 73) sorted by relevance

123

/external/boringssl/src/crypto/evp/
Devp.c97 static void free_it(EVP_PKEY *pkey) { in free_it()
105 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free()
118 EVP_PKEY *EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref()
123 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque()
130 int EVP_PKEY_supports_digest(const EVP_PKEY *pkey, const EVP_MD *md) { in EVP_PKEY_supports_digest()
179 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters()
186 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size()
193 int EVP_PKEY_bits(EVP_PKEY *pkey) { in EVP_PKEY_bits()
200 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id()
255 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_set1_RSA()
[all …]
Dp_ec_asn1.c89 static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) { in eckey_pub_encode()
166 static int eckey_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) { in eckey_pub_decode()
215 static int eckey_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) { in eckey_priv_decode()
283 static int eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) { in eckey_priv_encode()
334 static int int_ec_size(const EVP_PKEY *pkey) { in int_ec_size()
338 static int ec_bits(const EVP_PKEY *pkey) { in ec_bits()
358 static int ec_missing_parameters(const EVP_PKEY *pkey) { in ec_missing_parameters()
382 static void int_ec_free(EVP_PKEY *pkey) { EC_KEY_free(pkey->pkey.ec); } in int_ec_free()
490 static int eckey_param_decode(EVP_PKEY *pkey, const uint8_t **pder, in eckey_param_decode()
501 static int eckey_param_encode(const EVP_PKEY *pkey, uint8_t **pder) { in eckey_param_encode()
[all …]
Dp_dsa_asn1.c71 static int dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) { in dsa_pub_decode()
130 static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) { in dsa_pub_encode()
158 static int dsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) { in dsa_priv_decode()
277 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) { in dsa_priv_encode()
327 static int int_dsa_size(const EVP_PKEY *pkey) { in int_dsa_size()
331 static int dsa_bits(const EVP_PKEY *pkey) { in dsa_bits()
335 static int dsa_missing_parameters(const EVP_PKEY *pkey) { in dsa_missing_parameters()
377 static void int_dsa_free(EVP_PKEY *pkey) { DSA_free(pkey->pkey.dsa); } in int_dsa_free()
449 static int dsa_param_decode(EVP_PKEY *pkey, const uint8_t **pder, int derlen) { in dsa_param_decode()
460 static int dsa_param_encode(const EVP_PKEY *pkey, uint8_t **pder) { in dsa_param_encode()
[all …]
Devp_extra_test.cc330 ScopedEVP_PKEY pkey(EVP_PKEY_new()); in LoadExampleRSAKey() local
338 ScopedEVP_PKEY pkey = LoadExampleRSAKey(); in TestEVP_DigestSignInit() local
375 ScopedEVP_PKEY pkey = LoadExampleRSAKey(); in TestEVP_DigestVerifyInit() local
390 static bool TestAlgorithmRoundtrip(EVP_MD_CTX *md_ctx, EVP_PKEY *pkey) { in TestAlgorithmRoundtrip()
433 ScopedEVP_PKEY pkey = LoadExampleRSAKey(); in TestEVP_DigestSignAlgorithm() local
487 ScopedEVP_PKEY pkey = LoadExampleRSAKey(); in TestEVP_DigestVerifyInitFromAlgorithm() local
504 ScopedEVP_PKEY pkey(d2i_AutoPrivateKey(NULL, &p, input_len)); in Testd2i_AutoPrivateKey() local
528 ScopedEVP_PKEY pkey(EVP_PKCS82PKEY(p8inf.get())); in TestEVP_PKCS82PKEY() local
Dp_rsa_asn1.c71 static int rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) { in rsa_pub_encode()
89 static int rsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) { in rsa_pub_decode()
111 static int rsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) { in rsa_priv_encode()
132 static int rsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) { in rsa_priv_decode()
152 static int rsa_opaque(const EVP_PKEY *pkey) { in rsa_opaque()
156 static int rsa_supports_digest(const EVP_PKEY *pkey, const EVP_MD *md) { in rsa_supports_digest()
160 static int int_rsa_size(const EVP_PKEY *pkey) { in int_rsa_size()
164 static int rsa_bits(const EVP_PKEY *pkey) { in rsa_bits()
168 static void int_rsa_free(EVP_PKEY *pkey) { RSA_free(pkey->pkey.rsa); } in int_rsa_free()
252 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_pub_print()
[all …]
Dp_hmac_asn1.c66 static int hmac_size(const EVP_PKEY *pkey) { return EVP_MAX_MD_SIZE; } in hmac_size()
68 static void hmac_key_free(EVP_PKEY *pkey) { in hmac_key_free()
Dalgorithm.c71 EVP_PKEY *pkey; in EVP_DigestSignAlgorithm() local
117 EVP_PKEY *pkey) { in EVP_DigestVerifyInitFromAlgorithm()
Ddigestsign.c79 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey, in do_sigver_init()
130 ENGINE *e, EVP_PKEY *pkey) { in EVP_DigestSignInit()
135 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) { in EVP_DigestVerifyInit()
Devp_test.cc114 ScopedEVP_PKEY pkey(PEM_read_bio_PrivateKey(bio.get(), nullptr, 0, nullptr)); in ImportPrivateKey() local
140 ScopedEVP_PKEY pkey(EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, nullptr, in TestHMAC() local
Dsign.c78 unsigned int *out_sig_len, EVP_PKEY *pkey) { in EVP_SignFinal()
124 EVP_PKEY *pkey) { in EVP_VerifyFinal()
/external/google-tv-pairing-protocol/cpp/tests/polo/util/
Dcertificateutiltest.cc54 EVP_PKEY* pkey = EVP_PKEY_new(); in TEST() local
135 EVP_PKEY* pkey = CertificateUtil::PKEYFromPEM(pem, "testing"); in TEST() local
147 EVP_PKEY* pkey = EVP_PKEY_new(); in TEST() local
166 EVP_PKEY* pkey = CertificateUtil::GeneratePrivateKey(); in TEST() local
173 EVP_PKEY* pkey = CertificateUtil::GeneratePrivateKey(); in TEST() local
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dcertificateutil.cc57 EVP_PKEY* pkey = PEM_read_bio_PrivateKey(bio, NULL, 0, &passphrase[0]); in PKEYFromPEM() local
63 std::string CertificateUtil::PKEYToPEM(EVP_PKEY* pkey, in PKEYToPEM()
80 EVP_PKEY* pkey = EVP_PKEY_new(); in GeneratePrivateKey() local
86 X509* CertificateUtil::GenerateSelfSignedCert(EVP_PKEY* pkey, in GenerateSelfSignedCert()
/external/boringssl/src/ssl/
Dssl_rsa.c139 EVP_PKEY *pkey; in SSL_use_RSAPrivateKey() local
162 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey) { in ssl_set_pkey()
247 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) { in SSL_use_PrivateKey()
262 EVP_PKEY *pkey = NULL; in SSL_use_PrivateKey_file() local
302 EVP_PKEY *pkey; in SSL_use_PrivateKey_ASN1() local
327 EVP_PKEY *pkey; in ssl_set_cert() local
427 EVP_PKEY *pkey; in SSL_CTX_use_RSAPrivateKey() local
507 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) { in SSL_CTX_use_PrivateKey()
519 EVP_PKEY *pkey = NULL; in SSL_CTX_use_PrivateKey_file() local
560 EVP_PKEY *pkey; in SSL_CTX_use_PrivateKey_ASN1() local
Ds3_clnt.c925 EVP_PKEY *pkey = NULL; in ssl3_get_server_certificate() local
1060 EVP_PKEY *pkey = NULL; in ssl3_get_server_key_exchange() local
1619 EVP_PKEY *pkey = NULL; in ssl3_send_client_key_exchange() local
1994 EVP_PKEY *pkey; in ssl3_send_cert_verify() local
2075 EVP_PKEY *pkey = NULL; in ssl3_send_client_certificate() local
2164 EVP_PKEY *pkey = NULL; in ssl3_check_cert_and_algorithm() local
/external/boringssl/src/crypto/x509/
Da_sign.c69 ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey, in ASN1_item_sign()
87 EVP_PKEY *pkey; in ASN1_item_sign_ctx() local
Dx_pubkey.c239 EVP_PKEY *pkey; in d2i_RSA_PUBKEY() local
278 EVP_PKEY *pkey; in d2i_DSA_PUBKEY() local
316 EVP_PKEY *pkey; in d2i_EC_PUBKEY() local
Dx_all.c84 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign()
107 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign()
119 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign()
141 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md) in NETSCAPE_SPKI_sign()
481 int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) in i2d_PrivateKey_fp()
491 int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey) in i2d_PUBKEY_fp()
526 int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey) in i2d_PrivateKey_bio()
536 int i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey) in i2d_PUBKEY_bio()
Dx509type.c62 int X509_certificate_type(X509 *x, EVP_PKEY *pkey) in X509_certificate_type()
Dx509_r2x.c67 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) in X509_REQ_to_X509()
Dx509rset.c75 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey) in X509_REQ_set_pubkey()
Da_verify.c75 ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey) in ASN1_item_verify()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLEngine.java99 OpenSSLKey pkey = new OpenSSLKey(keyRef, this, id); in getPrivateKeyById() local
117 OpenSSLKey pkey = new OpenSSLKey(keyRef, this, id); in getSecretKeyById() local
DOpenSSLX509Certificate.java345 private void verifyOpenSSL(OpenSSLKey pkey) throws CertificateException, in verifyOpenSSL()
383 OpenSSLKey pkey = ((OpenSSLKeyHolder) key).getOpenSSLKey(); in verify() local
414 OpenSSLKey pkey = new OpenSSLKey(NativeCrypto.X509_get_pubkey(mContext)); in getPublicKey() local
/external/boringssl/src/tool/
Dclient.cc82 ScopedEVP_PKEY pkey(PEM_read_bio_PrivateKey(bio.get(), nullptr, nullptr, in LoadPrivateKey() local
210 ScopedEVP_PKEY pkey = LoadPrivateKey(args_map["-channel-id-key"]); in Client() local
/external/vboot_reference/tests/
Dvb21_host_key_tests.c38 struct vb2_packed_private_key *pkey; in private_key_tests() local
172 struct vb2_packed_key *pkey; in public_key_tests() local

123