File: sshcrypto_kex_sntrup761x25519.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 (14 lines) | stat: -rw-r--r-- 280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
20210314
20241210 - reformated using clang-format
Jan Mojzis
Public domain.
*/

#include "buf.h"
#include "crypto.h"
#include "sshcrypto.h"

void sntrup761x25519_putkemkey(struct buf *b, const unsigned char *x) {
    buf_putstringlen(b, x, crypto_kem_sntrup761x25519_BYTES);
}