/external/boringssl/src/include/openssl/ |
pkcs8.h | 92 * an |EVP_PKEY| and writes the serialized EncryptedPrivateKeyInfo to |out|. It 97 const EVP_PKEY *pkey); 116 * returns a newly-allocated |EVP_PKEY| on success and zero on error. */ 117 OPENSSL_EXPORT EVP_PKEY *PKCS8_parse_encrypted_private_key(CBS *cbs, 125 OPENSSL_EXPORT int PKCS12_get_key_and_certs(EVP_PKEY **out_key, 164 EVP_PKEY **out_pkey, X509 **out_cert,
|
pem.h | 407 OPENSSL_EXPORT int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, unsigned char **ek, int *ekl, unsigned char *iv, EVP_PKEY **pubk, int npubk); 409 OPENSSL_EXPORT int PEM_SealFinal(PEM_ENCODE_SEAL_CTX *ctx, unsigned char *sig,int *sigl, unsigned char *out, int *outl, EVP_PKEY *priv); 413 OPENSSL_EXPORT int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, EVP_PKEY *pkey); 466 DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY) 468 DECLARE_PEM_rw(PUBKEY, EVP_PKEY) 470 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); 471 OPENSSL_EXPORT int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *, char *, int, pem_password_cb *, void *); 472 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); 473 OPENSSL_EXPORT int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u); 474 OPENSSL_EXPORT EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) [all...] |
x509.h | 127 EVP_PKEY *pkey; 454 EVP_PKEY *dec_pkey; 570 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk)); 584 OPENSSL_EXPORT int X509_verify(X509 *a, EVP_PKEY *r); 586 OPENSSL_EXPORT int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r); 587 OPENSSL_EXPORT int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r); 588 OPENSSL_EXPORT int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r); 592 OPENSSL_EXPORT EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x); 593 OPENSSL_EXPORT int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey); 600 OPENSSL_EXPORT int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) [all...] |
/system/keymaster/ |
openssl_utils.h | 62 DEFINE_OPENSSL_OBJECT_POINTER(EVP_PKEY) 87 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey); 92 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* evp_pkey); 94 keymaster_error_t EvpKeyToKeyMaterial(const EVP_PKEY* evp_pkey, KeymasterKeyBlob* key_blob);
|
rsa_keymaster1_operation.cpp | 31 keymaster_error_t RsaKeymaster1WrappedOperation::Begin(EVP_PKEY* rsa_key, 77 RsaKeymaster1WrappedOperation::PrepareFinish(EVP_PKEY* rsa_key, 94 keymaster_error_t RsaKeymaster1WrappedOperation::GetError(EVP_PKEY* rsa_key) { 101 static EVP_PKEY* GetEvpKey(const RsaKeymaster1Key& key, keymaster_error_t* error) { 107 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); 127 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> rsa(GetEvpKey(rsa_km1_key, error));
|
ecdsa_keymaster1_operation.h | 39 keymaster_error_t Begin(EVP_PKEY* ecdsa_key, const AuthorizationSet& input_params); 40 keymaster_error_t PrepareFinish(EVP_PKEY* ecdsa_key, const AuthorizationSet& input_params); 44 keymaster_error_t GetError(EVP_PKEY* ecdsa_key); 56 EcdsaKeymaster1Operation(keymaster_digest_t digest, EVP_PKEY* key,
|
rsa_keymaster1_operation.h | 39 keymaster_error_t Begin(EVP_PKEY* rsa_key, const AuthorizationSet& input_params); 40 keymaster_error_t PrepareFinish(EVP_PKEY* rsa_key, const AuthorizationSet& input_params); 44 keymaster_error_t GetError(EVP_PKEY* rsa_key); 56 RsaKeymaster1Operation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key,
|
asymmetric_key_factory.cpp | 52 EVP_PKEY* pkey = 56 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey_deleter(pkey);
|
openssl_utils.cpp | 84 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey) { 109 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey) { 117 keymaster_error_t EvpKeyToKeyMaterial(const EVP_PKEY* pkey, KeymasterKeyBlob* key_blob) {
|
/external/libchrome/crypto/ |
ec_private_key.h | 21 typedef struct evp_pkey_st EVP_PKEY; 85 EVP_PKEY* key() { return key_; } 117 EVP_PKEY* key_;
|
/external/boringssl/src/crypto/x509/ |
x_all.c | 66 int X509_verify(X509 *a, EVP_PKEY *r) 74 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r) 80 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) 95 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) 108 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) 123 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md) 129 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *x, EVP_PKEY *pkey) 425 int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key) 437 int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) 439 return ASN1_i2d_fp_of_const(EVP_PKEY, i2d_PrivateKey, fp, pkey) [all...] |
i2d_pr.c | 66 int i2d_PrivateKey(const EVP_PKEY *a, uint8_t **pp)
|
x509rset.c | 76 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey)
|
algorithm.c | 70 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(ctx->pctx); 105 EVP_PKEY *pkey) {
|
x509_r2x.c | 66 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) 71 EVP_PKEY *pubkey = NULL;
|
x509type.c | 61 int X509_certificate_type(X509 *x, EVP_PKEY *pkey) 63 EVP_PKEY *pk;
|
/external/boringssl/src/crypto/pem/ |
pem_pkey.c | 72 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, 79 EVP_PKEY *ret = NULL; 93 EVP_PKEY_free((EVP_PKEY *)*x); 122 EVP_PKEY_free((EVP_PKEY *)*x); 147 int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, 155 EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, 159 EVP_PKEY *ret; 171 int PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc [all...] |
/external/webrtc/webrtc/base/ |
opensslidentity.h | 27 // OpenSSLKeyPair encapsulates an OpenSSL EVP_PKEY* keypair object, 31 explicit OpenSSLKeyPair(EVP_PKEY* pkey) : pkey_(pkey) { 41 EVP_PKEY* pkey() const { return pkey_; } 46 EVP_PKEY* pkey_;
|
/external/boringssl/src/crypto/evp/ |
print.c | 235 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, 240 static int rsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, 306 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, 311 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, 316 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, 430 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, 435 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, 441 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, 449 int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx); 450 int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent [all...] |
digestsign.c | 70 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey, 107 ENGINE *e, EVP_PKEY *pkey) { 112 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) {
|
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/ |
key.c | 54 EVP_PKEY *k = NULL; 79 EVP_PKEY *k = NULL;
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
NativeRef.java | 111 public static class EVP_PKEY extends NativeRef { 112 public EVP_PKEY(long ctx) {
|
NativeCrypto.java | 68 public static native int EVP_PKEY_size(NativeRef.EVP_PKEY pkey); 70 public static native int EVP_PKEY_type(NativeRef.EVP_PKEY pkey); 72 public static native String EVP_PKEY_print_public(NativeRef.EVP_PKEY pkeyRef); 74 public static native String EVP_PKEY_print_params(NativeRef.EVP_PKEY pkeyRef); 78 public static native int EVP_PKEY_cmp(NativeRef.EVP_PKEY pkey1, NativeRef.EVP_PKEY pkey2); 80 public static native byte[] i2d_PKCS8_PRIV_KEY_INFO(NativeRef.EVP_PKEY pkey); 84 public static native byte[] i2d_PUBKEY(NativeRef.EVP_PKEY pkey); 99 public static native int RSA_size(NativeRef.EVP_PKEY pkey); 102 NativeRef.EVP_PKEY pkey, int padding) [all...] |
/hardware/interfaces/keymaster/3.0/vts/functional/ |
openssl_utils.h | 21 typedef UniquePtrDeleter<EVP_PKEY, EVP_PKEY_free> EVP_PKEY_Delete; 27 MAKE_OPENSSL_PTR_TYPE(EVP_PKEY)
|
/system/security/keystore/ |
keystore_utils.h | 53 void operator()(EVP_PKEY* p) const { EVP_PKEY_free(p); } 55 typedef UniquePtr<EVP_PKEY, EVP_PKEY_Delete> Unique_EVP_PKEY;
|