Click here to Skip to main content
15,896,296 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondll error Pin
tom groezer30-Jul-08 5:03
tom groezer30-Jul-08 5:03 
AnswerRe: dll error Pin
Chris Losinger30-Jul-08 5:11
professionalChris Losinger30-Jul-08 5:11 
AnswerRe: dll error Pin
Iain Clarke, Warrior Programmer30-Jul-08 5:29
Iain Clarke, Warrior Programmer30-Jul-08 5:29 
GeneralRe: dll error Pin
led mike30-Jul-08 7:55
led mike30-Jul-08 7:55 
AnswerRe: dll error Pin
Mark Salsbery30-Jul-08 6:33
Mark Salsbery30-Jul-08 6:33 
QuestionTimer in AES code Pin
zc12330-Jul-08 3:51
zc12330-Jul-08 3:51 
AnswerRe: Timer in AES code Pin
Iain Clarke, Warrior Programmer30-Jul-08 4:23
Iain Clarke, Warrior Programmer30-Jul-08 4:23 
GeneralRe: Timer in AES code Pin
zc12330-Jul-08 5:08
zc12330-Jul-08 5:08 
Well the timer codes works without problem.

In fact in AES CCM, it first perform the CBC MAC step to get a tag from the plaintext and then in the counter(CTR) mode, it encrypts the plaintext and the tag to get the ciphertext.

The idea is to find out the time taken to encrypt 16 bytes of data(a block) and then I'll vary the block size to get the different encryption times.

What is bothering me is that I don't know whether to place the timer code in main()to get the encryption time or to time the CBC step and the CTR step separately and add them to get the encryption time.

Feel free if you need more info.

BTW, Is there a way to attach the cpp code?
GeneralRe: Timer in AES code Pin
Iain Clarke, Warrior Programmer30-Jul-08 5:26
Iain Clarke, Warrior Programmer30-Jul-08 5:26 
GeneralRe: Timer in AES code Pin
zc12330-Jul-08 5:34
zc12330-Jul-08 5:34 
QuestionVisual Studio 2005 project loading Pin
tom groezer30-Jul-08 3:39
tom groezer30-Jul-08 3:39 
AnswerRe: Visual Studio 2005 project loading Pin
KarstenK30-Jul-08 3:52
mveKarstenK30-Jul-08 3:52 
GeneralRe: Visual Studio 2005 project loading Pin
tom groezer30-Jul-08 5:06
tom groezer30-Jul-08 5:06 
GeneralRe: Visual Studio 2005 project loading Pin
tom groezer30-Jul-08 5:19
tom groezer30-Jul-08 5:19 
QuestionRe: Visual Studio 2005 project loading Pin
Mark Salsbery30-Jul-08 6:38
Mark Salsbery30-Jul-08 6:38 
QuestionSimple menu question Pin
masnu30-Jul-08 3:36
masnu30-Jul-08 3:36 
AnswerRe: Simple menu question Pin
vikas amin30-Jul-08 4:28
vikas amin30-Jul-08 4:28 
AnswerRe: Simple menu question Pin
Iain Clarke, Warrior Programmer30-Jul-08 4:32
Iain Clarke, Warrior Programmer30-Jul-08 4:32 
AnswerRe: Simple menu question Pin
Mark Salsbery30-Jul-08 6:44
Mark Salsbery30-Jul-08 6:44 
Question64 bit enum? Pin
Rob Caldecott30-Jul-08 3:30
Rob Caldecott30-Jul-08 3:30 
AnswerRe: 64 bit enum? Pin
sashoalm30-Jul-08 3:52
sashoalm30-Jul-08 3:52 
GeneralRe: 64 bit enum? Pin
Rob Caldecott30-Jul-08 3:57
Rob Caldecott30-Jul-08 3:57 
GeneralRe: 64 bit enum? Pin
Randor 30-Jul-08 4:29
professional Randor 30-Jul-08 4:29 
AnswerRe: 64 bit enum? Pin
toxcct30-Jul-08 4:03
toxcct30-Jul-08 4:03 
AnswerRe: 64 bit enum? Pin
CPallini30-Jul-08 5:13
mveCPallini30-Jul-08 5:13 

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.