diff options
author | Roger Dingledine <arma@torproject.org> | 2002-06-26 22:45:49 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2002-06-26 22:45:49 +0000 |
commit | 9a928eeb1215f0d7c9b6d0bb9e4571d0a16ed79a (patch) | |
tree | fac560bf2dce8a8d2b82e296b71ff24f59ab1a7a /src/op/auth.h | |
parent | 766a465a6043ac4e643c398feb14f708fd0d863f (diff) | |
download | tor-9a928eeb1215f0d7c9b6d0bb9e4571d0a16ed79a.tar tor-9a928eeb1215f0d7c9b6d0bb9e4571d0a16ed79a.tar.gz |
Initial revision
svn:r2
Diffstat (limited to 'src/op/auth.h')
-rw-r--r-- | src/op/auth.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/op/auth.h b/src/op/auth.h new file mode 100644 index 000000000..97be419bf --- /dev/null +++ b/src/op/auth.h @@ -0,0 +1,23 @@ +/** + * auth.h + * Key exchange with an onion router. + * + * Matej Pfajfar <mp292@cam.ac.uk> + */ + +/* + * Changes : + * $Log$ + * Revision 1.1 2002/06/26 22:45:50 arma + * Initial revision + * + * Revision 1.1 2002/03/28 11:00:57 badbytes + * Key exchange with an onion router. + * + */ + +#include <openssl/rsa.h> +#include <stdint.h> + +/* send session keys and bandwidth info to the router */ +int send_auth(int or_sock, uint32_t bandwidth, RSA *pkey, unsigned char *f_session_key, unsigned char *b_session_key); |