Struct ChaChaSIMDInitResult

Struct Documentation

struct ChaChaSIMDInitResult

Result from the runtime dispatch initialization for ChaChaSIMD.

Public Types

using matrix_type = std::array<std::uint32_t, 16>
using next_block_fn = matrix_type (*)(void*) noexcept
using get_state_fn = matrix_type (*)(const void*, bool) noexcept
using set_state_fn = void (*)(void*, const matrix_type&) noexcept
using get_cache_index_fn = std::uint8_t (*)(const void*) noexcept

Public Members

next_block_fn next_block
get_state_fn get_state
set_state_fn set_state
get_cache_index_fn get_cache_index
std::size_t simd_size