sha256_aux.hpp
Go to the documentation of this file.
Definition: sha256_aux.hpp:82
blueprint_linear_combination< FieldType > B
Definition: sha256_aux.hpp:88
blueprint_linear_combination< FieldType > C
Definition: sha256_aux.hpp:89
XOR3_component(blueprint< FieldType > &bp, const blueprint_linear_combination< FieldType > &A, const blueprint_linear_combination< FieldType > &B, const blueprint_linear_combination< FieldType > &C, bool assume_C_is_zero, const blueprint_linear_combination< FieldType > &out)
Definition: sha256_aux.hpp:93
bool assume_C_is_zero
Definition: sha256_aux.hpp:90
void generate_r1cs_constraints()
Definition: sha256_aux.hpp:106
void generate_r1cs_witness()
Definition: sha256_aux.hpp:119
blueprint_linear_combination< FieldType > A
Definition: sha256_aux.hpp:87
blueprint_linear_combination< FieldType > out
Definition: sha256_aux.hpp:91
Definition: sha256_aux.hpp:188
void generate_r1cs_constraints()
Definition: sha256_aux.hpp:218
std::vector< std::shared_ptr< XOR3_component< FieldType > > > compute_bits
Definition: sha256_aux.hpp:195
std::shared_ptr< packing_component< FieldType > > pack_result
Definition: sha256_aux.hpp:196
big_sigma_component(blueprint< FieldType > &bp, const blueprint_linear_combination_vector< FieldType > &W, const blueprint_variable< FieldType > &result, std::size_t rot1, std::size_t rot2, std::size_t rot3)
Definition: sha256_aux.hpp:198
blueprint_variable_vector< FieldType > result_bits
Definition: sha256_aux.hpp:194
void generate_r1cs_witness()
Definition: sha256_aux.hpp:226
Definition: blueprint_linear_combination.hpp:115
Definition: blueprint_linear_combination.hpp:47
Definition: blueprint_variable.hpp:57
void allocate(blueprint< field_type > &bp, const std::size_t n)
Definition: blueprint_variable.hpp:91
Definition: blueprint_variable.hpp:46
void allocate(blueprint< FieldType > &bp)
Definition: blueprint_variable.hpp:51
Definition: blueprint.hpp:46
Definition: sha256_aux.hpp:237
blueprint_linear_combination_vector< FieldType > Y
Definition: sha256_aux.hpp:243
void generate_r1cs_constraints()
Definition: sha256_aux.hpp:260
std::shared_ptr< packing_component< FieldType > > pack_result
Definition: sha256_aux.hpp:246
choice_component(blueprint< FieldType > &bp, const blueprint_linear_combination_vector< FieldType > &X, const blueprint_linear_combination_vector< FieldType > &Y, const blueprint_linear_combination_vector< FieldType > &Z, const blueprint_variable< FieldType > &result)
Definition: sha256_aux.hpp:248
blueprint_variable< FieldType > result
Definition: sha256_aux.hpp:245
blueprint_linear_combination_vector< FieldType > X
Definition: sha256_aux.hpp:242
void generate_r1cs_witness()
Definition: sha256_aux.hpp:272
blueprint_linear_combination_vector< FieldType > Z
Definition: sha256_aux.hpp:244
Definition: component.hpp:37
Definition: sha256_aux.hpp:40
std::size_t X_bits
Definition: sha256_aux.hpp:43
void generate_r1cs_witness()
Definition: sha256_aux.hpp:75
blueprint_variable< FieldType > result
Definition: sha256_aux.hpp:44
void generate_r1cs_constraints()
Definition: sha256_aux.hpp:70
blueprint_linear_combination_vector< FieldType > result_bits
Definition: sha256_aux.hpp:45
lastbits_component(blueprint< FieldType > &bp, const blueprint_variable< FieldType > &X, std::size_t X_bits, const blueprint_variable< FieldType > &result, const blueprint_linear_combination_vector< FieldType > &result_bits)
Definition: sha256_aux.hpp:51
std::shared_ptr< packing_component< FieldType > > unpack_bits
Definition: sha256_aux.hpp:48
blueprint_variable< FieldType > X
Definition: sha256_aux.hpp:42
blueprint_linear_combination_vector< FieldType > full_bits
Definition: sha256_aux.hpp:47
std::shared_ptr< packing_component< FieldType > > pack_result
Definition: sha256_aux.hpp:49
Definition: sha256_aux.hpp:284
blueprint_variable< FieldType > result
Definition: sha256_aux.hpp:293
blueprint_linear_combination_vector< FieldType > X
Definition: sha256_aux.hpp:290
blueprint_linear_combination_vector< FieldType > Z
Definition: sha256_aux.hpp:292
majority_component(blueprint< FieldType > &bp, const blueprint_linear_combination_vector< FieldType > &X, const blueprint_linear_combination_vector< FieldType > &Y, const blueprint_linear_combination_vector< FieldType > &Z, const blueprint_variable< FieldType > &result)
Definition: sha256_aux.hpp:295
blueprint_linear_combination_vector< FieldType > Y
Definition: sha256_aux.hpp:291
void generate_r1cs_witness()
Definition: sha256_aux.hpp:321
void generate_r1cs_constraints()
Definition: sha256_aux.hpp:306
Definition: packing.hpp:57
Definition: sha256_aux.hpp:139
small_sigma_component(blueprint< FieldType > &bp, const blueprint_variable_vector< FieldType > &W, const blueprint_variable< FieldType > &result, std::size_t rot1, std::size_t rot2, std::size_t shift)
Definition: sha256_aux.hpp:149
void generate_r1cs_constraints()
Definition: sha256_aux.hpp:169
std::shared_ptr< packing_component< FieldType > > pack_result
Definition: sha256_aux.hpp:147
blueprint_variable_vector< FieldType > result_bits
Definition: sha256_aux.hpp:145
void generate_r1cs_witness()
Definition: sha256_aux.hpp:177
std::vector< std::shared_ptr< XOR3_component< FieldType > > > compute_bits
Definition: sha256_aux.hpp:146
Definition: pair.hpp:31
Definition: r1cs.hpp:60