Lines Matching refs:np
779 typedef int (*bn_pwr5_mont_f) (BN_ULONG *tp, const BN_ULONG *np,
782 int bn_pwr5_mont_t4_8(BN_ULONG *tp, const BN_ULONG *np,
785 int bn_pwr5_mont_t4_16(BN_ULONG *tp, const BN_ULONG *np,
788 int bn_pwr5_mont_t4_24(BN_ULONG *tp, const BN_ULONG *np,
791 int bn_pwr5_mont_t4_32(BN_ULONG *tp, const BN_ULONG *np,
801 const void *bp, const BN_ULONG *np,
804 const BN_ULONG *np, const BN_ULONG *n0);
806 const void *bp, const BN_ULONG *np,
809 const void *bp, const BN_ULONG *np,
812 const void *bp, const BN_ULONG *np,
821 const void *bp, const BN_ULONG *np,
824 const void *bp, const BN_ULONG *np,
827 const void *table, const BN_ULONG *np,
835 BN_ULONG *np = mont->N.d, *n0 = mont->n0;
850 if (!(*mul_worker) (tmp.d, am.d, am.d, np, n0) &&
851 !(*mul_worker) (tmp.d, am.d, am.d, np, n0))
852 bn_mul_mont_vis3(tmp.d, am.d, am.d, np, n0, top);
857 if (!(*mul_worker) (tmp.d, tmp.d, am.d, np, n0) &&
858 !(*mul_worker) (tmp.d, tmp.d, am.d, np, n0))
859 bn_mul_mont_vis3(tmp.d, tmp.d, am.d, np, n0, top);
864 np = alloca(top * sizeof(BN_ULONG));
866 bn_flip_t4(np, mont->N.d, top);
890 if ((*pwr5_worker) (tmp.d, np, n0, powerbuf, wvalue, stride))
893 if ((*pwr5_worker) (tmp.d, np, n0, powerbuf, wvalue, stride))
899 bn_mul_mont_t4(tmp.d, tmp.d, tmp.d, np, n0, top);
900 bn_mul_mont_t4(tmp.d, tmp.d, tmp.d, np, n0, top);
901 bn_mul_mont_t4(tmp.d, tmp.d, tmp.d, np, n0, top);
902 bn_mul_mont_t4(tmp.d, tmp.d, tmp.d, np, n0, top);
903 bn_mul_mont_t4(tmp.d, tmp.d, tmp.d, np, n0, top);
904 bn_mul_mont_gather5_t4(tmp.d, tmp.d, powerbuf, np, n0, top,
913 OPENSSL_cleanse(np, top * sizeof(BN_ULONG));
936 const void *table, const BN_ULONG *np,
942 const void *table, const BN_ULONG *np,
946 BN_ULONG *n0 = mont->n0, *np;
960 for (np = am.d + top, i = 0; i < top; i++)
961 np[i] = mont->N.d[i];
965 bn_mul_mont(tmp.d, am.d, am.d, np, n0, top);
971 bn_mul_mont_gather5(tmp.d, am.d, powerbuf, np, n0, top, i - 1);
977 bn_mul_mont(tmp.d, tmp.d, tmp.d, np, n0, top);
982 bn_mul_mont_gather5(tmp.d, am.d, powerbuf, np, n0, top, i - 1);
985 bn_mul_mont(tmp.d, tmp.d, tmp.d, np, n0, top);
990 bn_mul_mont_gather5(tmp.d, am.d, powerbuf, np, n0, top, i - 1);
992 bn_mul_mont(tmp.d, tmp.d, tmp.d, np, n0, top);
996 bn_mul_mont_gather5(tmp.d, am.d, powerbuf, np, n0, top, i - 1);
1018 bn_mul_mont(tmp.d, tmp.d, tmp.d, np, n0, top);
1019 bn_mul_mont(tmp.d, tmp.d, tmp.d, np, n0, top);
1020 bn_mul_mont(tmp.d, tmp.d, tmp.d, np, n0, top);
1021 bn_mul_mont(tmp.d, tmp.d, tmp.d, np, n0, top);
1022 bn_mul_mont(tmp.d, tmp.d, tmp.d, np, n0, top);
1023 bn_mul_mont_gather5(tmp.d, tmp.d, powerbuf, np, n0, top,
1028 bn_power5(tmp.d, tmp.d, powerbuf, np, n0, top,