Blame include/libssh/bignum.h

Packit 6c0a39
/*
Packit 6c0a39
 * This file is part of the SSH Library
Packit 6c0a39
 *
Packit 6c0a39
 * Copyright (c) 2014 by Aris Adamantiadis <aris@badcode.be>
Packit 6c0a39
 *
Packit 6c0a39
 * This library is free software; you can redistribute it and/or
Packit 6c0a39
 * modify it under the terms of the GNU Lesser General Public
Packit 6c0a39
 * License as published by the Free Software Foundation; either
Packit 6c0a39
 * version 2.1 of the License, or (at your option) any later version.
Packit 6c0a39
 *
Packit 6c0a39
 * This library is distributed in the hope that it will be useful,
Packit 6c0a39
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 6c0a39
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 6c0a39
 * Lesser General Public License for more details.
Packit 6c0a39
 *
Packit 6c0a39
 * You should have received a copy of the GNU Lesser General Public
Packit 6c0a39
 * License along with this library; if not, write to the Free Software
Packit 6c0a39
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Packit 6c0a39
 */
Packit 6c0a39
Packit 6c0a39
#ifndef BIGNUM_H_
Packit 6c0a39
#define BIGNUM_H_
Packit 6c0a39
Packit 6c0a39
#include "libssh/libcrypto.h"
Packit 6c0a39
#include "libssh/libgcrypt.h"
Packit 6c0a39
#include "libssh/libmbedcrypto.h"
Packit 6c0a39
Packit 6c0a39
bignum ssh_make_string_bn(ssh_string string);
Packit 6c0a39
ssh_string ssh_make_bignum_string(bignum num);
Packit 6c0a39
void ssh_print_bignum(const char *which, const bignum num);
Packit 6c0a39
Packit 6c0a39
Packit 6c0a39
#endif /* BIGNUM_H_ */