Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
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 …

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

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

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

    Small tweak to .cabal file

    rrnewton authored
  5. @rrnewton
Commits on Feb 4, 2011
  1. @rrnewton

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

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

    Implemented the wrapper that picks AESNI or portable software impleme…

    rrnewton authored
    …ntation at runtime by checking CPU id.
  2. @rrnewton

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

    rrnewton authored
    …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.
Commits on Feb 1, 2011
  1. @rrnewton

    Tried to refactor by moving functionality around into different modul…

    rrnewton authored
    …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'
  2. @rrnewton
  3. @rrnewton
  4. @rrnewton
  5. @rrnewton

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

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

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

    rrnewton authored
    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.
  2. @rrnewton

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

    rrnewton authored
    …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.
  3. @rrnewton

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

    rrnewton authored
    …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...
  4. @rrnewton
  5. @rrnewton

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

    rrnewton authored
    … to work, including other-modules.
  6. @rrnewton

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

    rrnewton authored
    …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....
Commits on Jan 30, 2011
  1. @rrnewton

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

    rrnewton authored
    …nversion that creates a block of random bits at once. I need to tune the size of it.
  2. @rrnewton
  3. @rrnewton

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

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

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

    rrnewton authored
    It's distributed with a simple permissive license so this is ok.
  5. @rrnewton

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

    rrnewton authored
    …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.
Commits on Jan 29, 2011
  1. @rrnewton

    Added TODO file..

    rrnewton authored
  2. @rrnewton

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

    rrnewton authored
    …ersion. Also added some command line options. Added a bunch of initial results to CHANGELOG.
  3. @rrnewton

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

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

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

    rrnewton authored
    …API of LargeWord. Hopefully TEMPORARY.
  3. @rrnewton

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

    rrnewton authored
    …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.
  4. @rrnewton

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

    rrnewton authored
    … timing random numbers per second.
  5. @rrnewton

    initial commit

    rrnewton authored
Something went wrong with that request. Please try again.