Home
last modified time | relevance | path

Searched refs:fgLen (Results 1 – 13 of 13) sorted by relevance

/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cryptopp/
H A Dgf2n.cpp622 size_t bcLen=1, fgLen=m_modulus.reg.size(); in MultiplicativeInverse() local
636 ShiftWordsRightByWords(f, fgLen, 1); in MultiplicativeInverse()
653 if (t==1 && CountWords(f, fgLen)==1) in MultiplicativeInverse()
658 ShiftWordsRightByBits(f, fgLen, 1); in MultiplicativeInverse()
663 ShiftWordsRightByBits(f, fgLen, i); in MultiplicativeInverse()
673 if (f[fgLen-1]==0 && g[fgLen-1]==0) in MultiplicativeInverse()
674 fgLen--; in MultiplicativeInverse()
676 if (f[fgLen-1] < g[fgLen-1]) in MultiplicativeInverse()
682 XorWords(f, g, fgLen); in MultiplicativeInverse()
H A Dinteger.cpp2768 size_t bcLen=2, fgLen=EvenWordCount(M, N); in AlmostInverse() local
2782 if (EvenWordCount(f, fgLen)==0) in AlmostInverse()
2788 ShiftWordsRightByWords(f, fgLen, 1); in AlmostInverse()
2801 if (t==1 && f[1]==0 && EvenWordCount(f+2, fgLen-2)==0) in AlmostInverse()
2810 ShiftWordsRightByBits(f, fgLen, i); in AlmostInverse()
2816 bool swap = Compare(f, g, fgLen)==-1; in AlmostInverse()
2821 fgLen -= 2 * !(f[fgLen-2] | f[fgLen-1]); in AlmostInverse()
2823 Subtract(f, f, g, fgLen); in AlmostInverse()
/dports/security/cryptopp/cryptopp-8.6.0/
H A Dgf2n.cpp671 size_t bcLen=1, fgLen=m_modulus.reg.size(); in MultiplicativeInverse() local
685 ShiftWordsRightByWords(f, fgLen, 1); in MultiplicativeInverse()
702 if (t==1 && CountWords(f, fgLen)==1) in MultiplicativeInverse()
707 ShiftWordsRightByBits(f, fgLen, 1); in MultiplicativeInverse()
712 ShiftWordsRightByBits(f, fgLen, i); in MultiplicativeInverse()
722 if (f[fgLen-1]==0 && g[fgLen-1]==0) in MultiplicativeInverse()
723 fgLen--; in MultiplicativeInverse()
725 if (f[fgLen-1] < g[fgLen-1]) in MultiplicativeInverse()
731 XorWords(f, g, fgLen); in MultiplicativeInverse()
H A Dinteger.cpp2851 size_t bcLen=2, fgLen=EvenWordCount(M, N); in AlmostInverse() local
2865 if (EvenWordCount(f, fgLen)==0) in AlmostInverse()
2871 ShiftWordsRightByWords(f, fgLen, 1); in AlmostInverse()
2884 if (t==1 && f[1]==0 && EvenWordCount(f+2, fgLen-2)==0) in AlmostInverse()
2893 ShiftWordsRightByBits(f, fgLen, i); in AlmostInverse()
2899 bool swap = Compare(f, g, fgLen)==-1; in AlmostInverse()
2904 fgLen -= 2 * !(f[fgLen-2] | f[fgLen-1]); in AlmostInverse()
2906 Subtract(f, f, g, fgLen); in AlmostInverse()
/dports/emulators/citra-qt5/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dgf2n.cpp671 size_t bcLen=1, fgLen=m_modulus.reg.size(); in MultiplicativeInverse() local
685 ShiftWordsRightByWords(f, fgLen, 1); in MultiplicativeInverse()
702 if (t==1 && CountWords(f, fgLen)==1) in MultiplicativeInverse()
707 ShiftWordsRightByBits(f, fgLen, 1); in MultiplicativeInverse()
712 ShiftWordsRightByBits(f, fgLen, i); in MultiplicativeInverse()
722 if (f[fgLen-1]==0 && g[fgLen-1]==0) in MultiplicativeInverse()
723 fgLen--; in MultiplicativeInverse()
725 if (f[fgLen-1] < g[fgLen-1]) in MultiplicativeInverse()
731 XorWords(f, g, fgLen); in MultiplicativeInverse()
H A Dinteger.cpp2851 size_t bcLen=2, fgLen=EvenWordCount(M, N); in AlmostInverse() local
2865 if (EvenWordCount(f, fgLen)==0) in AlmostInverse()
2871 ShiftWordsRightByWords(f, fgLen, 1); in AlmostInverse()
2884 if (t==1 && f[1]==0 && EvenWordCount(f+2, fgLen-2)==0) in AlmostInverse()
2893 ShiftWordsRightByBits(f, fgLen, i); in AlmostInverse()
2899 bool swap = Compare(f, g, fgLen)==-1; in AlmostInverse()
2904 fgLen -= 2 * !(f[fgLen-2] | f[fgLen-1]); in AlmostInverse()
2906 Subtract(f, f, g, fgLen); in AlmostInverse()
/dports/emulators/citra/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dgf2n.cpp671 size_t bcLen=1, fgLen=m_modulus.reg.size(); in MultiplicativeInverse() local
685 ShiftWordsRightByWords(f, fgLen, 1); in MultiplicativeInverse()
702 if (t==1 && CountWords(f, fgLen)==1) in MultiplicativeInverse()
707 ShiftWordsRightByBits(f, fgLen, 1); in MultiplicativeInverse()
712 ShiftWordsRightByBits(f, fgLen, i); in MultiplicativeInverse()
722 if (f[fgLen-1]==0 && g[fgLen-1]==0) in MultiplicativeInverse()
723 fgLen--; in MultiplicativeInverse()
725 if (f[fgLen-1] < g[fgLen-1]) in MultiplicativeInverse()
731 XorWords(f, g, fgLen); in MultiplicativeInverse()
H A Dinteger.cpp2851 size_t bcLen=2, fgLen=EvenWordCount(M, N); in AlmostInverse() local
2865 if (EvenWordCount(f, fgLen)==0) in AlmostInverse()
2871 ShiftWordsRightByWords(f, fgLen, 1); in AlmostInverse()
2884 if (t==1 && f[1]==0 && EvenWordCount(f+2, fgLen-2)==0) in AlmostInverse()
2893 ShiftWordsRightByBits(f, fgLen, i); in AlmostInverse()
2899 bool swap = Compare(f, g, fgLen)==-1; in AlmostInverse()
2904 fgLen -= 2 * !(f[fgLen-2] | f[fgLen-1]); in AlmostInverse()
2906 Subtract(f, f, g, fgLen); in AlmostInverse()
/dports/sysutils/fusefs-securefs/securefs-0.12.0/external/cryptopp/
H A Dgf2n.cpp671 size_t bcLen=1, fgLen=m_modulus.reg.size(); in MultiplicativeInverse() local
685 ShiftWordsRightByWords(f, fgLen, 1); in MultiplicativeInverse()
702 if (t==1 && CountWords(f, fgLen)==1) in MultiplicativeInverse()
707 ShiftWordsRightByBits(f, fgLen, 1); in MultiplicativeInverse()
712 ShiftWordsRightByBits(f, fgLen, i); in MultiplicativeInverse()
722 if (f[fgLen-1]==0 && g[fgLen-1]==0) in MultiplicativeInverse()
723 fgLen--; in MultiplicativeInverse()
725 if (f[fgLen-1] < g[fgLen-1]) in MultiplicativeInverse()
731 XorWords(f, g, fgLen); in MultiplicativeInverse()
H A Dinteger.cpp2851 size_t bcLen=2, fgLen=EvenWordCount(M, N); in AlmostInverse() local
2865 if (EvenWordCount(f, fgLen)==0) in AlmostInverse()
2871 ShiftWordsRightByWords(f, fgLen, 1); in AlmostInverse()
2884 if (t==1 && f[1]==0 && EvenWordCount(f+2, fgLen-2)==0) in AlmostInverse()
2893 ShiftWordsRightByBits(f, fgLen, i); in AlmostInverse()
2899 bool swap = Compare(f, g, fgLen)==-1; in AlmostInverse()
2904 fgLen -= 2 * !(f[fgLen-2] | f[fgLen-1]); in AlmostInverse()
2906 Subtract(f, f, g, fgLen); in AlmostInverse()
/dports/databases/mariadb103-server/mariadb-10.3.34/extra/yassl/taocrypt/src/
H A Dinteger.cpp2406 unsigned int bcLen=2, fgLen=EvenWordCount(M, N); in AlmostInverse() local
2419 if (EvenWordCount(f, fgLen)==0) in AlmostInverse()
2425 ShiftWordsRightByWords(f, fgLen, 1); in AlmostInverse()
2440 if (t==1 && f[1]==0 && EvenWordCount(f, fgLen)==2) in AlmostInverse()
2449 ShiftWordsRightByBits(f, fgLen, i); in AlmostInverse()
2457 if (f[fgLen-2]==0 && g[fgLen-2]==0 && f[fgLen-1]==0 && g[fgLen-1]==0) in AlmostInverse()
2458 fgLen-=2; in AlmostInverse()
2460 if (Compare(f, g, fgLen)==-1) in AlmostInverse()
2467 Subtract(f, f, g, fgLen); in AlmostInverse()
/dports/databases/mariadb103-client/mariadb-10.3.34/extra/yassl/taocrypt/src/
H A Dinteger.cpp2406 unsigned int bcLen=2, fgLen=EvenWordCount(M, N); in AlmostInverse() local
2419 if (EvenWordCount(f, fgLen)==0) in AlmostInverse()
2425 ShiftWordsRightByWords(f, fgLen, 1); in AlmostInverse()
2440 if (t==1 && f[1]==0 && EvenWordCount(f, fgLen)==2) in AlmostInverse()
2449 ShiftWordsRightByBits(f, fgLen, i); in AlmostInverse()
2457 if (f[fgLen-2]==0 && g[fgLen-2]==0 && f[fgLen-1]==0 && g[fgLen-1]==0) in AlmostInverse()
2458 fgLen-=2; in AlmostInverse()
2460 if (Compare(f, g, fgLen)==-1) in AlmostInverse()
2467 Subtract(f, f, g, fgLen); in AlmostInverse()
/dports/databases/mysql55-client/mysql-5.5.62/extra/yassl/taocrypt/src/
H A Dinteger.cpp2405 unsigned int bcLen=2, fgLen=EvenWordCount(M, N); in AlmostInverse() local
2418 if (EvenWordCount(f, fgLen)==0) in AlmostInverse()
2424 ShiftWordsRightByWords(f, fgLen, 1); in AlmostInverse()
2439 if (t==1 && f[1]==0 && EvenWordCount(f, fgLen)==2) in AlmostInverse()
2448 ShiftWordsRightByBits(f, fgLen, i); in AlmostInverse()
2456 if (f[fgLen-2]==0 && g[fgLen-2]==0 && f[fgLen-1]==0 && g[fgLen-1]==0) in AlmostInverse()
2457 fgLen-=2; in AlmostInverse()
2459 if (Compare(f, g, fgLen)==-1) in AlmostInverse()
2466 Subtract(f, f, g, fgLen); in AlmostInverse()