Searched defs:private_key (Results 26 - 50 of 52) sorted by relevance

123

/external/boringssl/src/crypto/curve25519/
H A Dspake25519.c275 uint8_t private_key[32]; member in struct:spake2_ctx_st
350 OPENSSL_memcpy(ctx->private_key, private_tmp, sizeof(ctx->private_key));
353 x25519_ge_scalarmult_base(&P, ctx->private_key);
431 x25519_ge_scalarmult(&dh_shared, ctx->private_key, &Q_ext);
H A Dcurve25519.c4621 const uint8_t private_key[64]) {
4623 SHA512(private_key, 32, az);
4643 SHA512_Update(&hash_ctx, private_key + 32, 32);
4887 int X25519(uint8_t out_shared_key[32], const uint8_t private_key[32], argument
4890 x25519_scalar_mult(out_shared_key, private_key, peer_public_value);
4902 const uint8_t private_key[32]) {
4904 x25519_scalar_mult(out_public_value, private_key, kMongomeryBasePoint);
4910 const uint8_t private_key[32]) {
4914 x25519_NEON(out_public_value, private_key, kMongomeryBasePoint);
4920 OPENSSL_memcpy(e, private_key, 3
4620 ED25519_sign(uint8_t *out_sig, const uint8_t *message, size_t message_len, const uint8_t private_key[64]) argument
4901 X25519_public_from_private(uint8_t out_public_value[32], const uint8_t private_key[32]) argument
4909 X25519_public_from_private(uint8_t out_public_value[32], const uint8_t private_key[32]) argument
[all...]
/external/vboot_reference/tests/
H A Dvb20_common3_tests.c33 const VbPrivateKey *private_key,
52 KeyBlockCreate(data_key, private_key, 0x1234);
80 resign_keyblock(h, private_key);
87 resign_keyblock(h, private_key);
94 resign_keyblock(h, private_key);
100 resign_keyblock(h, private_key);
107 resign_keyblock(h, private_key);
114 resign_keyblock(h, private_key);
136 resign_keyblock(h, private_key);
143 resign_keyblock(h, private_key);
32 test_verify_keyblock(const VbPublicKey *public_key, const VbPrivateKey *private_key, const VbPublicKey *data_key) argument
172 test_verify_fw_preamble(const VbPublicKey *public_key, const VbPrivateKey *private_key, const VbPublicKey *kernel_subkey) argument
[all...]
/external/webrtc/webrtc/base/
H A Dopensslidentity.cc433 const std::string& private_key,
442 BIO* bio = BIO_new_mem_buf(const_cast<char*>(private_key.c_str()), -1);
432 FromPEMStrings( const std::string& private_key, const std::string& certificate) argument
H A Dsslidentity.cc170 SSLIdentity* SSLIdentity::FromPEMStrings(const std::string& private_key, argument
172 return OpenSSLIdentity::FromPEMStrings(private_key, certificate);
/external/boringssl/src/crypto/ec_extra/
H A Dec_asn1.c76 CBS ec_private_key, private_key; local
81 !CBS_get_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING)) {
130 BN_bin2bn(CBS_data(&private_key), CBS_len(&private_key), NULL);
200 CBB ec_private_key, private_key; local
203 !CBB_add_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING) ||
204 !BN_bn2cbb_padded(&private_key,
/external/boringssl/src/tool/
H A Dspeed.cc471 uint8_t public_key[32], private_key[64]; local
473 if (!TimeFunction(&results, [&public_key, &private_key]() -> bool {
474 ED25519_keypair(public_key, private_key);
485 if (!TimeFunction(&results, [&private_key, &signature]() -> bool {
487 private_key) == 1;
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_config.h129 * private_key - File path to client private key file (PEM/DER/PFX)
138 * configuring private_key in one of the following formats:
144 * For example: private_key="hash://63093aa9c47f56ae88334c7b65a4"
153 u8 *private_key; member in struct:eap_peer_config
295 * This field is like private_key, but used for phase 2 (inside
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_config.h129 * private_key - File path to client private key file (PEM/DER/PFX)
138 * configuring private_key in one of the following formats:
144 * For example: private_key="hash://63093aa9c47f56ae88334c7b65a4"
153 u8 *private_key; member in struct:eap_peer_config
295 * This field is like private_key, but used for phase 2 (inside
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_config.h129 * private_key - File path to client private key file (PEM/DER/PFX)
138 * configuring private_key in one of the following formats:
144 * For example: private_key="hash://63093aa9c47f56ae88334c7b65a4"
153 u8 *private_key; member in struct:eap_peer_config
295 * This field is like private_key, but used for phase 2 (inside
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls.h122 * @private_key: File or reference name for client private key in PEM or DER
124 * @private_key_blob: private_key as inlined data or %NULL if not used
168 const char *private_key; member in struct:tls_connection_params
H A Dtls_openssl.c208 EVP_PKEY *private_key; /* the private key if using engine */ member in struct:tls_connection
1110 conn->private_key = EVP_PKEY_from_keystore(key_id);
1111 if (!conn->private_key) {
1163 conn->private_key = ENGINE_load_private_key(conn->engine,
1166 if (!conn->private_key) {
1203 if (conn->private_key) {
1204 EVP_PKEY_free(conn->private_key);
1205 conn->private_key = NULL;
1219 if (conn->private_key) {
1220 EVP_PKEY_free(conn->private_key);
2592 tls_read_pkcs12(struct tls_data *data, SSL *ssl, const char *private_key, const char *passwd) argument
2778 tls_connection_private_key(struct tls_data *data, struct tls_connection *conn, const char *private_key, const char *private_key_passwd, const u8 *private_key_blob, size_t private_key_blob_len) argument
2903 tls_global_private_key(struct tls_data *data, const char *private_key, const char *private_key_passwd) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_cred.c1085 * @private_key: File or reference name for the key in PEM or DER format
1088 * @private_key_blob: private_key as inlined data or %NULL if not used
1093 const char *private_key,
1106 if (private_key) {
1111 buf = (u8 *) os_readfile(private_key, &len);
1114 private_key);
1092 tlsv1_set_private_key(struct tlsv1_credentials *cred, const char *private_key, const char *private_key_passwd, const u8 *private_key_blob, size_t private_key_blob_len) argument
/external/wpa_supplicant_8/src/crypto/
H A Dtls.h122 * @private_key: File or reference name for client private key in PEM or DER
124 * @private_key_blob: private_key as inlined data or %NULL if not used
168 const char *private_key; member in struct:tls_connection_params
H A Dtls_openssl.c208 EVP_PKEY *private_key; /* the private key if using engine */ member in struct:tls_connection
1110 conn->private_key = EVP_PKEY_from_keystore(key_id);
1111 if (!conn->private_key) {
1163 conn->private_key = ENGINE_load_private_key(conn->engine,
1166 if (!conn->private_key) {
1203 if (conn->private_key) {
1204 EVP_PKEY_free(conn->private_key);
1205 conn->private_key = NULL;
1219 if (conn->private_key) {
1220 EVP_PKEY_free(conn->private_key);
2592 tls_read_pkcs12(struct tls_data *data, SSL *ssl, const char *private_key, const char *passwd) argument
2778 tls_connection_private_key(struct tls_data *data, struct tls_connection *conn, const char *private_key, const char *private_key_passwd, const u8 *private_key_blob, size_t private_key_blob_len) argument
2903 tls_global_private_key(struct tls_data *data, const char *private_key, const char *private_key_passwd) argument
[all...]
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_cred.c1085 * @private_key: File or reference name for the key in PEM or DER format
1088 * @private_key_blob: private_key as inlined data or %NULL if not used
1093 const char *private_key,
1106 if (private_key) {
1111 buf = (u8 *) os_readfile(private_key, &len);
1114 private_key);
1092 tlsv1_set_private_key(struct tlsv1_credentials *cred, const char *private_key, const char *private_key_passwd, const u8 *private_key_blob, size_t private_key_blob_len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dtls.h122 * @private_key: File or reference name for client private key in PEM or DER
124 * @private_key_blob: private_key as inlined data or %NULL if not used
168 const char *private_key; member in struct:tls_connection_params
H A Dtls_openssl.c208 EVP_PKEY *private_key; /* the private key if using engine */ member in struct:tls_connection
1110 conn->private_key = EVP_PKEY_from_keystore(key_id);
1111 if (!conn->private_key) {
1163 conn->private_key = ENGINE_load_private_key(conn->engine,
1166 if (!conn->private_key) {
1203 if (conn->private_key) {
1204 EVP_PKEY_free(conn->private_key);
1205 conn->private_key = NULL;
1219 if (conn->private_key) {
1220 EVP_PKEY_free(conn->private_key);
2592 tls_read_pkcs12(struct tls_data *data, SSL *ssl, const char *private_key, const char *passwd) argument
2778 tls_connection_private_key(struct tls_data *data, struct tls_connection *conn, const char *private_key, const char *private_key_passwd, const u8 *private_key_blob, size_t private_key_blob_len) argument
2903 tls_global_private_key(struct tls_data *data, const char *private_key, const char *private_key_passwd) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_cred.c1085 * @private_key: File or reference name for the key in PEM or DER format
1088 * @private_key_blob: private_key as inlined data or %NULL if not used
1093 const char *private_key,
1106 if (private_key) {
1111 buf = (u8 *) os_readfile(private_key, &len);
1114 private_key);
1092 tlsv1_set_private_key(struct tlsv1_credentials *cred, const char *private_key, const char *private_key_passwd, const u8 *private_key_blob, size_t private_key_blob_len) argument
/external/boringssl/src/ssl/test/
H A Dbssl_shim.cc103 // private_key is the underlying private key used when testing custom keys.
104 bssl::UniquePtr<EVP_PKEY> private_key; member in struct:TestState
343 test_state->private_key.get())) {
385 RSA *rsa = EVP_PKEY_get0_RSA(test_state->private_key.get());
511 test_state->private_key = std::move(pkey);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dconfig.h132 * private_key - File path to client private key file (PEM/DER/PFX)
141 * configuring private_key in one of the following formats:
147 * For example: private_key="hash://63093aa9c47f56ae88334c7b65a4"
156 char *private_key; member in struct:wpa_cred
/external/boringssl/src/ssl/
H A Dssl_lib.cc1756 static int is_p256_key(EVP_PKEY *private_key) { argument
1757 const EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(private_key);
1763 int SSL_CTX_set1_tls_channel_id(SSL_CTX *ctx, EVP_PKEY *private_key) { argument
1764 if (!is_p256_key(private_key)) {
1770 EVP_PKEY_up_ref(private_key);
1771 ctx->tlsext_channel_id_private = private_key;
1777 int SSL_set1_tls_channel_id(SSL *ssl, EVP_PKEY *private_key) { argument
1778 if (!is_p256_key(private_key)) {
1784 EVP_PKEY_up_ref(private_key);
1785 ssl->tlsext_channel_id_private = private_key;
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_config.h361 char *private_key; member in struct:hostapd_bss_config
/external/wpa_supplicant_8/src/ap/
H A Dap_config.h361 char *private_key; member in struct:hostapd_bss_config
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dap_config.h361 char *private_key; member in struct:hostapd_bss_config

Completed in 637 milliseconds

123