auth.h 501 B

1234567891011121314151617181920212223
  1. /**
  2. * auth.h
  3. * Key exchange with an onion router.
  4. *
  5. * Matej Pfajfar <mp292@cam.ac.uk>
  6. */
  7. /*
  8. * Changes :
  9. * $Log$
  10. * Revision 1.1 2002/06/26 22:45:50 arma
  11. * Initial revision
  12. *
  13. * Revision 1.1 2002/03/28 11:00:57 badbytes
  14. * Key exchange with an onion router.
  15. *
  16. */
  17. #include <openssl/rsa.h>
  18. #include <stdint.h>
  19. /* send session keys and bandwidth info to the router */
  20. int send_auth(int or_sock, uint32_t bandwidth, RSA *pkey, unsigned char *f_session_key, unsigned char *b_session_key);