| 
									
										
										
										
											2025-01-12 17:33:09 +01:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright (c) 2025, Altomani Gianluca <altomanigianluca@gmail.com> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * SPDX-License-Identifier: BSD-2-Clause | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern "C" { | 
					
						
							|  |  |  | typedef struct engine_st ENGINE; | 
					
						
							|  |  |  | typedef struct bignum_st BIGNUM; | 
					
						
							|  |  |  | typedef struct evp_md_st EVP_MD; | 
					
						
							|  |  |  | typedef struct evp_md_ctx_st EVP_MD_CTX; | 
					
						
							|  |  |  | typedef struct evp_pkey_st EVP_PKEY; | 
					
						
							|  |  |  | typedef struct evp_pkey_ctx_st EVP_PKEY_CTX; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-01-26 20:32:18 +01:00
										 |  |  | void ERR_print_errors_cb(int (*cb)(char const* str, size_t len, void* u), void* u); | 
					
						
							| 
									
										
										
										
											2025-01-12 17:33:09 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | EVP_MD_CTX* EVP_MD_CTX_new(); | 
					
						
							|  |  |  | void EVP_MD_CTX_free(EVP_MD_CTX*); | 
					
						
							|  |  |  | int EVP_DigestUpdate(EVP_MD_CTX*, void const*, size_t); | 
					
						
							|  |  |  | int EVP_DigestInit_ex(EVP_MD_CTX*, const EVP_MD*, ENGINE*); | 
					
						
							|  |  |  | int EVP_DigestFinal_ex(EVP_MD_CTX*, unsigned char*, unsigned int*); | 
					
						
							|  |  |  | int EVP_MD_CTX_copy_ex(EVP_MD_CTX*, EVP_MD_CTX const*); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void EVP_PKEY_CTX_free(EVP_PKEY_CTX*); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void EVP_PKEY_free(EVP_PKEY*); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void BN_free(BIGNUM*); | 
					
						
							|  |  |  | } |