diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-07-27 21:39:44 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-07-27 21:39:44 +0200 |
| commit | 2e47298639b3e4971e2a7b35d50b57340276435b (patch) | |
| tree | 63d3b3601df765781d61504d45c7b1d2480f356c /include | |
| parent | da4069d389ed0ca56a17da29b9e967bc2acb0dad (diff) | |
| download | ft_ssl-2e47298639b3e4971e2a7b35d50b57340276435b.tar.gz ft_ssl-2e47298639b3e4971e2a7b35d50b57340276435b.tar.bz2 ft_ssl-2e47298639b3e4971e2a7b35d50b57340276435b.zip | |
Disabling previous work temporarily to focus on the algorithm
Diffstat (limited to 'include')
| -rw-r--r-- | include/ft_ssl.h | 56 | ||||
| -rw-r--r-- | include/ft_ssl_md5.h | 22 | ||||
| -rw-r--r-- | include/ft_ssl_sha256.h | 22 |
3 files changed, 0 insertions, 100 deletions
diff --git a/include/ft_ssl.h b/include/ft_ssl.h deleted file mode 100644 index be9b4da..0000000 --- a/include/ft_ssl.h +++ /dev/null @@ -1,56 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* ft_ssl.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/02/03 20:27:19 by cacharle #+# #+# */ -/* Updated: 2020/02/22 10:10:30 by cacharle ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef FT_SSL_H -# define FT_SSL_H - -# include "libft.h" - -# include "ft_ssl_md5.h" -# include "ft_ssl_sha256.h" - -typedef int (*t_func_main)(int argc, char **argv); -typedef struct -{ - char *name; - t_func_main entry; -} t_command; - -enum -{ - FLAG_PIPE = 1 << 0, - FLAG_QUIET = 1 << 1, - FLAG_REVERSE = 1 << 2, - FLAG_STRING = 1 << 3 -}; -typedef unsigned char t_flags; - -typedef struct -{ - unsigned char *data; - int size; -} t_digest; -typedef void (*t_func_hash)(char *message, t_digest *digest); - -/* -** error.c -*/ - -void fl_error_command(char *command); - -/* -** args.c -*/ - -int fl_parse_args(char *name, int argc, char **argv, t_func_hash func_hash); - -#endif diff --git a/include/ft_ssl_md5.h b/include/ft_ssl_md5.h deleted file mode 100644 index b012533..0000000 --- a/include/ft_ssl_md5.h +++ /dev/null @@ -1,22 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* ft_ssl_md5.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/02/22 07:14:45 by cacharle #+# #+# */ -/* Updated: 2020/02/22 08:57:06 by cacharle ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef FT_SSL_MD5_H -# define FT_SSL_MD5_H - -/* -** main_md5.c -*/ - -int fl_main_md5(int argc, char **argv); - -#endif diff --git a/include/ft_ssl_sha256.h b/include/ft_ssl_sha256.h deleted file mode 100644 index 9427f88..0000000 --- a/include/ft_ssl_sha256.h +++ /dev/null @@ -1,22 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* ft_ssl_sha256.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/02/22 07:18:42 by cacharle #+# #+# */ -/* Updated: 2020/02/22 08:57:14 by cacharle ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef FT_SSL_SHA256_H -# define FT_SSL_SHA256_H - -/* -** main_sha256.c -*/ - -int fl_main_sha256(int argc, char **argv); - -#endif |
