Lines Matching refs:pm

1913 	if (!ecc->u.pm.point_1.x ||  in ccp_run_ecc_pm_cmd()
1914 (ecc->u.pm.point_1.x_len > CCP_ECC_MODULUS_BYTES) || in ccp_run_ecc_pm_cmd()
1915 !ecc->u.pm.point_1.y || in ccp_run_ecc_pm_cmd()
1916 (ecc->u.pm.point_1.y_len > CCP_ECC_MODULUS_BYTES)) in ccp_run_ecc_pm_cmd()
1920 if (!ecc->u.pm.point_2.x || in ccp_run_ecc_pm_cmd()
1921 (ecc->u.pm.point_2.x_len > CCP_ECC_MODULUS_BYTES) || in ccp_run_ecc_pm_cmd()
1922 !ecc->u.pm.point_2.y || in ccp_run_ecc_pm_cmd()
1923 (ecc->u.pm.point_2.y_len > CCP_ECC_MODULUS_BYTES)) in ccp_run_ecc_pm_cmd()
1926 if (!ecc->u.pm.domain_a || in ccp_run_ecc_pm_cmd()
1927 (ecc->u.pm.domain_a_len > CCP_ECC_MODULUS_BYTES)) in ccp_run_ecc_pm_cmd()
1931 if (!ecc->u.pm.scalar || in ccp_run_ecc_pm_cmd()
1932 (ecc->u.pm.scalar_len > CCP_ECC_MODULUS_BYTES)) in ccp_run_ecc_pm_cmd()
1936 if (!ecc->u.pm.result.x || in ccp_run_ecc_pm_cmd()
1937 (ecc->u.pm.result.x_len < CCP_ECC_MODULUS_BYTES) || in ccp_run_ecc_pm_cmd()
1938 !ecc->u.pm.result.y || in ccp_run_ecc_pm_cmd()
1939 (ecc->u.pm.result.y_len < CCP_ECC_MODULUS_BYTES)) in ccp_run_ecc_pm_cmd()
1967 ccp_reverse_set_dm_area(&src, ecc->u.pm.point_1.x, in ccp_run_ecc_pm_cmd()
1968 ecc->u.pm.point_1.x_len, in ccp_run_ecc_pm_cmd()
1971 ccp_reverse_set_dm_area(&src, ecc->u.pm.point_1.y, in ccp_run_ecc_pm_cmd()
1972 ecc->u.pm.point_1.y_len, in ccp_run_ecc_pm_cmd()
1982 ccp_reverse_set_dm_area(&src, ecc->u.pm.point_2.x, in ccp_run_ecc_pm_cmd()
1983 ecc->u.pm.point_2.x_len, in ccp_run_ecc_pm_cmd()
1986 ccp_reverse_set_dm_area(&src, ecc->u.pm.point_2.y, in ccp_run_ecc_pm_cmd()
1987 ecc->u.pm.point_2.y_len, in ccp_run_ecc_pm_cmd()
1996 ccp_reverse_set_dm_area(&src, ecc->u.pm.domain_a, in ccp_run_ecc_pm_cmd()
1997 ecc->u.pm.domain_a_len, in ccp_run_ecc_pm_cmd()
2003 ccp_reverse_set_dm_area(&src, ecc->u.pm.scalar, in ccp_run_ecc_pm_cmd()
2004 ecc->u.pm.scalar_len, in ccp_run_ecc_pm_cmd()
2048 ccp_reverse_get_dm_area(&dst, ecc->u.pm.result.x, in ccp_run_ecc_pm_cmd()
2051 ccp_reverse_get_dm_area(&dst, ecc->u.pm.result.y, in ccp_run_ecc_pm_cmd()