Home
last modified time | relevance | path

Searched refs:private_key (Results 1 – 25 of 38) sorted by relevance

12

/OK3568_Linux_fs/kernel/crypto/
H A Decdh.c18 u64 private_key[ECC_MAX_DIGITS]; member
43 params.key_size > sizeof(ctx->private_key)) in ecdh_set_secret()
55 ctx->private_key); in ecdh_set_secret()
57 memcpy(ctx->private_key, params.key, params.key_size); in ecdh_set_secret()
60 ctx->private_key, params.key_size) < 0) { in ecdh_set_secret()
61 memzero_explicit(ctx->private_key, params.key_size); in ecdh_set_secret()
105 ctx->private_key, public_key, in ecdh_compute_value()
111 ctx->private_key, public_key); in ecdh_compute_value()
H A Decc.h84 const u64 *private_key, unsigned int private_key_len);
112 const u64 *private_key, u64 *public_key);
130 const u64 *private_key, const u64 *public_key,
H A Decc.c1295 const u64 *private_key, unsigned int ndigits) in __ecc_is_key_valid() argument
1300 if (!private_key) in __ecc_is_key_valid()
1307 if (vli_cmp(one, private_key, ndigits) != -1) in __ecc_is_key_valid()
1311 if (vli_cmp(res, private_key, ndigits) != 1) in __ecc_is_key_valid()
1318 const u64 *private_key, unsigned int private_key_len) in ecc_is_key_valid() argument
1328 return __ecc_is_key_valid(curve, private_key, ndigits); in ecc_is_key_valid()
1386 const u64 *private_key, u64 *public_key) in ecc_make_pub_key() argument
1393 if (!private_key || !curve || ndigits > ARRAY_SIZE(priv)) { in ecc_make_pub_key()
1398 ecc_swap_digits(private_key, priv, ndigits); in ecc_make_pub_key()
1485 const u64 *private_key, const u64 *public_key, in crypto_ecdh_shared_secret() argument
[all …]
/OK3568_Linux_fs/kernel/scripts/
H A Dsign-file.c144 EVP_PKEY *private_key; in read_private_key() local
160 private_key = ENGINE_load_private_key(e, private_key_name, in read_private_key()
162 ERR(!private_key, "%s", private_key_name); in read_private_key()
168 private_key = PEM_read_bio_PrivateKey(b, NULL, pem_pw_cb, in read_private_key()
170 ERR(!private_key, "%s", private_key_name); in read_private_key()
174 return private_key; in read_private_key()
229 EVP_PKEY *private_key; in main() local
304 private_key = read_private_key(private_key_name); in main()
320 ERR(!CMS_add1_signer(cms, x509, private_key, digest_algo, in main()
329 pkcs7 = PKCS7_sign(x509, private_key, NULL, bm, in main()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/openssl/
H A Dcurve25519.h52 const uint8_t private_key[32],
58 const uint8_t private_key[32]);
85 const uint8_t private_key[64]);
H A Dhpke.h321 uint8_t private_key[X25519_PRIVATE_KEY_LEN]; member
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/
H A Dcurve25519.h52 const uint8_t private_key[32],
58 const uint8_t private_key[32]);
85 const uint8_t private_key[64]);
H A Devp.h168 const uint8_t private_key[64]);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/openssl/
H A Dcurve25519.h52 const uint8_t private_key[32],
58 const uint8_t private_key[32]);
85 const uint8_t private_key[64]);
H A Dhpke.h321 uint8_t private_key[X25519_PRIVATE_KEY_LEN]; member
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/
H A Dcurve25519.h52 const uint8_t private_key[32],
58 const uint8_t private_key[32]);
85 const uint8_t private_key[64]);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/openssl/
H A Dcurve25519.h52 const uint8_t private_key[32],
58 const uint8_t private_key[32]);
85 const uint8_t private_key[64]);
H A Dhpke.h321 uint8_t private_key[X25519_PRIVATE_KEY_LEN]; member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/openssl/
H A Dcurve25519.h52 const uint8_t private_key[32],
58 const uint8_t private_key[32]);
85 const uint8_t private_key[64]);
H A Dhpke.h321 uint8_t private_key[X25519_PRIVATE_KEY_LEN]; member
/OK3568_Linux_fs/yocto/poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/
H A Dwpa_supplicant.conf465 private_key="/etc/cert/user.prv"
558 private_key="/etc/cert/user.prv"
631 private_key="/etc/cert/user.prv"
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Decdh_helper.c122 int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]) in set_ecdh_privkey()
131 if (private_key) { in set_ecdh_privkey()
135 swap_digits((u64 *)private_key, (u64 *)tmp, 4); in set_ecdh_privkey()
H A Decdh_helper.h28 int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]);
/OK3568_Linux_fs/kernel/drivers/net/wireguard/
H A Dnetlink.c546 u8 *private_key = nla_data(info->attrs[WGDEVICE_A_PRIVATE_KEY]); in wg_set_device() local
551 private_key, NOISE_PUBLIC_KEY_LEN)) in wg_set_device()
557 if (curve25519_generate_public(public_key, private_key)) { in wg_set_device()
568 private_key); in wg_set_device()
H A Dnoise.h116 const u8 private_key[NOISE_PUBLIC_KEY_LEN]);
H A Dnoise.c296 const u8 private_key[NOISE_PUBLIC_KEY_LEN]) in wg_noise_set_static_identity_private_key()
298 memcpy(static_identity->static_private, private_key, in wg_noise_set_static_identity_private_key()
302 static_identity->static_public, private_key); in wg_noise_set_static_identity_private_key()
/OK3568_Linux_fs/kernel/include/linux/
H A Decryptfs.h102 struct ecryptfs_private_key private_key; member
/OK3568_Linux_fs/device/rockchip/common/build-hooks/
H A D60-security.sh127 ln -rsf private_key.pem dev.key
/OK3568_Linux_fs/device/rockchip/common/scripts/
H A Dmk-security.sh127 ln -rsf private_key.pem dev.key
/OK3568_Linux_fs/kernel/fs/ecryptfs/
H A Dkeystore.c1107 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1294 ecryptfs_to_hex((*new_auth_tok)->token.private_key.signature, in parse_tag_1_packet()
1898 memcpy(&(candidate_auth_tok->token.private_key), in ecryptfs_parse_packet_set()
1899 &(matching_auth_tok->token.private_key), in ecryptfs_parse_packet_set()
1971 rc = write_tag_66_packet(auth_tok->token.private_key.signature, in pki_encrypt_session_key()
2030 ecryptfs_from_hex(key_rec->sig, auth_tok->token.private_key.signature, in write_tag_1_packet()
2046 auth_tok->token.private_key.key_size; in write_tag_1_packet()

12