Searched refs:nQ (Results 1 – 2 of 2) sorted by relevance
433 struct ecc_point *nQ; in kmb_ocs_ecc_is_pubkey_valid_full() local442 nQ = ecc_alloc_point(pk->ndigits); in kmb_ocs_ecc_is_pubkey_valid_full()443 if (!nQ) in kmb_ocs_ecc_is_pubkey_valid_full()446 rc = kmb_ecc_point_mult(ecc_dev, nQ, pk, curve->n, curve); in kmb_ocs_ecc_is_pubkey_valid_full()450 if (!ecc_point_is_zero(nQ)) in kmb_ocs_ecc_is_pubkey_valid_full()454 ecc_free_point(nQ); in kmb_ocs_ecc_is_pubkey_valid_full()
1584 struct ecc_point *nQ; in ecc_is_pubkey_valid_full() local1593 nQ = ecc_alloc_point(pk->ndigits); in ecc_is_pubkey_valid_full()1594 if (!nQ) in ecc_is_pubkey_valid_full()1597 ecc_point_mult(nQ, pk, curve->n, NULL, curve, pk->ndigits); in ecc_is_pubkey_valid_full()1598 if (!ecc_point_is_zero(nQ)) in ecc_is_pubkey_valid_full()1601 ecc_free_point(nQ); in ecc_is_pubkey_valid_full()