Searched refs:ToEnum (Results 1 - 13 of 13) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dwake.h14 static const char *StaticAlgorithmName() {return B::ToEnum() == LITTLE_ENDIAN_ORDER ? "WAKE-CFB-LE" : "WAKE-CFB-BE";}
21 static const char *StaticAlgorithmName() {return B::ToEnum() == LITTLE_ENDIAN_ORDER ? "WAKE-OFB-LE" : "WAKE-OFB-BE";}
H A Dseal.cpp176 CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
177 CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 1, c ^ m_S[4*i+1]);\
178 CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
179 CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 3, a ^ m_S[4*i+3]);
H A Dseal.h12 static const char *StaticAlgorithmName() {return B::ToEnum() == LITTLE_ENDIAN_ORDER ? "SEAL-3.0-LE" : "SEAL-3.0-BE";}
H A Diterhash.h66 ByteOrder GetByteOrder() const {return T_Endianness::ToEnum();}
70 ConditionalByteReverse(T_Endianness::ToEnum(), out, in, byteCount);
H A Dpanama.h34 static const char * StaticAlgorithmName() {return B::ToEnum() == BIG_ENDIAN_ORDER ? "Panama-BE" : "Panama-LE";}
113 static const char * StaticAlgorithmName() {return B::ToEnum() == BIG_ENDIAN_ORDER ? "Panama-BE" : "Panama-LE";}
H A Dwake.cpp76 r3 = M(r3, ConditionalByteReverse(B::ToEnum(), r6));
91 CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, r6);\
H A Dpanama.cpp331 #define OA(i) z[i] = ConditionalByteReverse(B::ToEnum(), a(i+9))
332 #define OX(i) z[i] = y[i] ^ ConditionalByteReverse(B::ToEnum(), a(i+9))
334 #define US(i) {word32 t=b(0,i); b(0,i)=ConditionalByteReverse(B::ToEnum(), p[i])^t; b(25,(i+6)%8)^=t;}
340 #define TS1S(i) T(i+1, ConditionalByteReverse(B::ToEnum(), p[i]))
464 if (B::ToEnum() == LITTLE_ENDIAN_ORDER && HasSSE2())
476 if (B::ToEnum() == LITTLE_ENDIAN_ORDER && HasSSE2())
488 if (B::ToEnum() == LITTLE_ENDIAN_ORDER && HasSSE2())
H A Dmqv.h100 if (COFACTOR_OPTION::ToEnum() == NO_COFACTOR_MULTIPLICTION)
114 if (COFACTOR_OPTION::ToEnum() == COMPATIBLE_COFACTOR_MULTIPLICTION)
H A Dvmac.cpp527 #define a0 (((word32 *)(polyS+i*4))[2+NativeByteOrder::ToEnum()])
528 #define a1 (*(((word32 *)(polyS+i*4))+3-NativeByteOrder::ToEnum())) // workaround for GCC 3.2
529 #define a2 (((word32 *)(polyS+i*4))[0+NativeByteOrder::ToEnum()])
530 #define a3 (*(((word32 *)(polyS+i*4))+1-NativeByteOrder::ToEnum()))
532 #define k0 (((word32 *)(polyS+i*4+2))[2+NativeByteOrder::ToEnum()])
533 #define k1 (*(((word32 *)(polyS+i*4+2))+3-NativeByteOrder::ToEnum()))
534 #define k2 (((word32 *)(polyS+i*4+2))[0+NativeByteOrder::ToEnum()])
535 #define k3 (*(((word32 *)(polyS+i*4+2))+1-NativeByteOrder::ToEnum()))
H A Dmisc.h371 return NativeByteOrder::ToEnum();
1018 x = GetWord<T>(A, B::ToEnum(), m_block);
1037 PutWord(A, B::ToEnum(), m_block, (T)x, m_xorBlock);
H A Dstrciphr.h197 if (!NativeByteOrderIs(B::ToEnum()))
H A Dpubkey.h1440 {return COFACTOR_OPTION::ToEnum() == INCOMPATIBLE_COFACTOR_MULTIPLICTION ? "DHC" : "DH";}
1445 COFACTOR_OPTION::ToEnum() == INCOMPATIBLE_COFACTOR_MULTIPLICTION ? privateExponent*params.GetCofactor() : privateExponent);
1450 if (COFACTOR_OPTION::ToEnum() == COMPATIBLE_COFACTOR_MULTIPLICTION)
1456 else if (COFACTOR_OPTION::ToEnum() == INCOMPATIBLE_COFACTOR_MULTIPLICTION)
1460 assert(COFACTOR_OPTION::ToEnum() == NO_COFACTOR_MULTIPLICTION);
H A Dcryptlib.h102 static ENUM_TYPE ToEnum() {return (ENUM_TYPE)VALUE;} function in struct:EnumToType

Completed in 42 milliseconds