04 Jun, 2015

1 commit


22 Apr, 2015

4 commits


21 Apr, 2015

2 commits

  • This patch adds the new top-level function crypto_rng_generate
    which generates random numbers with additional input. It also
    extends the mid-level rng_gen_random function to take additional
    data as input.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • This patch converts the top-level crypto_rng to the "new" style.
    It was the last algorithm type added before we switched over
    to the new way of doing things exemplified by shash.

    All users will automatically switch over to the new interface.

    Note that this patch does not touch the low-level interface to
    rng implementations.

    Signed-off-by: Herbert Xu

    Herbert Xu
     

09 Mar, 2015

1 commit

  • Change the RNGs to always return 0 in success case.

    This patch ensures that seqiv.c works with RNGs other than krng. seqiv
    expects that any return code other than 0 is an error. Without the
    patch, rfc4106(gcm(aes)) will not work when using a DRBG or an ANSI
    X9.31 RNG.

    Signed-off-by: Stephan Mueller
    Signed-off-by: Herbert Xu

    Stephan Mueller
     

13 Nov, 2014

1 commit


29 Aug, 2008

1 commit

  • This patch adds a random number generator interface as well as a
    cryptographic pseudo-random number generator based on AES. It is
    meant to be used in cases where a deterministic CPRNG is required.

    One of the first applications will be as an input in the IPsec IV
    generation process.

    Signed-off-by: Neil Horman
    Signed-off-by: Herbert Xu

    Neil Horman