Path: blob/main/crypto/openssl/include/internal/encoder.h
34879 views
/*1* Copyright 2025 The OpenSSL Project Authors. All Rights Reserved.2*3* Licensed under the Apache License 2.0 (the "License"). You may not use4* this file except in compliance with the License. You can obtain a copy5* in the file LICENSE in the source distribution or at6* https://www.openssl.org/source/license.html7*/89#ifndef OSSL_INTERNAL_ENCODER_H10# define OSSL_INTERNAL_ENCODER_H11# pragma once1213# include <openssl/bio.h>14# include <openssl/buffer.h>15# include <openssl/types.h>16# include "internal/ffc.h"1718int ossl_bio_print_labeled_bignum(BIO *out, const char *label,19const BIGNUM *bn);20int ossl_bio_print_labeled_buf(BIO *out, const char *label,21const unsigned char *buf, size_t buflen);22# if !defined(OPENSSL_NO_DH) || !defined(OPENSSL_NO_DSA)23int ossl_bio_print_ffc_params(BIO *out, const FFC_PARAMS *ffc);24# endif2526#endif272829