Home
last modified time | relevance | path

Searched refs:PKCS8_PRIV_KEY_INFO (Results 1 – 19 of 19) sorted by relevance

/external/boringssl/src/crypto/pkcs8/
Dp8_pkey.c68 PKCS8_PRIV_KEY_INFO *key = (PKCS8_PRIV_KEY_INFO *)*pval; in pkey_cb()
78 ASN1_SEQUENCE_cb(PKCS8_PRIV_KEY_INFO, pkey_cb) = {
79 ASN1_SIMPLE(PKCS8_PRIV_KEY_INFO, version, ASN1_INTEGER),
80 ASN1_SIMPLE(PKCS8_PRIV_KEY_INFO, pkeyalg, X509_ALGOR),
81 ASN1_SIMPLE(PKCS8_PRIV_KEY_INFO, pkey, ASN1_ANY),
82 ASN1_IMP_SET_OF_OPT(PKCS8_PRIV_KEY_INFO, attributes, X509_ATTRIBUTE, 0)
83 } ASN1_SEQUENCE_END_cb(PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO);
85 IMPLEMENT_ASN1_FUNCTIONS(PKCS8_PRIV_KEY_INFO);
Dpkcs8.c478 PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(X509_SIG *pkcs8, const char *pass, in PKCS8_decrypt()
487 PKCS8_PRIV_KEY_INFO *ret = PKCS8_decrypt_pbe(pkcs8, pass_raw, pass_raw_len); in PKCS8_decrypt()
496 PKCS8_PRIV_KEY_INFO *PKCS8_decrypt_pbe(X509_SIG *pkcs8, const uint8_t *pass_raw, in PKCS8_decrypt_pbe()
499 ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), pass_raw, in PKCS8_decrypt_pbe()
536 int iterations, PKCS8_PRIV_KEY_INFO *p8inf) { in PKCS8_encrypt()
556 int iterations, PKCS8_PRIV_KEY_INFO *p8inf) { in PKCS8_encrypt_pbe()
580 pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), pass_raw, pass_raw_len, p8inf); in PKCS8_encrypt_pbe()
593 EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8) { in EVP_PKCS82PKEY()
632 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey) { in EVP_PKEY2PKCS8()
633 PKCS8_PRIV_KEY_INFO *p8; in EVP_PKEY2PKCS8()
[all …]
/external/boringssl/src/include/openssl/
Dpkcs8.h93 PKCS8_PRIV_KEY_INFO *p8inf);
105 OPENSSL_EXPORT PKCS8_PRIV_KEY_INFO *PKCS8_decrypt_pbe(X509_SIG *pkcs8,
128 PKCS8_PRIV_KEY_INFO *p8inf);
134 OPENSSL_EXPORT PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(X509_SIG *pkcs8,
Dx509.h664 OPENSSL_EXPORT PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,
665 PKCS8_PRIV_KEY_INFO **p8inf);
666 OPENSSL_EXPORT int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,PKCS8_PRIV_KEY_INFO *p8inf);
698 OPENSSL_EXPORT PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,
699 PKCS8_PRIV_KEY_INFO **p8inf);
700 OPENSSL_EXPORT int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,PKCS8_PRIV_KEY_INFO *p8inf);
1122 DECLARE_ASN1_FUNCTIONS(PKCS8_PRIV_KEY_INFO)
1124 OPENSSL_EXPORT EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8);
1125 OPENSSL_EXPORT PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey);
1126 OPENSSL_EXPORT PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8_broken(EVP_PKEY *pkey, int broken);
[all …]
Dbase.h225 typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO; typedef
Dpem.h438 DECLARE_PEM_rw(PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO)
/external/boringssl/src/crypto/x509/
Dx_all.c410 PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, in d2i_PKCS8_PRIV_KEY_INFO_fp()
411 PKCS8_PRIV_KEY_INFO **p8inf) in d2i_PKCS8_PRIV_KEY_INFO_fp()
413 return ASN1_d2i_fp_of(PKCS8_PRIV_KEY_INFO,PKCS8_PRIV_KEY_INFO_new, in d2i_PKCS8_PRIV_KEY_INFO_fp()
417 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf) in i2d_PKCS8_PRIV_KEY_INFO_fp()
419 return ASN1_i2d_fp_of(PKCS8_PRIV_KEY_INFO,i2d_PKCS8_PRIV_KEY_INFO,fp, in i2d_PKCS8_PRIV_KEY_INFO_fp()
425 PKCS8_PRIV_KEY_INFO *p8inf; in i2d_PKCS8PrivateKeyInfo_fp()
454 PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, in d2i_PKCS8_PRIV_KEY_INFO_bio()
455 PKCS8_PRIV_KEY_INFO **p8inf) in d2i_PKCS8_PRIV_KEY_INFO_bio()
457 return ASN1_d2i_bio_of(PKCS8_PRIV_KEY_INFO,PKCS8_PRIV_KEY_INFO_new, in d2i_PKCS8_PRIV_KEY_INFO_bio()
461 int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO *p8inf) in i2d_PKCS8_PRIV_KEY_INFO_bio()
[all …]
Dx509.c63 int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv, ASN1_OBJECT *aobj, int version, in PKCS8_pkey_set0()
103 X509_ALGOR **pa, PKCS8_PRIV_KEY_INFO *p8) { in PKCS8_pkey_get0()
Di2d_pr.c74 PKCS8_PRIV_KEY_INFO *p8 = EVP_PKEY2PKCS8((EVP_PKEY*)a); in i2d_PrivateKey()
/external/boringssl/src/crypto/pem/
Dpem_pk8.c117 PKCS8_PRIV_KEY_INFO *p8inf; in do_pk8pkey()
154 PKCS8_PRIV_KEY_INFO *p8inf = NULL; in d2i_PKCS8PrivateKey_bio()
243 IMPLEMENT_PEM_rw(PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO, PEM_STRING_PKCS8INF,
244 PKCS8_PRIV_KEY_INFO)
Dpem_pkey.c91 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey()
101 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey()
/external/boringssl/src/crypto/evp/
Devp_asn1.c92 PKCS8_PRIV_KEY_INFO *p8 = d2i_PKCS8_PRIV_KEY_INFO(NULL, &in, len); in d2i_PrivateKey()
140 PKCS8_PRIV_KEY_INFO *p8 = d2i_PKCS8_PRIV_KEY_INFO(NULL, &p, len); in d2i_AutoPrivateKey()
Dinternal.h99 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf);
100 int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk);
Dp_ec_asn1.c215 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()
Dp_dsa_asn1.c174 static int dsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) { in dsa_priv_decode()
247 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) { in dsa_priv_encode()
Dp_rsa_asn1.c119 static int rsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) { in rsa_priv_encode()
137 static int rsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) { in rsa_priv_decode()
/external/libchrome/crypto/
Drsa_private_key_openssl.cc24 ScopedOpenSSL<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_free>;
/external/boringssl/src/crypto/test/
Dscoped_types.h110 using ScopedPKCS8_PRIV_KEY_INFO = ScopedOpenSSLType<PKCS8_PRIV_KEY_INFO,
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp251 void operator()(PKCS8_PRIV_KEY_INFO* p) const { in operator ()()
255 typedef UniquePtr<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_Delete> Unique_PKCS8_PRIV_KEY_INFO;
2879 return ASN1ToByteArray<PKCS8_PRIV_KEY_INFO>(env, pkcs8.get(), i2d_PKCS8_PRIV_KEY_INFO);