libssh
0.12.2
The SSH library
Toggle main menu visibility
Loading...
Searching...
No Matches
hybrid_mlkem.h
1
/*
2
* This file is part of the SSH Library
3
*
4
* Copyright (c) 2025 by Red Hat, Inc.
5
*
6
* Author: Sahana Prasad <sahana@redhat.com>
7
* Author: Pavol Žáčik <pzacik@redhat.com>
8
* Author: Claude (Anthropic)
9
*
10
* This library is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU Lesser General Public
12
* License as published by the Free Software Foundation; either
13
* version 2.1 of the License, or (at your option) any later version.
14
*
15
* This library is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* Lesser General Public License for more details.
19
*
20
* You should have received a copy of the GNU Lesser General Public
21
* License along with this library; if not, write to the Free Software
22
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
*/
24
25
#ifndef HYBRID_MLKEM_H_
26
#define HYBRID_MLKEM_H_
27
28
#include "libssh/mlkem.h"
29
#include "libssh/wrapper.h"
30
31
#include "config.h"
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
37
#define NISTP256_SHARED_SECRET_SIZE 32
38
#define NISTP384_SHARED_SECRET_SIZE 48
39
40
int
ssh_client_hybrid_mlkem_init(ssh_session session);
41
void
ssh_client_hybrid_mlkem_remove_callbacks(ssh_session session);
42
43
#ifdef WITH_SERVER
44
void
ssh_server_hybrid_mlkem_init(ssh_session session);
45
#endif
/* WITH_SERVER */
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#endif
/* HYBRID_MLKEM_H_ */
include
libssh
hybrid_mlkem.h
Generated by
1.18.0