Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-17 08:51:24

0001 //
0002 // Copyright (c) 2019-2025 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 
0008 #ifndef BOOST_MYSQL_IMPL_INTERNAL_SANSIO_AUTH_PLUGIN_COMMON_HPP
0009 #define BOOST_MYSQL_IMPL_INTERNAL_SANSIO_AUTH_PLUGIN_COMMON_HPP
0010 
0011 #include <boost/config.hpp>
0012 
0013 #include <cstddef>
0014 
0015 namespace boost {
0016 namespace mysql {
0017 namespace detail {
0018 
0019 // All scrambles in all the plugins we know have this size
0020 BOOST_INLINE_CONSTEXPR std::size_t scramble_size = 20u;
0021 
0022 // Hashed passwords vary in size, but they all fit in a buffer like this
0023 BOOST_INLINE_CONSTEXPR std::size_t max_hash_size = 32u;
0024 
0025 }  // namespace detail
0026 }  // namespace mysql
0027 }  // namespace boost
0028 
0029 #endif