/external/chromium_org/crypto/ |
curve25519.cc | 19 void ScalarMult(const uint8* private_key, 22 curve25519_donna(shared_key, private_key, peer_public_key); 30 void ScalarBaseMult(const uint8* private_key, uint8* public_key) { 31 curve25519_donna(public_key, private_key, kBasePoint);
|
curve25519.h | 27 // ScalarMult computes the |shared_key| from |private_key| and 29 // calls that function with |private_key| as |secret| and |peer_public_key| as 30 // basepoint. |private_key| should be of length |kScalarBytes| and 33 CRYPTO_EXPORT void ScalarMult(const uint8* private_key, 37 // ScalarBaseMult computes the |public_key| from |private_key|. This method is a 38 // wrapper for |curve25519_donna()|. It calls that function with |private_key| 39 // as |secret| and |kBasePoint| as basepoint. |private_key| should be of length 42 CRYPTO_EXPORT void ScalarBaseMult(const uint8* private_key, uint8* public_key);
|
/external/chromium_org/net/android/ |
keystore.h | 39 // |private_key| is a JNI reference for the private key. 43 NET_EXPORT bool GetRSAKeyModulus(jobject private_key, 49 // |private_key| is a JNI reference for the private key. 53 NET_EXPORT bool GetDSAKeyParamQ(jobject private_key, 59 // |private_key| is a JNI reference for the private key. 63 bool GetECKeyOrder(jobject private_key, 69 // |private_key| is a JNI reference for the private key. 72 bool GetPrivateKeyEncodedBytes(jobject private_key, 79 // |private_key| is a JNI reference for the private key. 85 jobject private_key, [all...] |
keystore_openssl.h | 28 // |private_key| is a JNI local (or global) reference to the Java 36 // caller can free |private_key| safely after the call, and that the 43 NET_EXPORT EVP_PKEY* GetOpenSSLPrivateKeyWrapper(jobject private_key);
|
android_private_key.h | 20 jobject private_key);
|
keystore_openssl.cc | 157 jobject private_key = reinterpret_cast<jobject>(RSA_get_app_data(rsa)); local 158 if (!private_key) { 168 if (!RawSignDigestWithPrivateKey(private_key, from_piece, &result)) { 277 // |private_key| is the JNI reference (local or global) to the object. 282 // free |private_key| after the call. 285 bool GetRsaPkeyWrapper(jobject private_key, EVP_PKEY* pkey) { 293 if (!GetRSAKeyModulus(private_key, &modulus)) { 303 global_key.Reset(NULL, private_key); 353 // |private_key| is a JNI reference (local or global) to the object. 356 EVP_PKEY* GetRsaLegacyKey(jobject private_key) { 398 jobject private_key = reinterpret_cast<jobject>(DSA_get_ex_data(dsa, 0)); local 528 jobject private_key = reinterpret_cast<jobject>(ptr); local 583 jobject private_key = reinterpret_cast<jobject>( local [all...] |
/external/chromium_org/net/quic/crypto/ |
curve25519_key_exchange.cc | 23 const StringPiece& private_key) { 34 if (private_key.size() != crypto::curve25519::kScalarBytes) { 39 memcpy(ka->private_key_, private_key.data(), 47 uint8 private_key[crypto::curve25519::kScalarBytes]; local 48 rand->RandBytes(private_key, sizeof(private_key)); 50 // This makes |private_key| a valid scalar, as specified on 52 private_key[0] &= 248; 53 private_key[31] &= 127; 54 private_key[31] |= 64 [all...] |
p256_key_exchange_openssl.cc | 18 P256KeyExchange::P256KeyExchange(EC_KEY* private_key, const uint8* public_key) 19 : private_key_(private_key) { 33 crypto::ScopedOpenSSL<EC_KEY, EC_KEY_free> private_key( 35 if (!private_key.get() || !EC_KEY_check_key(private_key.get())) { 41 if (EC_POINT_point2oct(EC_KEY_get0_group(private_key.get()), 42 EC_KEY_get0_public_key(private_key.get()), 49 return new P256KeyExchange(private_key.release(), public_key); 66 scoped_ptr<uint8[]> private_key(new uint8[key_len]); 67 uint8* keyp = private_key.get() [all...] |
p256_key_exchange.h | 34 // |private_key| is invalid, NULL is returned. 35 static P256KeyExchange* New(base::StringPiece private_key); 62 // P256KeyExchange takes ownership of |private_key|, and expects 64 P256KeyExchange(EC_KEY* private_key, const uint8* public_key);
|
curve25519_key_exchange.h | 27 static Curve25519KeyExchange* New(const base::StringPiece& private_key);
|
/external/chromium_org/net/ssl/ |
openssl_client_key_store.cc | 55 private_key = CopyEVP_PKEY(priv_key); 60 EVP_PKEY_free(private_key); 65 private_key = CopyEVP_PKEY(other.private_key); 70 EVP_PKEY* old_private_key = private_key; 72 private_key = CopyEVP_PKEY(other.private_key); 88 EVP_PKEY* private_key) { 91 pairs_.push_back(KeyPair(pub_key, private_key)); 98 EVP_PKEY* private_key) { [all...] |
openssl_client_key_store.h | 48 // |private_key| is an OpenSSL EVP_PKEY that corresponds to the 51 // This function does not take ownership of the private_key, but may 54 EVP_PKEY* private_key); 59 // |*private_key| will be reset to its matching private key on success. 63 ScopedEVP_PKEY* private_key); 74 // |pub_key| and |private_key| can point to the same object. 77 void AddKeyPair(EVP_PKEY* pub_key, EVP_PKEY* private_key); 90 EVP_PKEY* private_key; member in class:net::OpenSSLClientKeyStore::KeyPair
|
server_bound_cert_store.cc | 16 const std::string& private_key, 21 private_key_(private_key), 30 i->expiration_time(), i->private_key(), i->cert());
|
server_bound_cert_service.h | 69 // Password used on EncryptedPrivateKeyInfo data stored in EC private_key 98 // On successful completion, |private_key| stores a DER-encoded 111 std::string* private_key, 120 // On successful completion, |private_key| stores a DER-encoded 136 std::string* private_key, 168 const std::string& private_key, 176 std::string* private_key, 188 std::string* private_key,
|
server_bound_cert_service.cc | 146 std::string* private_key, 150 private_key_(private_key), 162 // Copies the contents of |private_key| and |cert| to the caller's output 165 const std::string& private_key, 196 *private_key_ = private_key; 295 const std::string& private_key, 297 PostAll(error, private_key, cert); 304 const std::string& private_key, 311 (*i)->Post(error, private_key, cert); 399 std::string* private_key, [all...] |
server_bound_cert_store.h | 36 const std::string& private_key, 50 const std::string& private_key() const { return private_key_; } function in class:net::ServerBoundCertStore::ServerBoundCert 92 const std::string& private_key,
|
/external/chromium_org/net/base/ |
openssl_private_key_store_android.cc | 30 unsigned char* private_key = NULL; local 36 private_len = i2d_PKCS8_PRIV_KEY_INFO(pkcs8.get(), &private_key); 42 static_cast<const uint8*>(private_key), private_len); 47 OPENSSL_free(private_key);
|
keygen_handler_mac.cc | 100 SecKeyRef private_key, 108 SecKeyRef private_key = NULL; local 130 &public_key, &private_key); 172 err = SignData(encoded, private_key, &signature); 204 if (private_key) 205 SecKeychainItemDelete(reinterpret_cast<SecKeychainItemRef>(private_key)); 216 if (private_key) 217 CFRelease(private_key); 308 SecKeyRef private_key, 311 OSStatus err = CreateSignatureContext(private_key, [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wpa2-eap-ccmp.conf | 13 private_key="/etc/cert/user.p12"
|
/external/chromium_org/content/renderer/media/ |
peer_connection_identity_service.cc | 44 const std::string& private_key) { 45 pending_observer_->OnSuccess(certificate, private_key);
|
peer_connection_identity_service.h | 34 const std::string& private_key);
|
/external/chromium_org/crypto/third_party/nss/ |
pk11akey.cc | 56 SECKEYPrivateKey** private_key, 82 *private_key = PK11_UnwrapPrivKey(slot, key, crypto_mech_type, crypto_param, 92 if (!*private_key) {
|
chromium-nss.h | 69 SECKEYPrivateKey** private_key,
|
/external/chromium_org/content/browser/renderer_host/media/ |
webrtc_identity_service_host.h | 44 const std::string& private_key);
|
/external/chromium_org/remoting/base/ |
rsa_key_pair.h | 41 crypto::RSAPrivateKey* private_key() { return key_.get(); } function in class:remoting::RsaKeyPair
|