?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1. // hashplay framework
  2. // (c) 2019 lvd^mhm
  3.  
  4. /*
  5.     This file is part of hashplay framework.
  6.  
  7.     hashplay framework is free software:
  8.     you can redistribute it and/or modify it under the terms of
  9.     the GNU General Public License as published by
  10.     the Free Software Foundation, either version 3 of the License, or
  11.     (at your option) any later version.
  12.  
  13.     hashplay framework is distributed in the hope that
  14.     it will be useful, but WITHOUT ANY WARRANTY; without even
  15.     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  16.     See the GNU General Public License for more details.
  17.  
  18.     You should have received a copy of the GNU General Public License
  19.     along with hashplay framework.
  20.     If not, see <http://www.gnu.org/licenses/>.
  21. */
  22.  
  23. #ifndef MD5_MY_H
  24. #define MD5_MY_H
  25.  
  26.  
  27.  
  28. struct hash_iface * make_md5_my(void);
  29.  
  30. int    md5_my_hash_init    (struct hash_iface * hash);
  31. int    md5_my_hash_start   (struct hash_iface * hash);
  32. int    md5_my_hash_addbytes(struct hash_iface * hash, const uint8_t * message, size_t size);
  33. size_t md5_my_hash_getsize (struct hash_iface * hash);
  34. int    md5_my_hash_result  (struct hash_iface * hash, uint8_t * result);
  35. void   md5_my_hash_deinit  (struct hash_iface * hash);
  36.  
  37.  
  38.  
  39.  
  40. #endif // MD5_MY_H
  41.  
  42.