aesrand.h 564 B

123456789101112131415161718192021222324
  1. /*
  2. * ZMap Copyright 2013 Regents of the University of Michigan
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5. * use this file except in compliance with the License. You may obtain a copy
  6. * of the License at http://www.apache.org/licenses/LICENSE-2.0
  7. */
  8. #include <stdint.h>
  9. #ifndef AESRAND_H
  10. #define AESRAND_H
  11. typedef struct aesrand aesrand_t;
  12. aesrand_t* aesrand_init_from_random();
  13. aesrand_t* aesrand_init_from_seed(uint64_t);
  14. uint64_t aesrand_getword(aesrand_t *aes);
  15. aesrand_t* aesrand_free(aesrand_t *aes);
  16. #endif