Subversion Repositories Kolibri OS

Rev

Rev 3532 | Blame | Last modification | View Log | Download | RSS feed

  1. ;    libcrash -- cryptographic hash functions
  2. ;
  3. ;    Copyright (C) 2012-2014,2016 Ivan Baravy (dunkaist)
  4. ;
  5. ;    This program is free software: you can redistribute it and/or modify
  6. ;    it under the terms of the GNU General Public License as published by
  7. ;    the Free Software Foundation, either version 3 of the License, or
  8. ;    (at your option) any later version.
  9. ;
  10. ;    This program is distributed in the hope that it will be useful,
  11. ;    but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. ;    GNU General Public License for more details.
  14. ;
  15. ;    You should have received a copy of the GNU General Public License
  16. ;    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  17.  
  18.  
  19. LIBCRASH_CRC32          = 0
  20. LIBCRASH_MD4            = 1
  21. LIBCRASH_MD5            = 2
  22. LIBCRASH_SHA1           = 3
  23. LIBCRASH_SHA224         = 4
  24. LIBCRASH_SHA256         = 5
  25. LIBCRASH_SHA384         = 6
  26. LIBCRASH_SHA512         = 7
  27. LIBCRASH_SHA3_224       = 8
  28. LIBCRASH_SHA3_256       = 9
  29. LIBCRASH_SHA3_384       = 10
  30. LIBCRASH_SHA3_512       = 11
  31. LIBCRASH_LAST           = 11
  32.  
  33.  
  34. struct crash_item
  35.         init    dd ?
  36.         update  dd ?
  37.         final   dd ?
  38.         len_out dd ?
  39. ends
  40.  
  41.