-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gadget and Refactored Memory and SecureMemory #54
Comments
I am not sure how to refactor |
On Tue, Aug 20, 2013 at 04:07:35AM -0700, satvikc wrote:
We can discuss this in person sometime. Regards ppk |
I have rewritten the Hash and MAC but I ran into few problems
You can look at the code here |
On Thu, Aug 22, 2013 at 11:39:58AM -0700, satvikc wrote:
Define IV (HMAC h) = (IV h, IV h) The IV (HMAC h) should be (IV h, IV h). The first IV h is for the Regards ppk |
the type of finalize is On Fri, Aug 23, 2013 at 10:14 AM, Piyush P Kurur
Satvik Chauhan |
CryptoArray doesn't have a memory instance.
|
I have refactored the code using the above solution. I am not sure how to solve the following error from
Adding that to the type forces to use undecidableinstances which I dont want to use. |
I have refactored the code but tests are failing. I am not sure where the bug is. But it is happening because of some garbage as the hash on the same string is giving different values each time. |
The interface is no more relevant I am closing this issue |
I have added the gadget class and refactored memory and SecureMemory.
BookKeeper
as the argument. It was not possible to compose memory instances if we were using state monad.mmap
toposix_memalign
and wrote tests to detect if it is available. The code is portable in the sense that it sets and checks necessary flags.MAC
andHash
are broken because of the new gadget interface.Here is the link https://github.com/satvikc/raaz/tree/x-memory/raaz-primitives/Raaz
The text was updated successfully, but these errors were encountered: