Lines Matching refs:square
97 static int square(mp_int * a, mp_int * b);
2755 if ((res = square(&a0, &w0)) != MP_OKAY) {
2760 if ((res = square(&a2, &w4)) != MP_OKAY) {
2778 if ((res = square(&tmp1, &w1)) != MP_OKAY) {
2796 if ((res = square(&tmp1, &w3)) != MP_OKAY) {
2808 if ((res = square(&tmp1, &w2)) != MP_OKAY) {
2983 if (square(&x0, &x0x0) != MP_OKAY) {
2986 if (square(&x1, &x1x1) != MP_OKAY) {
2993 if (square(&t1, &t1) != MP_OKAY) {
3100 /* even columns have the square term in them */
3209 square(mp_int * a, mp_int * b)
3311 /* square it */
3312 if ((err = square(&M[1 << (winsize - 1)],
3374 /* if the bit is zero and mode == 1 then we square */
3376 if ((err = square(&res, &res)) != MP_OKAY) {
3390 /* ok window is filled so square as required and multiply */
3391 /* square first */
3393 if ((err = square(&res, &res)) != MP_OKAY) {
3416 /* if bits remain then square/multiply */
3418 /* square then multiply if the bit is set */
3420 if ((err = square(&res, &res)) != MP_OKAY) {
4149 if ((err = square(&M[1 << (winsize - 1)], &M[1 << (winsize - 1)])) != MP_OKAY) {
4200 /* if the bit is zero and mode == 1 then we square */
4202 if ((err = square(&res, &res)) != MP_OKAY) {
4216 /* ok window is filled so square as required and multiply */
4217 /* square first */
4219 if ((err = square(&res, &res)) != MP_OKAY) {
4242 /* if bits remain then square/multiply */
4244 /* square then multiply if the bit is set */
4246 if ((err = square(&res, &res)) != MP_OKAY) {
4743 if ((res = square(a, &t)) != MP_OKAY) {