HomeSort by relevance Sort by last modified time
    Searched refs:EVP_PKEY (Results 1 - 25 of 228) sorted by null

1 2 3 4 5 6 7 8 910

  /external/openssl/crypto/asn1/
asn1_locl.h 83 int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub);
84 int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk);
85 int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b);
86 int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent,
89 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf);
90 int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk);
91 int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent,
94 int (*pkey_size)(const EVP_PKEY *pk);
95 int (*pkey_bits)(const EVP_PKEY *pk)
    [all...]
ameth_lib.c 288 const EVP_PKEY_ASN1_METHOD* EVP_PKEY_get0_asn1(EVP_PKEY *pkey)
409 int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub),
410 int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk),
411 int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b),
412 int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent,
414 int (*pkey_size)(const EVP_PKEY *pk),
415 int (*pkey_bits)(const EVP_PKEY *pk))
426 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf),
427 int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk)
    [all...]
  /external/chromium_org/net/base/
openssl_private_key_store.h 11 typedef struct evp_pkey_st EVP_PKEY;
35 static bool StoreKeyPair(const GURL& url, EVP_PKEY* pkey);
43 static bool HasPrivateKey(EVP_PKEY* pub_key);
openssl_private_key_store_memory.cc 20 // a single EVP_PKEY object. This is intentionally distinct from
32 for (std::vector<EVP_PKEY*>::iterator it = keys_.begin();
38 bool StoreKeyPair(EVP_PKEY* pkey) {
45 bool HasPrivateKey(EVP_PKEY* pkey) {
47 for (std::vector<EVP_PKEY*>::iterator it = keys_.begin();
56 std::vector<EVP_PKEY*> keys_;
65 EVP_PKEY* pkey) {
69 bool OpenSSLPrivateKeyStore::HasPrivateKey(EVP_PKEY* pub_key) {
  /external/chromium_org/net/ssl/
openssl_client_key_store.h 41 // |private_key| is an OpenSSL EVP_PKEY that corresponds to the
47 EVP_PKEY* private_key);
67 void AddKeyPair(EVP_PKEY* pub_key, EVP_PKEY* private_key);
71 // EVP_PKEY objects, with appropriate ownership.
74 explicit KeyPair(EVP_PKEY* pub_key, EVP_PKEY* priv_key);
87 int FindKeyPairIndex(EVP_PKEY* public_key);
openssl_client_key_store.cc 18 // Return the EVP_PKEY holding the public key of a given certificate.
20 // Returns a scoped EVP_PKEY for it.
24 EVP_PKEY* pkey =
39 OpenSSLClientKeyStore::KeyPair::KeyPair(EVP_PKEY* pub_key,
40 EVP_PKEY* priv_key)
64 int OpenSSLClientKeyStore::FindKeyPairIndex(EVP_PKEY* public_key) {
74 void OpenSSLClientKeyStore::AddKeyPair(EVP_PKEY* pub_key,
75 EVP_PKEY* private_key) {
85 EVP_PKEY* private_key) {
  /external/google-tv-pairing-protocol/cpp/src/polo/util/
certificateutil.h 44 // @return a pointer to a new EVP_PKEY or NULL if there was an error loading
46 static EVP_PKEY* PKEYFromPEM(std::string pem,
53 static std::string PKEYToPEM(EVP_PKEY* pkey,
58 static EVP_PKEY* GeneratePrivateKey();
65 static X509* GenerateSelfSignedCert(EVP_PKEY* pkey,
  /external/openssl/crypto/cmac/
cm_ameth.c 64 static int cmac_size(const EVP_PKEY *pkey)
69 static void cmac_key_free(EVP_PKEY *pkey)
  /external/chromium_org/third_party/boringssl/src/crypto/evp/
evp.c 77 EVP_PKEY *EVP_PKEY_new(void) {
78 EVP_PKEY *ret;
80 ret = OPENSSL_malloc(sizeof(EVP_PKEY));
86 memset(ret, 0, sizeof(EVP_PKEY));
93 static void free_it(EVP_PKEY *pkey) {
101 void EVP_PKEY_free(EVP_PKEY *pkey) {
120 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) {
127 int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b) {
149 EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey)
    [all...]
internal.h 80 int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub);
81 int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk);
82 int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b);
83 int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx);
85 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf);
86 int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk);
87 int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent,
92 int (*pkey_opaque)(const EVP_PKEY *pk);
94 int (*pkey_size)(const EVP_PKEY *pk)
    [all...]
p_hmac_asn1.c 66 static int hmac_size(const EVP_PKEY *pkey) { return EVP_MAX_MD_SIZE; }
68 static void hmac_key_free(EVP_PKEY *pkey) {
78 static int hmac_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) {
asn1.c 67 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **out, const uint8_t **inp,
69 EVP_PKEY *ret;
114 EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **out, const uint8_t **inp, long len) {
136 EVP_PKEY *ret;
158 int i2d_PublicKey(EVP_PKEY *key, uint8_t **outp) {
  /external/openssl/crypto/evp/
p_lib.c 83 static void EVP_PKEY_free_it(EVP_PKEY *x);
85 int EVP_PKEY_bits(EVP_PKEY *pkey)
92 int EVP_PKEY_size(EVP_PKEY *pkey)
99 int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode)
124 int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
143 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey)
150 int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b)
159 int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b
    [all...]
evp_pkey.c 0 /* evp_pkey.c */
68 EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8)
70 EVP_PKEY *pkey = NULL;
112 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey)
119 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8_broken(EVP_PKEY *pkey, int broken)
182 /* EVP_PKEY attribute functions */
184 int EVP_PKEY_get_attr_count(const EVP_PKEY *key)
189 int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid,
195 int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, ASN1_OBJECT *obj,
201 X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc
    [all...]
evp.h 152 } /* EVP_PKEY */;
610 EVP_PKEY *pkey);
613 unsigned int siglen,EVP_PKEY *pkey);
616 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey);
621 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey);
627 EVP_PKEY *priv);
632 EVP_PKEY **pubk, int npubk);
    [all...]
  /external/chromium_org/third_party/boringssl/src/include/openssl/
