Searched refs:public_key (Results 1 – 9 of 9) sorted by relevance
/crypto/ |
D | ecdh.c | 71 u64 *public_key; in ecdh_compute_value() local 81 public_key = kmalloc(public_key_sz, GFP_KERNEL); in ecdh_compute_value() 82 if (!public_key) in ecdh_compute_value() 100 public_key, public_key_sz); in ecdh_compute_value() 105 ctx->private_key, public_key, in ecdh_compute_value() 111 ctx->private_key, public_key); in ecdh_compute_value() 112 buf = public_key; in ecdh_compute_value() 131 kfree(public_key); in ecdh_compute_value()
|
D | curve25519-generic.c | 28 u8 public_key[CURVE25519_KEY_SIZE]; in curve25519_compute_value() local 37 public_key, CURVE25519_KEY_SIZE); in curve25519_compute_value() 40 bp = public_key; in curve25519_compute_value()
|
D | ecc.h | 112 const u64 *private_key, u64 *public_key); 130 const u64 *private_key, const u64 *public_key,
|
D | ecc.c | 1386 const u64 *private_key, u64 *public_key) in ecc_make_pub_key() argument 1414 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key() 1415 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key() 1485 const u64 *private_key, const u64 *public_key, in crypto_ecdh_shared_secret() argument 1495 if (!private_key || !public_key || !curve || in crypto_ecdh_shared_secret() 1511 ecc_swap_digits(public_key, pk->x, ndigits); in crypto_ecdh_shared_secret() 1512 ecc_swap_digits(&public_key[ndigits], pk->y, ndigits); in crypto_ecdh_shared_secret()
|
/crypto/asymmetric_keys/ |
D | pkcs8_parser.c | 21 struct public_key *pub; 97 static struct public_key *pkcs8_parse(const void *data, size_t datalen) in pkcs8_parse() 100 struct public_key *pub; in pkcs8_parse() 106 ctx.pub = kzalloc(sizeof(struct public_key), GFP_KERNEL); in pkcs8_parse() 138 struct public_key *pub; in pkcs8_key_preparse()
|
D | public_key.c | 33 struct public_key *key = asymmetric_key->payload.data[asym_crypto]; in public_key_describe() 42 void public_key_free(struct public_key *key) in public_key_free() 67 const struct public_key *pkey, in software_key_determine_akcipher() 109 struct public_key *pkey = params->key->payload.data[asym_crypto]; in software_key_query() 169 const struct public_key *pkey = params->key->payload.data[asym_crypto]; in software_key_eds_op() 313 int public_key_verify_signature(const struct public_key *pkey, in public_key_verify_signature() 400 const struct public_key *pk = key->payload.data[asym_crypto]; in public_key_verify_signature_2()
|
D | x509_parser.h | 15 struct public_key *pub; /* Public key details */
|
D | Makefile | 13 obj-$(CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE) += public_key.o
|
D | x509_cert_parser.c | 74 cert->pub = kzalloc(sizeof(struct public_key), GFP_KERNEL); in x509_cert_parse()
|