PandA-2024.02
|
Go to the source code of this file.
Macros | |
#define | nrRounds 24 |
#define | GET_KRC_VAL(index) (KeccakRoundConstants[index]) |
#define | nrLanes 25 |
#define | index(x, y) (((x)%5)+5*((y)%5)) |
#define | ROL64(a, offset) ((offset != 0) ? ((((UINT64)a) << offset) ^ (((UINT64)a) >> (64-offset))) : a) |
Typedefs | |
typedef unsigned char | UINT8 |
typedef unsigned long long int | UINT64 |
Functions | |
void | theta (UINT64 *A) |
void | rho (UINT64 *A) |
void | pi (UINT64 *A) |
void | chi (UINT64 *A) |
void | iota (UINT64 *A, unsigned int indexRound) |
void | kekka_coproc (UINT64 A[25]) |
Variables | |
static UINT64 | KeccakRoundConstants [nrRounds] |
static unsigned char | KeccakRhoOffsets [nrLanes] |
#define GET_KRC_VAL | ( | index | ) | (KeccakRoundConstants[index]) |
Definition at line 74 of file Keccak.c.
Referenced by _DEFUN(), level_constructor::add(), conn_binding::add_command_ports(), tree_manager::add_function(), BasicBlocksGraphConstructor::add_vertex(), RawGraph::AddVertex(), graphs_collection::AddVertex(), undirected_graphs_collection::AddVertex(), Bit_Value::backward_transfer(), reg_binding::bind(), fu_binding::bind(), bricks_initialization(), dom_info< GraphObj >::calc_dfs_tree(), InterfaceInfer::ChasePointerInterfaceRecurse(), check_printf(), chi(), CreateAddressTranslation::ComputeAddress(), meilp_solver::copy(), port_o::copy(), mux_connection_binding::create_connections(), tree_manipulation::create_gimple_call(), tree_manipulation::CreateCallExpr(), Loops::DetectLoops(), Schedule::EvaluateCondsMerging(), pragma_manager::ExtractClauses(), fu_binding::fill_array_ref_memory(), memory_allocation::finalize_memory_allocation(), Bit_Value::forward_transfer(), fu_binding::get(), get_dht(), AugmentedVector< T >::get_min(), AugmentedVector< T >::get_min_max(), BehavioralHelper::get_pointed_type(), Schedule::get_spec(), ModuleGeneratorManager::get_specialized_name(), AugmentedVector< T >::get_sum(), BehavioralHelper::GetElements(), AllocationInformation::GetNodeTypePrec(), pragma_manager::GetOmpPragmaType(), PhiOpNode::getSource(), LoadOpNode::getSource(), BehavioralHelper::GetVarFromSsa(), init_stack_free_list(), init_tree_free_list(), AllocationInformation::InitializeDSPDB(), OpOrderComputation::InternalExec(), BBOrderComputation::InternalExec(), TasteInterfaceGeneration::InternalExec(), SwitchFix::InternalExec(), BuildVirtualPhi::InternalExec(), rebuild_initialization::InternalExec(), MultipleEntryIfReduction::InternalExec(), cdfc_module_binding::InternalExec(), iota(), chordal_coloring_register::lex_compare_gt(), rebuild_initialization2::look_for_ROMs(), Bit_Value::lsb_to_zero(), main(), manage_brick_collision(), mmult(), AugmentedVector< T >::normalize(), std_var_pp_functor::operator()(), pointer_var_pp_functor::operator()(), isolated_var_pp_functor::operator()(), Bit_Value_opt::optimize(), pi(), Bit_Value::pointer_resizing(), xml_text_node::print(), AllocationInformation::print(), lut_transformation::ProcessBasicBlock(), register_obj::register_obj(), AugmentedVector< T >::remove(), RawGraph::RemoveVertex(), graphs_collection::RemoveVertex(), undirected_graphs_collection::RemoveVertex(), rho(), InterfaceInfer::setReadInterface(), InterfaceInfer::setWriteInterface(), fu_binding::specialise_fu(), structural_type_descriptor::structural_type_descriptor(), theta(), Vectorize::Transform(), virtual_phi_nodes_split::virtual_split_phi(), fu_binding::write_init(), and verilog_writer::write_vector_port_binding().
#define nrRounds 24 |
Definition at line 14 of file Keccak.c.
Referenced by keccak_coproc(), and kekka_coproc().
void chi | ( | UINT64 * | A | ) |
Definition at line 113 of file Keccak.c.
Referenced by keccak_coproc(), and kekka_coproc().
void iota | ( | UINT64 * | A, |
unsigned int | indexRound | ||
) |
Definition at line 126 of file Keccak.c.
References GET_KRC_VAL, and index.
Referenced by keccak_coproc(), and kekka_coproc().
void kekka_coproc | ( | UINT64 | A[25] | ) |
void pi | ( | UINT64 * | A | ) |
Definition at line 102 of file Keccak.c.
Referenced by mux_connection_binding::create_connections(), keccak_coproc(), kekka_coproc(), port_o::resize_if_busport(), and port_o::resize_std_port().
void rho | ( | UINT64 * | A | ) |
Definition at line 94 of file Keccak.c.
References index, KeccakRhoOffsets, ROL64, and x.
Referenced by keccak_coproc(), and kekka_coproc().
void theta | ( | UINT64 * | A | ) |
Definition at line 77 of file Keccak.c.
References C, D, index, ROL64, and x.
Referenced by keccak_coproc(), and kekka_coproc().
|
static |