2018-04-06 23:23:29 +02:00
|
|
|
/* Copyright (c) 2001, Matej Pfajfar.
|
|
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
|
|
|
* Copyright (c) 2007-2018, The Tor Project, Inc. */
|
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \file crypto_util.h
|
|
|
|
*
|
|
|
|
* \brief Common functions for cryptographic routines.
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef TOR_CRYPTO_UTIL_H
|
|
|
|
#define TOR_CRYPTO_UTIL_H
|
|
|
|
|
2018-06-21 18:20:52 +02:00
|
|
|
#include "lib/cc/torint.h"
|
2018-04-06 23:23:29 +02:00
|
|
|
|
|
|
|
/** OpenSSL-based utility functions. */
|
|
|
|
void memwipe(void *mem, uint8_t byte, size_t sz);
|
|
|
|
|
|
|
|
#endif /* !defined(TOR_CRYPTO_UTIL_H) */
|