crypto_util.h 548 B

123456789101112131415161718192021
  1. /* Copyright (c) 2001, Matej Pfajfar.
  2. * Copyright (c) 2001-2004, Roger Dingledine.
  3. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
  4. * Copyright (c) 2007-2019, The Tor Project, Inc. */
  5. /* See LICENSE for licensing information */
  6. /**
  7. * \file crypto_util.h
  8. *
  9. * \brief Common functions for cryptographic routines.
  10. **/
  11. #ifndef TOR_CRYPTO_UTIL_H
  12. #define TOR_CRYPTO_UTIL_H
  13. #include "lib/cc/torint.h"
  14. /** OpenSSL-based utility functions. */
  15. void memwipe(void *mem, uint8_t byte, size_t sz);
  16. #endif /* !defined(TOR_CRYPTO_UTIL_H) */