mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
fe3aca1491
* ADD new /src/common/crypto_rand.[ch] module. * ADD new /src/common/crypto_util.[ch] module (contains the memwipe() function, since all crypto_* modules need this). * FIXES part of #24658: https://bugs.torproject.org/24658
19 lines
449 B
C
19 lines
449 B
C
|
|
#ifndef TRUNNEL_LOCAL_H_INCLUDED
|
|
#define TRUNNEL_LOCAL_H_INCLUDED
|
|
|
|
#include "util.h"
|
|
#include "compat.h"
|
|
#include "crypto_util.h"
|
|
|
|
#define trunnel_malloc tor_malloc
|
|
#define trunnel_calloc tor_calloc
|
|
#define trunnel_strdup tor_strdup
|
|
#define trunnel_free_ tor_free_
|
|
#define trunnel_realloc tor_realloc
|
|
#define trunnel_reallocarray tor_reallocarray
|
|
#define trunnel_assert tor_assert
|
|
#define trunnel_memwipe(mem, len) memwipe((mem), 0, (len))
|
|
|
|
#endif
|