1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
/* * Copyright (c) 2019, Yiming Jing * Copyright (c) 2017-2019, The MesaLink Authors * All rights reserved. * * This work is licensed under the terms of the BSD 3-Clause License. * For a copy, see the LICENSE file. * */ /// Implementations of OpenSSL BIO APIs. /// Please also refer to the header file at tabbyssl/openssl/bio.h pub mod bio; /// Implementations of OpenSSL EVP APIs. /// Please also refer to the header file at tabbyssl/openssl/evp.h pub mod evp; /// Implementations of OpenSSL PEM APIs. /// Please also refer to the header file at tabbyssl/openssl/evp.h pub mod pem; use libc::c_int; pub(self) const CRYPTO_FAILURE: c_int = 0; pub(self) const CRYPTO_SUCCESS: c_int = 1;