/external/boringssl/src/crypto/evp/ |
evp_test.cc | 166 uint8_t *der; local 170 !CBB_finish(cbb.get(), &der, &der_len)) { 173 bssl::UniquePtr<uint8_t> free_der(der); 180 EXPECT_EQ(Bytes(output), Bytes(der, der_len)) << "Re-encoding the key did not match.";
|
/external/tpm2/ |
CryptoEngine.h | 62 const BYTE der[20]; member in struct:__anon40338
|
CpriRSA.c | 803 const BYTE *der; local 804 INT32 derSize = _cpri__GetHashDER(hashAlg, &der); 807 // Can't use this scheme if the algorithm doesn't have a DER string defined. 815 // the DER will misidentify the digest so return an error 833 *eOut++ = *der++; // copy the DER 860 const BYTE *der; local [all...] |
/external/webrtc/webrtc/base/ |
sslidentity.h | 60 // Provides a DER encoded binary representation of the certificate. 216 // Helpers for parsing converting between PEM and DER format. 219 std::string* der);
|
sslidentity_unittest.cc | 288 std::string der; local 289 EXPECT_TRUE(SSLIdentity::PemToDer("CERTIFICATE", kTestCertificate, &der)); 293 reinterpret_cast<const unsigned char*>(der.data()), der.length()));
|
sslidentity.cc | 93 std::string* der) { 110 *der = Base64::Decode(inner, Base64::DO_PARSE_WHITE |
|
/prebuilts/go/darwin-x86/src/crypto/x509/ |
pkcs8.go | 28 func ParsePKCS8PrivateKey(der []byte) (key interface{}, err error) { 30 if _, err := asn1.Unmarshal(der, &privKey); err != nil {
|
/prebuilts/go/linux-x86/src/crypto/x509/ |
pkcs8.go | 28 func ParsePKCS8PrivateKey(der []byte) (key interface{}, err error) { 30 if _, err := asn1.Unmarshal(der, &privKey); err != nil {
|
/external/boringssl/src/crypto/obj/ |
obj_test.cc | 76 static bool ExpectObj2Txt(const uint8_t *der, size_t der_len, 80 obj.data = der; 130 // kSHA256WithRSAEncryption is the DER representation of 136 // kBasicConstraints is the DER representation of 2.5.29.19, 142 // kTestOID is the DER representation of 1.2.840.113554.4.1.72585.0, 181 // kOverflowOID is the DER representation of
|
/prebuilts/go/darwin-x86/src/math/rand/ |
zipf.go | 8 // http://eeyore.wu-wien.ac.at/papers/96-04-04.wh-der.ps.gz
|
/prebuilts/go/linux-x86/src/math/rand/ |
zipf.go | 8 // http://eeyore.wu-wien.ac.at/papers/96-04-04.wh-der.ps.gz
|
/external/boringssl/src/crypto/dh/ |
dh_test.cc | 352 uint8_t *der; local 356 !CBB_finish(cbb.get(), &der, &der_len)) { 359 bssl::UniquePtr<uint8_t> free_der(der); 361 OPENSSL_memcmp(der, kParams, der_len) != 0) { 399 !CBB_finish(cbb.get(), &der, &der_len)) { 402 bssl::UniquePtr<uint8_t> free_der2(der); 404 OPENSSL_memcmp(der, kParamsDSA, der_len) != 0) {
|
/external/libcxx/test/libcxx/utilities/function.objects/func.require/ |
bullet_1_2_3.pass.cpp | 154 D der; local 155 D* der_ptr = &der; 159 std::reference_wrapper<D> drref(der); 165 runTestDispatch(tag, der);
|
bullet_7.pass.cpp | 179 D der; local 181 t.runTest(der);
|
/external/scapy/scapy/layers/tls/ |
handshake_sslv2.py | 147 return len(i.der) 152 return i.der 460 s.server_certs[0].der) 478 s.server_certs[0].der)
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/function.objects/func.require/ |
bullet_1_2_3.pass.cpp | 154 D der; local 155 D* der_ptr = &der; 159 std::reference_wrapper<D> drref(der); 165 runTestDispatch(tag, der);
|
bullet_7.pass.cpp | 179 D der; local 181 t.runTest(der);
|
/external/autotest/client/cros/ |
ownership.py | 267 """Returns the mock owner public key in DER format. 269 @return: mock owner public key in DER format. 299 PEM-encoded private key and the DER-encoded public key. 301 @return: (PEM-encoded private key, DER-encoded public key) 332 """Given a PEM-formatted cert, extracts the public key in DER format. 335 DER-formatted public key as a string. 338 @return: DER-encoded public key from cert, as a string. 340 outfile = scoped_tempfile(scoped_tempfile.tempdir.name + '/pubkey.der') 342 cmd += '| %s -outform DER -pubin -out %s' % (OPENSSLRSA, 345 der = utils.read_file(outfile.name [all...] |
/prebuilts/go/darwin-x86/src/crypto/tls/ |
tls.go | 277 // Attempt to parse the given private key DER block. OpenSSL 0.9.8 generates 280 func parsePrivateKey(der []byte) (crypto.PrivateKey, error) { 281 if key, err := x509.ParsePKCS1PrivateKey(der); err == nil { 284 if key, err := x509.ParsePKCS8PrivateKey(der); err == nil { 292 if key, err := x509.ParseECPrivateKey(der); err == nil {
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
tls.go | 277 // Attempt to parse the given private key DER block. OpenSSL 0.9.8 generates 280 func parsePrivateKey(der []byte) (crypto.PrivateKey, error) { 281 if key, err := x509.ParsePKCS1PrivateKey(der); err == nil { 284 if key, err := x509.ParsePKCS8PrivateKey(der); err == nil { 292 if key, err := x509.ParseECPrivateKey(der); err == nil {
|
/external/nos/host/android/hals/keymaster/test/ |
import_key_test.cpp | 358 std::unique_ptr<uint8_t[]> der(new uint8_t[len]); 359 uint8_t *tmp = der.get(); 363 der_vec.setToExternal(const_cast<uint8_t*>(der.get()), len);
|
/external/wpa_supplicant_8/src/common/ |
dpp.c | 766 /* DER encoded ASN.1 SubjectPublicKeyInfo 940 unsigned char *der = NULL; local 964 der_len = i2d_ECPrivateKey(eckey, &der); 966 wpa_hexdump_key(MSG_DEBUG, "DPP: ECPrivateKey", der, der_len); 967 OPENSSL_free(der); 969 der = NULL; 970 der_len = i2d_EC_PUBKEY(eckey, &der); 972 wpa_hexdump(MSG_DEBUG, "DPP: EC_PUBKEY", der, der_len); 973 OPENSSL_free(der); 1126 unsigned char *der = NULL local 1162 unsigned char *der = NULL; local 3914 unsigned char *der = NULL; local 3928 unsigned char *der = NULL; local 3963 unsigned char *der = NULL; local [all...] |
/external/boringssl/src/crypto/dsa/ |
dsa.c | 773 uint8_t *der = NULL; local 785 // Ensure that the signature uses DER and doesn't have trailing garbage. 786 int der_len = i2d_DSA_SIG(s, &der); 788 OPENSSL_memcmp(sig, der, sig_len)) { 795 OPENSSL_free(der); 801 // in DER.
|
/external/boringssl/src/ssl/ |
ssl_cert.cc | 474 // ssl_cert_skip_to_spki parses a DER-encoded, X.509 certificate from |in| and 821 const uint8_t *der) { 822 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(der, der_len, NULL)); 830 int SSL_use_certificate_ASN1(SSL *ssl, const uint8_t *der, size_t der_len) { 831 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(der, der_len, NULL));
|
/external/eigen/unsupported/Eigen/src/AutoDiff/ |
AutoDiffScalar.h | 36 inline AutoDiffScalar<NewDerType> MakeAutoDiffScalar(const typename NewDerType::Scalar& value, const NewDerType &der) { 37 return AutoDiffScalar<NewDerType>(value,der); 103 /** Constructs an active scalar from its \a value and derivatives \a der */ 104 AutoDiffScalar(const Scalar& value, const DerType& der) 105 : m_value(value), m_derivatives(der)
|