Searched refs:private_key (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/scripts/ |
D | sign-file.c | 137 EVP_PKEY *private_key; in read_private_key() local 153 private_key = ENGINE_load_private_key(e, private_key_name, in read_private_key() 155 ERR(!private_key, "%s", private_key_name); in read_private_key() 161 private_key = PEM_read_bio_PrivateKey(b, NULL, pem_pw_cb, in read_private_key() 163 ERR(!private_key, "%s", private_key_name); in read_private_key() 167 return private_key; in read_private_key() 222 EVP_PKEY *private_key; in main() local 297 private_key = read_private_key(private_key_name); in main() 313 ERR(!CMS_add1_signer(cms, x509, private_key, digest_algo, in main() 322 pkcs7 = PKCS7_sign(x509, private_key, NULL, bm, in main()
|
/Linux-v5.4/crypto/ |
D | ecdh.c | 18 u64 private_key[ECC_MAX_DIGITS]; member 54 ctx->private_key); in ecdh_set_secret() 60 memcpy(ctx->private_key, params.key, params.key_size); in ecdh_set_secret() 103 ctx->private_key, public_key, in ecdh_compute_value() 109 ctx->private_key, public_key); in ecdh_compute_value()
|
D | ecc.h | 84 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,
|
D | ecc.c | 1294 const u64 *private_key, unsigned int ndigits) in __ecc_is_key_valid() argument 1299 if (!private_key) in __ecc_is_key_valid() 1306 if (vli_cmp(one, private_key, ndigits) != -1) in __ecc_is_key_valid() 1310 if (vli_cmp(res, private_key, ndigits) != 1) in __ecc_is_key_valid() 1317 const u64 *private_key, unsigned int private_key_len) in ecc_is_key_valid() argument 1327 return __ecc_is_key_valid(curve, private_key, ndigits); in ecc_is_key_valid() 1385 const u64 *private_key, u64 *public_key) in ecc_make_pub_key() argument 1392 if (!private_key || !curve || ndigits > ARRAY_SIZE(priv)) { in ecc_make_pub_key() 1397 ecc_swap_digits(private_key, priv, ndigits); in ecc_make_pub_key() 1455 const u64 *private_key, const u64 *public_key, in crypto_ecdh_shared_secret() argument [all …]
|
/Linux-v5.4/net/bluetooth/ |
D | ecdh_helper.c | 122 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()
|
D | ecdh_helper.h | 28 int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 *private_key);
|
/Linux-v5.4/include/linux/ |
D | ecryptfs.h | 102 struct ecryptfs_private_key private_key; member
|
/Linux-v5.4/fs/ecryptfs/ |
D | keystore.c | 1107 (*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()
|