zighouse / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

A.3.2. State Memory Management_3 fails #177

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.
A.3.2. State Memory Management_3 fails

Both Doubango and my tests receive an unexpected NACK, should return no output 
and use 1805 cycles according to RFC 4465

=================================================

=== Testing A.3.2.  State Memory Management_4 ===

=================================================

==WE GOT A NACK

FAIL: UNEXPECTED NACK

=== A.3.2.  State Memory Management_4 status: FAIL ===

======================================================

Output from Doubango tests…

=== Testing A.3.2.  State Memory Management_4 ===

==WE GOT A NACK

xoutpout: YES

xcycles: NO

output size: 0

Original issue reported on code.google.com by boss...@yahoo.fr on 8 Jan 2013 at 11:42

GoogleCodeExporter commented 9 years ago
The problem is that the SMS must be equal to 2048. 
According to RFC4465: "For the duration of this test, it is assumed that all 
states will be saved in a single compartment with a state_memory_size of 2048 
bytes."
With SMS=2048 all tests return expected results (at least on my code).

Original comment by boss...@yahoo.fr on 16 Jan 2013 at 4:57

GoogleCodeExporter commented 9 years ago
Issue 183 has been merged into this issue.

Original comment by boss...@yahoo.fr on 16 Jan 2013 at 8:36

GoogleCodeExporter commented 9 years ago
Fixed by r809

Original comment by boss...@yahoo.fr on 21 Jan 2013 at 8:49