gra-projekt/Implementierung/lib/md2_impls/md2_3.h

22 lines
412 B
C
Raw Normal View History

2022-07-15 00:01:35 +02:00
#ifndef MD2_3_H
#define MD2_3_H
#include <pthread.h>
2022-07-15 00:01:35 +02:00
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
2022-07-19 23:12:04 +02:00
#include <unistd.h>
2022-07-15 00:01:35 +02:00
/**
2022-07-19 23:12:04 +02:00
* @brief Diese Implementierung benutzt Threads zum Berechnen des Hashs
2022-07-15 00:01:35 +02:00
*
2022-07-19 23:12:04 +02:00
* @param len
* @param buf
2022-07-15 00:01:35 +02:00
* @param out
*/
void md2_hash_3(size_t len, const uint8_t buf[len], uint8_t out[16]);
#endif // MD2_3_H