HomeSort by relevance Sort by last modified time
    Searched refs:EVP_PKEY (Results 51 - 75 of 145) sorted by null

1 23 4 5 6

  /external/boringssl/src/crypto/x509/
x509spki.c 64 int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey)
71 EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x)
x509_req.c 69 X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md)
74 EVP_PKEY *pktmp;
111 EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req)
118 int X509_REQ_check_private_key(X509_REQ *x, EVP_PKEY *k)
120 EVP_PKEY *xk = NULL;
a_verify.c 74 ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey)
x509_cmp.c 304 EVP_PKEY *X509_get_pubkey(X509 *x)
318 int X509_check_private_key(X509 *x, EVP_PKEY *k)
320 EVP_PKEY *xk;
355 static int check_suite_b(EVP_PKEY *pkey, int sign_nid, unsigned long *pflags)
391 EVP_PKEY *pk = NULL;
454 int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags)
  /external/boringssl/src/include/openssl/
pem.h 358 DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY)
360 DECLARE_PEM_rw(PUBKEY, EVP_PKEY)
362 OPENSSL_EXPORT int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u);
363 OPENSSL_EXPORT int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *, char *, int, pem_password_cb *, void *);
364 OPENSSL_EXPORT int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u);
365 OPENSSL_EXPORT int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u);
366 OPENSSL_EXPORT EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u);
368 OPENSSL_EXPORT int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u);
369 OPENSSL_EXPORT int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u)
    [all...]
  /system/security/keystore-engine/
android_engine.cpp 281 void operator()(EVP_PKEY* p) const {
285 typedef std::unique_ptr<EVP_PKEY, EVP_PKEY_Delete> Unique_EVP_PKEY;
301 /* wrap_rsa returns an |EVP_PKEY| that contains an RSA key where the public
304 static EVP_PKEY *wrap_rsa(const char *key_id, const RSA *public_rsa) {
337 /* wrap_ecdsa returns an |EVP_PKEY| that contains an ECDSA key where the public
340 static EVP_PKEY *wrap_ecdsa(const char *key_id, const EC_KEY *public_ecdsa) {
376 EVP_PKEY* EVP_PKEY_from_keystore(const char* key_id) __attribute__((visibility("default")));
378 /* EVP_PKEY_from_keystore returns an |EVP_PKEY| that contains either an RSA or
382 EVP_PKEY* EVP_PKEY_from_keystore(const char* key_id) {
405 EVP_PKEY *result
    [all...]
  /system/security/softkeymaster/
keymaster_openssl.cpp 46 void operator()(EVP_PKEY* p) const { EVP_PKEY_free(p); }
48 typedef std::unique_ptr<EVP_PKEY, EVP_PKEY_Delete> Unique_EVP_PKEY;
109 static int wrap_key(EVP_PKEY* pkey, int type, uint8_t** keyBlob, size_t* keyBlobLength) {
162 static EVP_PKEY* unwrap_key(const uint8_t* keyBlob, const size_t keyBlobLength) {
220 static int generate_dsa_keypair(EVP_PKEY* pkey, const keymaster_dsa_keygen_params_t* dsa_params) {
270 static int generate_ec_keypair(EVP_PKEY* pkey, const keymaster_ec_keygen_params_t* ec_params) {
325 static int generate_rsa_keypair(EVP_PKEY* pkey, const keymaster_rsa_keygen_params_t* rsa_params) {
468 static int sign_dsa(EVP_PKEY* pkey, keymaster_dsa_sign_params_t* sign_params, const uint8_t* data,
500 static int sign_ec(EVP_PKEY* pkey, keymaster_ec_sign_params_t* sign_params, const uint8_t* data,
532 static int sign_rsa(EVP_PKEY* pkey, keymaster_rsa_sign_params_t* sign_params, const uint8_t* data
    [all...]
  /external/boringssl/src/ssl/
ssl_cert.cc 254 CRYPTO_BUFFER *leaf_buffer, EVP_PKEY *privkey) {
259 EVP_PKEY *pubkey = ssl_cert_parse_pubkey(&cert_cbs);
295 EVP_PKEY *privkey, const SSL_PRIVATE_KEY_METHOD *privkey_method) {
344 size_t num_certs, EVP_PKEY *privkey,
351 size_t num_certs, EVP_PKEY *privkey,
426 EVP_PKEY **out_pubkey,
564 EVP_PKEY *ssl_cert_parse_pubkey(const CBS *in) {
574 int ssl_compare_public_and_private_key(const EVP_PKEY *pubkey,
575 const EVP_PKEY *privkey) {
604 int ssl_cert_check_private_key(const CERT *cert, const EVP_PKEY *privkey)
    [all...]
ssl_privkey.cc 77 static int ssl_set_pkey(CERT *cert, EVP_PKEY *pkey) {
98 EVP_PKEY *pkey;
131 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) {
148 EVP_PKEY *pkey = d2i_PrivateKey(type, NULL, &p, (long)der_len);
162 EVP_PKEY *pkey;
196 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) {
213 EVP_PKEY *pkey = d2i_PrivateKey(type, NULL, &p, (long)der_len);
361 static int pkey_supports_algorithm(const SSL *ssl, EVP_PKEY *pkey,
387 static int setup_ctx(SSL *ssl, EVP_MD_CTX *ctx, EVP_PKEY *pkey, uint16_t sigalg,
469 size_t signature_len, uint16_t sigalg, EVP_PKEY *pkey
    [all...]
  /external/boringssl/src/crypto/evp/
evp_test.cc 140 using KeyMap = std::map<std::string, bssl::UniquePtr<EVP_PKEY>>;
143 EVP_PKEY *(*parse_func)(CBS *cbs),
144 int (*marshal_func)(CBB *cbb, const EVP_PKEY *key)) {
152 bssl::UniquePtr<EVP_PKEY> pkey(parse_func(&cbs));
226 ENGINE *e, EVP_PKEY *pkey) = nullptr;
253 EVP_PKEY *key = (*key_map)[key_name].get();
sign.c 78 unsigned int *out_sig_len, EVP_PKEY *pkey) {
124 EVP_PKEY *pkey) {
  /device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/
cert.c 101 EVP_PKEY *pkey = cert->key->key;
102 EVP_PKEY *ikey = cert->issuer->key->key;
  /external/boringssl/src/tool/
pkcs12.cc 123 EVP_PKEY *key;
131 bssl::UniquePtr<EVP_PKEY> key_owned(key);
server.cc 102 static bssl::UniquePtr<EVP_PKEY> MakeKeyPairForSelfSignedCert() {
108 bssl::UniquePtr<EVP_PKEY> evp_pkey(EVP_PKEY_new());
109 if (!evp_pkey || !EVP_PKEY_assign_EC_KEY(evp_pkey.get(), ec_key.release())) {
113 return evp_pkey;
116 static bssl::UniquePtr<X509> MakeSelfSignedCert(EVP_PKEY *evp_pkey,
134 if (!X509_set_pubkey(x509.get(), evp_pkey)) {
138 if (!X509_sign(x509.get(), evp_pkey, EVP_sha256()))
174 bssl::UniquePtr<EVP_PKEY> evp_pkey = MakeKeyPairForSelfSignedCert(); local
    [all...]
sign.cc 43 bssl::UniquePtr<EVP_PKEY> key(
  /external/google-tv-pairing-protocol/cpp/src/polo/pairing/
polochallengeresponse.cc 33 EVP_PKEY* client_pkey = X509_get_pubkey(client_cert);
43 EVP_PKEY* server_pkey = X509_get_pubkey(server_cert);
  /system/extras/verity/
generate_verity_key.c 65 EVP_PKEY *pkey = NULL;
127 EVP_PKEY* pkey = EVP_PKEY_new();
  /system/keymaster/
keymaster1_engine.h 76 KeyData* GetData(EVP_PKEY* key) const;
82 EVP_PKEY* GetKeymaster1PublicKey(const KeymasterKeyBlob& blob,
rsa_key_factory.cpp 85 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new());
135 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey;
keymaster0_engine.h 64 EVP_PKEY* GetKeymaster0PublicKey(const KeymasterKeyBlob& blob) const;
  /external/libchrome/crypto/
scoped_openssl_types.h 53 using ScopedEVP_PKEY = ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free>;
  /external/boringssl/src/crypto/pkcs8/
pkcs8_x509.c 102 EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8) {
111 EVP_PKEY *ret = EVP_parse_private_key(&cbs);
123 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey) {
162 EVP_PKEY *pkey = NULL;
197 EVP_PKEY *pkey = EVP_PKCS82PKEY(p8inf);
231 EVP_PKEY **out_key;
320 EVP_PKEY *pkey = PKCS8_parse_encrypted_private_key(
471 int PKCS12_get_key_and_certs(EVP_PKEY **out_key, STACK_OF(X509) *out_certs,
718 int PKCS12_parse(const PKCS12 *p12, const char *password, EVP_PKEY **out_pkey,
771 EVP_PKEY *pkey = NULL
    [all...]
  /system/keymaster/include/keymaster/
soft_keymaster_context.h 83 EVP_PKEY* AttestationKey(keymaster_algorithm_t algorithm,
112 keymaster_error_t FakeKeyAuthorizations(EVP_PKEY* pubkey, AuthorizationSet* hw_enforced,
keymaster_context.h 166 virtual EVP_PKEY* AttestationKey(keymaster_algorithm_t algorithm,
  /system/netd/tests/dns_responder/
dns_tls_frontend.cpp 79 bssl::UniquePtr<EVP_PKEY> make_private_key() {
100 bssl::UniquePtr<EVP_PKEY> privkey(EVP_PKEY_new());
115 bssl::UniquePtr<X509> make_cert(EVP_PKEY* privkey) {
154 bssl::UniquePtr<EVP_PKEY> key(make_private_key());

Completed in 1246 milliseconds

1 23 4 5 6