ft_ssl/includes/internal/ssl/ssl.h
2026-06-10 02:08:54 +02:00

19 lines
547 B
C

#ifndef FT_SSL_SSL_H
#define FT_SSL_SSL_H
#include <stdint.h>
#include "ft_ssl.h"
#define MAX_DIGEST_SIZE 64
#define READ_BUFSIZE 4096
int run_string(const struct ssl_config *config, const char *s);
int run_file(const struct ssl_config *config, const char *path);
int run_stdin(const struct ssl_config *config);
int digest_stream(const struct ssl_config *config, int fd,
const char *label, int show_algo, int echo);
void print_digest(const struct ssl_config *config, const uint8_t *digest,
const char *label, int show_algo);
#endif