/external/libchrome/crypto/ |
rsa_private_key.h | 20 typedef struct evp_pkey_st EVP_PKEY; 183 // Create a new instance from an existing EVP_PKEY, taking a 186 static RSAPrivateKey* CreateFromKey(EVP_PKEY* key); 194 EVP_PKEY* key() { return key_; } 214 EVP_PKEY* key_;
|
scoped_openssl_types.h | 53 using ScopedEVP_PKEY = ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free>;
|
/external/boringssl/src/crypto/x509/ |
a_sign.c | 69 EVP_PKEY *pkey, const EVP_MD *type) 84 EVP_PKEY *pkey;
|
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)
|
/system/security/keystore-engine/ |
android_engine.cpp | 290 void operator()(EVP_PKEY* p) const { 294 typedef UniquePtr<EVP_PKEY, EVP_PKEY_Delete> Unique_EVP_PKEY; 310 /* wrap_rsa returns an |EVP_PKEY| that contains an RSA key where the public 313 static EVP_PKEY *wrap_rsa(const char *key_id, const RSA *public_rsa) { 346 /* wrap_ecdsa returns an |EVP_PKEY| that contains an ECDSA key where the public 349 static EVP_PKEY *wrap_ecdsa(const char *key_id, const EC_KEY *public_ecdsa) { 385 EVP_PKEY* EVP_PKEY_from_keystore(const char* key_id) __attribute__((visibility("default"))); 387 /* EVP_PKEY_from_keystore returns an |EVP_PKEY| that contains either an RSA or 391 EVP_PKEY* EVP_PKEY_from_keystore(const char* key_id) { 414 EVP_PKEY *result [all...] |
/system/security/softkeymaster/ |
keymaster_openssl.cpp | 46 void operator()(EVP_PKEY* p) const { EVP_PKEY_free(p); } 48 typedef UniquePtr<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/crypto/evp/ |
evp_test.cc | 134 using KeyMap = std::map<std::string, bssl::UniquePtr<EVP_PKEY>>; 137 EVP_PKEY *(*parse_func)(CBS *cbs), 138 int (*marshal_func)(CBB *cbb, const EVP_PKEY *key)) { 146 bssl::UniquePtr<EVP_PKEY> pkey(parse_func(&cbs)); 225 EVP_PKEY *key = (*key_map)[key_name].get();
|
sign.c | 78 unsigned int *out_sig_len, EVP_PKEY *pkey) { 124 EVP_PKEY *pkey) {
|
/external/boringssl/src/ssl/ |
ssl_cert.c | 264 CRYPTO_BUFFER *leaf_buffer, EVP_PKEY *privkey) { 269 EVP_PKEY *pubkey = ssl_cert_parse_pubkey(&cert_cbs); 305 EVP_PKEY *privkey, const SSL_PRIVATE_KEY_METHOD *privkey_method) { 354 size_t num_certs, EVP_PKEY *privkey, 361 size_t num_certs, EVP_PKEY *privkey, 436 EVP_PKEY **out_pubkey, 576 EVP_PKEY *ssl_cert_parse_pubkey(const CBS *in) { 586 int ssl_compare_public_and_private_key(const EVP_PKEY *pubkey, 587 const EVP_PKEY *privkey) { 616 int ssl_cert_check_private_key(const CERT *cert, const EVP_PKEY *privkey) [all...] |
ssl_privkey.c | 75 static int ssl_set_pkey(CERT *cert, EVP_PKEY *pkey) { 96 EVP_PKEY *pkey; 119 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) { 136 EVP_PKEY *pkey = d2i_PrivateKey(type, NULL, &p, (long)der_len); 150 EVP_PKEY *pkey; 184 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) { 201 EVP_PKEY *pkey = d2i_PrivateKey(type, NULL, &p, (long)der_len); 375 EVP_PKEY *pkey, const uint8_t *in, 443 EVP_PKEY *pkey, const uint8_t *in, size_t in_len) { 502 EVP_PKEY *pkey, const uint8_t *in [all...] |
/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 | 104 static bssl::UniquePtr<EVP_PKEY> MakeKeyPairForSelfSignedCert() { 110 bssl::UniquePtr<EVP_PKEY> evp_pkey(EVP_PKEY_new()); 111 if (!evp_pkey || !EVP_PKEY_assign_EC_KEY(evp_pkey.get(), ec_key.release())) { 115 return evp_pkey; 118 static bssl::UniquePtr<X509> MakeSelfSignedCert(EVP_PKEY *evp_pkey, 136 if (!X509_set_pubkey(x509.get(), evp_pkey)) { 140 if (!X509_sign(x509.get(), evp_pkey, EVP_sha256())) 174 bssl::UniquePtr<EVP_PKEY> evp_pkey = MakeKeyPairForSelfSignedCert(); local [all...] |
/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/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,
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLKey.java | 32 * Represents a BoringSSL {@code EVP_PKEY}. 38 private final NativeRef.EVP_PKEY ctx; 47 this.ctx = new NativeRef.EVP_PKEY(ctx); 52 * Returns the EVP_PKEY context for use in JNI calls. 54 public NativeRef.EVP_PKEY getNativeRef() { 155 * {@code EVP_PKEY}.
|