Skip to content
Commits on Feb 25, 2011
  1. @rrnewton
Commits on Feb 24, 2011
  1. @rrnewton

    Deleted Largeword. Not sure if this checkin is valid because Dropbox …

    …MASSACRED this working copy with spurious deletions.
    rrnewton committed Feb 24, 2011
Commits on Feb 13, 2011
  1. @rrnewton

    Fixed a small bug in the .cabal file where the DBRG dependency occure…

    …d twice. New version for this to try to fix build failure on hackage.
    rrnewton committed Feb 13, 2011
Commits on Feb 8, 2011
  1. @rrnewton
  2. @rrnewton
  3. @rrnewton
  4. @rrnewton

    Small tweak to .cabal file

    rrnewton committed Feb 7, 2011
  5. @rrnewton
Commits on Feb 4, 2011
  1. @rrnewton

    Adding a prebuild .so for linux (and later for other platforms). The

    goal is to remove possible fragilities in the build process that would limit portability.
    rrnewton committed Feb 4, 2011
Commits on Feb 2, 2011
  1. @rrnewton

    Implemented the wrapper that picks AESNI or portable software impleme…

    …ntation at runtime by checking CPU id.
    rrnewton committed Feb 2, 2011
  2. @rrnewton

    Ok, I reverted the recent refactoring I did to the Gladman implementa…

    …tion that caused me to run into a weird link problem. Namely, I moved the file to a subdir and moved the mkAESGen defs from SimpleRNGBench.hs into the GladmanAES.hsc file. I will dig deeper to figure out *which* of those changes caused me to trip the link error.
    rrnewton committed Feb 2, 2011
Commits on Feb 1, 2011
  1. @rrnewton

    Tried to refactor by moving functionality around into different modul…

    …es to make way for the compound AES implementation that checks the processor flags. HOWEVER now I'm running into odd link problems.
    
      Linking dist/build/benchmark-intel-aes-rng/benchmark-intel-aes-rng ...
      dist/build/benchmark-intel-aes-rng/benchmark-intel-aes-rng-tmp/Main.o: In function `sqM1_info':
      (.text+0xbb0a): undefined reference to `intelzmaeszm0zi1zi1_CodecziCryptoziConvertRNG_CRGtoRG0_con_info'
    rrnewton committed Feb 1, 2011
  2. @rrnewton
  3. @rrnewton
  4. @rrnewton
  5. @rrnewton

    I replaced the dangerous method of rewriting the .cabal file with a b…

    …etter one that modifies the PackageDescription data structure.
    
    Also began to make some progress on getting the AESNI package building under Mac OS.
    rrnewton committed Jan 31, 2011
Commits on Jan 31, 2011
  1. @rrnewton

    Almost victory! I tried duncan's strategy of rewriting the .cabal file.

    Alas this means that I need to be careful not to check-in the rewritten version :(.
    Also, the current approach only works if cabal configure and cabal install are run separately.
    rrnewton committed Jan 31, 2011
  2. @rrnewton

    Added the adapted version of Gladman's algorithm I got from Thomas Du…

    …Buisson.
    
    These can be a separate package later.
    Right now I don't implement automatic fallback... but this commit is able to time
    both gladman and the AESNI version.
    rrnewton committed Jan 31, 2011
  3. @rrnewton

    Did a bunch of hacking on Setup.hs. I've got a prototype working buil…

    …d config that requires the build directory be /opt/intel-aes.
    
    ld-options/-rpath is the way that I did it.
    Hypothetically all I need to change from there is to figure out how to get the right paths.
    Having trouble at the moment accomplishing that...
    rrnewton committed Jan 31, 2011
  4. @rrnewton

    Added the C and assembly code to the sdist package by using the extra…

    …-source-files field.
    rrnewton committed Jan 30, 2011
  5. @rrnewton

    Cleaned up .cabal file. I needed to add a bunch of stuff to get sdist…

    … to work, including other-modules.
    rrnewton committed Jan 30, 2011
  6. @rrnewton

    CLeaned up the excessive build scripts. Added a makefile for linux th…

    …at produces more readable output at least.
    
    I continued to hack on the .cabal file.   Right now it's trying to add an extra-lib-dirs to the executable.
    This doesn't seem to affect the executable search path however....
    rrnewton committed Jan 30, 2011
Commits on Jan 30, 2011
  1. @rrnewton

    I added an "amortized" version of the CryptoRandomGen -> RandomGen co…

    …nversion that creates a block of random bits at once. I need to tune the size of it.
    rrnewton committed Jan 30, 2011
  2. @rrnewton
  3. @rrnewton

    Got a AESNI based random number generator working for the first time.

    Still requires manual linking.  Also, right now it's (inefficiently) calling through C and wasting half of the 128 bits on every random number.
    rrnewton committed Jan 30, 2011
  4. @rrnewton

    Adding version 1.0 of the Intel AESNI Sample library to the repository.

    It's distributed with a simple permissive license so this is ok.
    rrnewton committed Jan 30, 2011
  5. @rrnewton

    After talking with Thomas M. DuBuisson I'm using the crypto-api inter…

    …faces for block ciphers. I took some initial steps towards wrapping the AESNI library with that interface. The SimpleRNGBench.hs builds right now manually, but not yet via cabal, because of the problem with .a files.
    rrnewton committed Jan 30, 2011
Commits on Jan 29, 2011
  1. @rrnewton

    Added TODO file..

    rrnewton committed Jan 29, 2011
  2. @rrnewton

    Significant changes to do timing of C's rand as well as the haskell v…

    …ersion. Also added some command line options. Added a bunch of initial results to CHANGELOG.
    rrnewton committed Jan 29, 2011
  3. @rrnewton

    Got things working in a decent state with C timing. Added BinSearch.h…

    …s because killing threads making foreign calls wasn't working.
    rrnewton committed Jan 29, 2011
Commits on Jan 28, 2011
  1. @rrnewton
  2. @rrnewton

    Duplicated a small subse of the Crypto library because I violate the …

    …API of LargeWord. Hopefully TEMPORARY.
    rrnewton committed Jan 28, 2011
  3. @rrnewton

    Got an improved version of the all-haskell Burton RNG that doesn't wa…

    …ste bits and is twice as fast. UNFORTUNATELY, it depends on a manual modification of the Data.LargeWord package used by the AES version I'm using.
    rrnewton committed Jan 28, 2011
  4. @rrnewton

    Added the basic/slow reference implementation and a simple script for…

    … timing random numbers per second.
    rrnewton committed Jan 28, 2011
  5. @rrnewton

    initial commit

    rrnewton committed Jan 28, 2011
Something went wrong with that request. Please try again.