curve_id 45 crypto/ecc.c static inline const struct ecc_curve *ecc_get_curve(unsigned int curve_id) curve_id 47 crypto/ecc.c switch (curve_id) { curve_id 1317 crypto/ecc.c int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits, curve_id 1321 crypto/ecc.c const struct ecc_curve *curve = ecc_get_curve(curve_id); curve_id 1344 crypto/ecc.c int ecc_gen_privkey(unsigned int curve_id, unsigned int ndigits, u64 *privkey) curve_id 1346 crypto/ecc.c const struct ecc_curve *curve = ecc_get_curve(curve_id); curve_id 1385 crypto/ecc.c int ecc_make_pub_key(unsigned int curve_id, unsigned int ndigits, curve_id 1391 crypto/ecc.c const struct ecc_curve *curve = ecc_get_curve(curve_id); curve_id 1455 crypto/ecc.c int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits, curve_id 1464 crypto/ecc.c const struct ecc_curve *curve = ecc_get_curve(curve_id); curve_id 83 crypto/ecc.h int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits, curve_id 98 crypto/ecc.h int ecc_gen_privkey(unsigned int curve_id, unsigned int ndigits, u64 *privkey); curve_id 111 crypto/ecc.h int ecc_make_pub_key(const unsigned int curve_id, unsigned int ndigits, curve_id 129 crypto/ecc.h int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits, curve_id 16 crypto/ecdh.c unsigned int curve_id; curve_id 26 crypto/ecdh.c static unsigned int ecdh_supported_curve(unsigned int curve_id) curve_id 28 crypto/ecdh.c switch (curve_id) { curve_id 45 crypto/ecdh.c ndigits = ecdh_supported_curve(params.curve_id); curve_id 49 crypto/ecdh.c ctx->curve_id = params.curve_id; curve_id 53 crypto/ecdh.c return ecc_gen_privkey(ctx->curve_id, ctx->ndigits, curve_id 56 crypto/ecdh.c if (ecc_is_key_valid(ctx->curve_id, ctx->ndigits, curve_id 102 crypto/ecdh.c ret = crypto_ecdh_shared_secret(ctx->curve_id, ctx->ndigits, curve_id 108 crypto/ecdh.c ret = ecc_make_pub_key(ctx->curve_id, ctx->ndigits, curve_id 49 crypto/ecdh_helper.c ptr = ecdh_pack_data(ptr, ¶ms->curve_id, sizeof(params->curve_id)); curve_id 70 crypto/ecdh_helper.c ptr = ecdh_unpack_data(¶ms->curve_id, ptr, sizeof(params->curve_id)); curve_id 45 drivers/crypto/atmel-ecc.c unsigned int curve_id; curve_id 76 drivers/crypto/atmel-ecc.c static unsigned int atmel_ecdh_supported_curve(unsigned int curve_id) curve_id 78 drivers/crypto/atmel-ecc.c if (curve_id == ECC_CURVE_NIST_P256) curve_id 107 drivers/crypto/atmel-ecc.c ctx->n_sz = atmel_ecdh_supported_curve(params.curve_id); curve_id 128 drivers/crypto/atmel-ecc.c ctx->curve_id = params.curve_id; curve_id 37 include/crypto/ecdh.h unsigned short curve_id; curve_id 129 net/bluetooth/ecdh_helper.c p.curve_id = ECC_CURVE_NIST_P256;