File: crypto_hash_sha512_lib25519.c

package info (click to toggle)
tinyssh 20250501-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,388 kB
  • sloc: ansic: 20,245; sh: 1,582; python: 1,449; makefile: 913
file content (13 lines) | stat: -rw-r--r-- 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "haslib25519.h"
#ifdef HASLIB25519

#include <lib25519.h>
#include "crypto_hash_sha512.h"

int crypto_hash_sha512_lib25519(unsigned char *o, const unsigned char *m,
                                unsigned long long n) {
    lib25519_hash_sha512(o, m, n);
    return 0;
}

#endif