summaryrefslogtreecommitdiff
path: root/providers/implementations/kem/eckem.h
blob: 44fdde852b8eb8bec66caf5d06a9d66d98869934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
 *
 * Licensed under the Apache License 2.0 (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

#define KEM_MODE_UNDEFINED   0
#define KEM_MODE_DHKEM       1

int ossl_eckem_modename2id(const char *name);
void ossl_dhkem_getsuiteid(unsigned char suiteid[5], uint16_t kemid);