crypt_blowfish.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. /* $Id$ */
  2. /*
  3. * Written by Solar Designer <solar at openwall.com> in 2000-2011.
  4. * No copyright is claimed, and the software is hereby placed in the public
  5. * domain. In case this attempt to disclaim copyright and place the software
  6. * in the public domain is deemed null and void, then the software is
  7. * Copyright (c) 2000-2011 Solar Designer and it is hereby released to the
  8. * general public under the following terms:
  9. *
  10. * Redistribution and use in source and binary forms, with or without
  11. * modification, are permitted.
  12. *
  13. * There's ABSOLUTELY NO WARRANTY, express or implied.
  14. *
  15. * See crypt_blowfish.c for more information.
  16. */
  17. #ifndef _CRYPT_BLOWFISH_H
  18. #define _CRYPT_BLOWFISH_H
  19. #if 0
  20. extern int _crypt_output_magic(const char *setting, char *output, int size);
  21. #endif
  22. extern char *php_crypt_blowfish_rn(const char *key, const char *setting,
  23. char *output, int size);
  24. #if 0
  25. extern char *_crypt_gensalt_blowfish_rn(const char *prefix,
  26. unsigned long count,
  27. const char *input, int size, char *output, int output_size);
  28. #endif
  29. #endif