view sk-ed25519.h @ 1883:f54451afc046

use buf_getptr and m_free on every iteration before m_malloc to insure no memory leaks are happening
author HansH111 <hans@atbas.org>
date Tue, 15 Mar 2022 18:57:21 +0000
parents 35d504d59c05
children
line wrap: on
line source

#ifndef DROPBEAR_SK_ED25519_H_
#define DROPBEAR_SK_ED25519_H_

#include "includes.h"

#if DROPBEAR_SK_ED25519

#include "buffer.h"
#include "ed25519.h"

int buf_sk_ed25519_verify(buffer *buf, const dropbear_ed25519_key *key, const buffer *data_buf, const char* app, unsigned int applen);

#endif

#endif /* DROPBEAR_SK_ED25519_H_ */