2024-11-20 22:10:30 +08:00
|
|
|
/*
|
|
|
|
|
* Copyright 2024 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
|
* Licensed under the OpenSSL license (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
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* These functions are ECH helpers that are used within the library but
|
|
|
|
|
* also by ECH test code.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef OPENSSL_ECH_HELPERS_H
|
|
|
|
|
# define OPENSSL_ECH_HELPERS_H
|
|
|
|
|
# pragma once
|
|
|
|
|
|
|
|
|
|
# ifndef OPENSSL_NO_ECH
|
|
|
|
|
|
2024-12-28 10:49:12 +08:00
|
|
|
int ossl_ech_make_enc_info(const unsigned char *encoding,
|
|
|
|
|
size_t encoding_length,
|
2024-11-20 22:10:30 +08:00
|
|
|
unsigned char *info, size_t *info_len);
|
|
|
|
|
|
|
|
|
|
# endif
|
|
|
|
|
#endif
|