view sk-ed25519.h @ 1916:3f4cdf839a1a

Make SHA1 optional, implement SHA256 fingerprints SHA256 is always compiled and only enable SHA1 when needed. Fingerprints are always SHA256: base64 format, md5 and sha1 are removed. dbrandom now uses sha256 its hash function.
author Matt Johnston <matt@ucc.asn.au>
date Wed, 30 Mar 2022 11:44:04 +0800
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_ */