Click here to Skip to main content
14,388,768 members

Managed C++/CLI

 
GeneralRe: How to convert the following C# line? Pin
Wes Aday27-Apr-14 6:49
professionalWes Aday27-Apr-14 6:49 
QuestionRe: How to convert the following C# line? Pin
Richard MacCutchan28-Apr-14 23:33
mveRichard MacCutchan28-Apr-14 23:33 
AnswerRe: How to convert the following C# line? Pin
Paramu197330-Apr-14 10:48
MemberParamu197330-Apr-14 10:48 
AnswerRe: How to convert the following C# line? Pin
WuRunZhe19-Jun-14 6:48
MemberWuRunZhe19-Jun-14 6:48 
QuestionNeed help.... Pin
Akandel22-Apr-14 9:56
MemberAkandel22-Apr-14 9:56 
AnswerRe: Need help.... Pin
Akandel22-Apr-14 9:57
MemberAkandel22-Apr-14 9:57 
GeneralRe: Need help.... Pin
Richard MacCutchan28-Apr-14 22:57
mveRichard MacCutchan28-Apr-14 22:57 
Questiondescribe this code Pin
mostafaghanei17-Apr-14 20:21
Membermostafaghanei17-Apr-14 20:21 
hi this code is a part of keecak function.
i do not undrastand what is "C[index(x-xOff)];" plz help me;
template<class Lane>
void KeccakF::inverseTheta(vector<Lane>& A) const
{
    vector<Lane> C(5);
    for(unsigned int x=0; x<5; x++) {

        C[x] = A[index(x,0)];

        for(unsigned int y=1; y<5; y++){

            C[x] ^= A[index(x,y)];

        }

    }

    const LaneValue inversePositions64[5] = {

        0xDE26BC4D789AF134ULL,

        0x09AF135E26BC4D78ULL,

        0xEBC4D789AF135E26ULL,

        0x7135E26BC4D789AFULL,

        0xCD789AF135E26BC4ULL };

    vector<LaneValue> inversePositions(5, 0);
    for(unsigned int z=0; z<64; z+=laneSize)

        for(unsigned int x=0; x<5; x++)

            inversePositions[x] ^= inversePositions64[x] >> z;
    for(unsigned int z=0; z<laneSize; z++) {

        for(unsigned int xOff=0; xOff<5; xOff++)

           for(int x=0; x<5; x++)

               for(unsigned int y=0; y<5; y++)

                   if ((inversePositions[xOff] & 1) != 0)

                      A[index(x, y)] ^= C[index(x-xOff)];

        for(unsigned int xOff=0; xOff<5; xOff++) {

            ROL(C[xOff], 1);

            inversePositions[xOff] >>= 1;
        }
    }
}

AnswerRe: describe this code Pin
Richard MacCutchan17-Apr-14 23:19
mveRichard MacCutchan17-Apr-14 23:19 
AnswerRe: describe this code Pin
Munchies_Matt23-Apr-14 5:20
MemberMunchies_Matt23-Apr-14 5:20 
QuestionNEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel17-Apr-14 18:37
MemberAkandel17-Apr-14 18:37 
AnswerRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel17-Apr-14 18:40
MemberAkandel17-Apr-14 18:40 
AnswerRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Richard MacCutchan17-Apr-14 23:15
mveRichard MacCutchan17-Apr-14 23:15 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel18-Apr-14 6:55
MemberAkandel18-Apr-14 6:55 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Richard MacCutchan18-Apr-14 7:14
mveRichard MacCutchan18-Apr-14 7:14 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel18-Apr-14 7:59
MemberAkandel18-Apr-14 7:59 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Richard MacCutchan18-Apr-14 9:19
mveRichard MacCutchan18-Apr-14 9:19 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel18-Apr-14 9:43
MemberAkandel18-Apr-14 9:43 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Richard MacCutchan18-Apr-14 9:51
mveRichard MacCutchan18-Apr-14 9:51 
QuestionNEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel17-Apr-14 18:28
MemberAkandel17-Apr-14 18:28 
QuestionBuilding with Warning level 4 Pin
John Schroedl17-Apr-14 8:31
professionalJohn Schroedl17-Apr-14 8:31 
AnswerRe: Building with Warning level 4 Pin
John Schroedl18-Apr-14 7:22
professionalJohn Schroedl18-Apr-14 7:22 
Questionaccess functions in a DLL created in C # for borland c + + builder Pin
Willian Mathias9-Apr-14 9:03
MemberWillian Mathias9-Apr-14 9:03 
AnswerRe: access functions in a DLL created in C # for borland c + + builder Pin
Richard Andrew x6417-Apr-14 9:59
professionalRichard Andrew x6417-Apr-14 9:59 
Questionretrieve words in a HTML page Pin
neterfari2-Apr-14 0:42
Memberneterfari2-Apr-14 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.