evp.h 86 OPENSSL_EXPORT EVP_PKEY *EVP_PKEY_new(void);
90 OPENSSL_EXPORT void EVP_PKEY_free(EVP_PKEY *pkey);
95 OPENSSL_EXPORT int EVP_PKEY_is_opaque(const EVP_PKEY *pkey);
102 OPENSSL_EXPORT int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b);
106 OPENSSL_EXPORT EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey);
110 OPENSSL_EXPORT int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from);
114 OPENSSL_EXPORT int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey)
    [all...]
  /external/chromium_org/third_party/boringssl/src/crypto/pem/
pem_all.c 121 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
122 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
123 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
136 * For private keys we read in an EVP_PKEY structure with
142 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa)
159 EVP_PKEY *pktmp;
169 EVP_PKEY *pktmp;
183 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa)
200 EVP_PKEY *pktmp;
215 EVP_PKEY *pktmp
    [all...]
pem_pk8.c 68 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder,
72 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder,
83 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid,
90 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
97 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
104 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid,
111 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc,
151 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
156 EVP_PKEY *ret
    [all...]
pem_pkey.c 76 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
83 EVP_PKEY *ret=NULL;
95 if(*x) EVP_PKEY_free((EVP_PKEY *)*x);
119 if(*x) EVP_PKEY_free((EVP_PKEY *)*x);
142 int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
168 static int set_pkey_type_from_str(EVP_PKEY *pkey, const char *name, size_t len) {
176 EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x)
183 EVP_PKEY *ret=NULL
    [all...]
  /external/openssl/crypto/hmac/
hm_ameth.c 70 static int hmac_size(const EVP_PKEY *pkey)
75 static void hmac_key_free(EVP_PKEY *pkey)
87 static int hmac_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2)
106 static int old_hmac_decode(EVP_PKEY *pkey,
117 static int old_hmac_encode(const EVP_PKEY *pkey, unsigned char **pder)
  /external/chromium_org/third_party/boringssl/src/crypto/x509/
i2d_pr.c 68 int i2d_PrivateKey(const EVP_PKEY *a, unsigned char **pp)
75 PKCS8_PRIV_KEY_INFO *p8 = EVP_PKEY2PKCS8((EVP_PKEY*)a);
  /external/openssl/crypto/pem/
pem_pk8.c 69 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder,
73 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder,
84 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid,
91 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
98 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
105 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid,
112 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc,
152 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
157 EVP_PKEY *ret
    [all...]
pem_pkey.c 75 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
82 EVP_PKEY *ret=NULL;
94 if(*x) EVP_PKEY_free((EVP_PKEY *)*x);
118 if(*x) EVP_PKEY_free((EVP_PKEY *)*x);
140 int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
155 EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x)
162 EVP_PKEY *ret=NULL;
184 if(*x) EVP_PKEY_free((EVP_PKEY *)*x)
    [all...]
pem_all.c 130 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
133 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
137 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
156 * For private keys we read in an EVP_PKEY structure with
162 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa)
179 EVP_PKEY *pktmp;
189 EVP_PKEY *pktmp;
204 EVP_PKEY *k;
227 EVP_PKEY *k;
258 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa
    [all...]
  /external/openssl/include/openssl/
evp.h 152 } /* EVP_PKEY */;
610 EVP_PKEY *pkey);
613 unsigned int siglen,EVP_PKEY *pkey);
616 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey);
621 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey);
627 EVP_PKEY *priv);
632 EVP_PKEY **pubk, int npubk);
    [all...]

Completed in 2556 milliseconds

1 2 3 4 5 6 7 8 910