Home
last modified time | relevance | path

Searched refs:pkcs8 (Results 1 – 25 of 30) sorted by relevance

12

/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c117 CBB pkcs8, algorithm, oid, null, private_key; in rsa_priv_encode() local
118 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in rsa_priv_encode()
119 !CBB_add_asn1_uint64(&pkcs8, 0 /* version */) || in rsa_priv_encode()
120 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in rsa_priv_encode()
124 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in rsa_priv_encode()
Dp_ed25519_asn1.c178 CBB pkcs8, algorithm, oid, private_key, inner; in ed25519_priv_encode() local
179 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in ed25519_priv_encode()
180 !CBB_add_asn1_uint64(&pkcs8, 0 /* version */) || in ed25519_priv_encode()
181 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in ed25519_priv_encode()
184 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode()
Dp_ec_asn1.c174 CBB pkcs8, algorithm, oid, private_key; in eckey_priv_encode() local
175 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in eckey_priv_encode()
176 !CBB_add_asn1_uint64(&pkcs8, 0 /* version */) || in eckey_priv_encode()
177 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in eckey_priv_encode()
181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in eckey_priv_encode()
Dp_x25519_asn1.c176 CBB pkcs8, algorithm, oid, private_key, inner; in x25519_priv_encode() local
177 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in x25519_priv_encode()
178 !CBB_add_asn1_uint64(&pkcs8, 0 /* version */) || in x25519_priv_encode()
179 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in x25519_priv_encode()
182 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in x25519_priv_encode()
Dp_dsa_asn1.c177 CBB pkcs8, algorithm, oid, private_key; in dsa_priv_encode() local
178 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in dsa_priv_encode()
179 !CBB_add_asn1_uint64(&pkcs8, 0 /* version */) || in dsa_priv_encode()
180 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in dsa_priv_encode()
184 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in dsa_priv_encode()
Devp_asn1.c155 CBS pkcs8, algorithm, key; in EVP_parse_private_key() local
158 if (!CBS_get_asn1(cbs, &pkcs8, CBS_ASN1_SEQUENCE) || in EVP_parse_private_key()
159 !CBS_get_asn1_uint64(&pkcs8, &version) || in EVP_parse_private_key()
161 !CBS_get_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_private_key()
162 !CBS_get_asn1(&pkcs8, &key, CBS_ASN1_OCTETSTRING)) { in EVP_parse_private_key()
/external/python/cryptography/docs/development/
Dtest-vectors.rst43 * GnuTLS: `enc-rsa-pkcs8.pem`_, `enc2-rsa-pkcs8.pem`_,
44 `unenc-rsa-pkcs8.pem`_, `pkcs12_s2k_pem.c`_. The encoding error in
45 `unenc-rsa-pkcs8.pem`_ was fixed, and the contents of `enc-rsa-pkcs8.pem`_
46 was re-encrypted to include it. The contents of `enc2-rsa-pkcs8.pem`_
89 * ``asymmetric/PKCS8/unenc-dsa-pkcs8.pem`` and
90 ``asymmetric/DER_Serialization/unenc-dsa-pkcs8.der`` - Contains a DSA 1024
92 * ``asymmetric/PKCS8/unenc-dsa-pkcs8.pub.pem`` and
93 ``asymmetric/DER_Serialization/unenc-dsa-pkcs8.pub.der`` - Contains a DSA
94 2048 bit public key generated using OpenSSL from ``unenc-dsa-pkcs8.pem``.
97 * DER conversions of `enc-rsa-pkcs8.pem`_, `enc2-rsa-pkcs8.pem`_, and
[all …]
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dx25519.py147 pkcs8 = self._backend._read_mem_bio(bio)
148 self._backend.openssl_assert(len(pkcs8) == 48)
149 return pkcs8[-_X25519_KEY_SIZE:]
/external/grpc-grpc/src/core/tsi/test_creds/
DREADME29 $ openssl pkcs8 -topk8 -in client.key.rsa -out client.key -nocrypt
42 $ openssl pkcs8 -topk8 -in server0.key.rsa -out server0.key -nocrypt
55 $ openssl pkcs8 -topk8 -in server1.key.rsa -out server1.key -nocrypt
/external/grpc-grpc-java/testing/src/main/resources/certs/
DREADME29 $ openssl pkcs8 -topk8 -in client.key.rsa -out client.key -nocrypt
43 $ openssl pkcs8 -topk8 -in server0.key.rsa -out server0.key -nocrypt
57 $ openssl pkcs8 -topk8 -in server1.key.rsa -out server1.key -nocrypt
/external/boringssl/src/crypto/
DCMakeLists.txt175 err/pkcs8.errordata
305 pkcs8/pkcs8.c
306 pkcs8/pkcs8_x509.c
307 pkcs8/p5_pbev2.c
515 pkcs8/pkcs8_test.cc
516 pkcs8/pkcs12_test.cc
/external/wpa_supplicant_8/src/tls/
DMakefile22 pkcs8.o \
/external/boringssl/
Dsources.bp141 "src/crypto/pkcs8/p5_pbev2.c",
142 "src/crypto/pkcs8/pkcs8.c",
143 "src/crypto/pkcs8/pkcs8_x509.c",
471 "src/crypto/pkcs8/pkcs12_test.cc",
472 "src/crypto/pkcs8/pkcs8_test.cc",
Dsources.mk140 src/crypto/pkcs8/p5_pbev2.c\
141 src/crypto/pkcs8/pkcs8.c\
142 src/crypto/pkcs8/pkcs8_x509.c\
Deureka.mk140 src/crypto/pkcs8/p5_pbev2.c\
141 src/crypto/pkcs8/pkcs8.c\
142 src/crypto/pkcs8/pkcs8_x509.c\
Dandroid-sources.cmake142 ${BORINGSSL_ROOT}src/crypto/pkcs8/p5_pbev2.c
143 ${BORINGSSL_ROOT}src/crypto/pkcs8/pkcs8.c
144 ${BORINGSSL_ROOT}src/crypto/pkcs8/pkcs8_x509.c
354 ${BORINGSSL_ROOT}src/crypto/pkcs8/pkcs12_test.cc
355 ${BORINGSSL_ROOT}src/crypto/pkcs8/pkcs8_test.cc
/external/boringssl/src/include/openssl/
Dpkcs8.h110 OPENSSL_EXPORT PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(X509_SIG *pkcs8,
/external/python/rsa/doc/
Dcompatibility.rst60 openssl rsa -in privatekey-pkcs8.pem -out privatekey.pem
/external/grpc-grpc-java/examples/
DREADME.md88 openssl pkcs8 -topk8 -nocrypt -in client.key -out client.pem
90 openssl pkcs8 -topk8 -nocrypt -in server.key -out server.pem
/external/boringssl/src/ssl/test/
Dtest_config.cc1677 std::string dc, pkcs8; in NewSSL() local
1678 if (!HexDecode(&dc, dc_hex) || !HexDecode(&pkcs8, pkcs8_hex)) { in NewSSL()
1686 reinterpret_cast<const uint8_t *>(pkcs8.data()), pkcs8.size())); in NewSSL()
/external/openssh/regress/unittests/sshkey/
Dmktestdata.sh10 ssh-keygen -f $_in -e -m pkcs8 | \
/external/boringssl/src/
DFUZZING.md32 | `pkcs8` | 2048 |
/external/grpc-grpc/
Dconfig.m4519 third_party/boringssl/crypto/pkcs8/p5_pbev2.c \
520 third_party/boringssl/crypto/pkcs8/pkcs8.c \
521 third_party/boringssl/crypto/pkcs8/pkcs8_x509.c \
758 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/pkcs8)
Dconfig.w32494 "third_party\\boringssl\\crypto\\pkcs8\\p5_pbev2.c " +
495 "third_party\\boringssl\\crypto\\pkcs8\\pkcs8.c " +
496 "third_party\\boringssl\\crypto\\pkcs8\\pkcs8_x509.c " +
781 FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl\\crypto\\pkcs8");
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c167 PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(X509_SIG *pkcs8, const char *pass, in PKCS8_decrypt() argument
181 int in_len = i2d_X509_SIG(pkcs8, &in); in PKCS8_decrypt()

12