File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ std::shared_ptr<hashchain<FieldT, MT_root_type>> get_hashchain_internal(
58
58
{
59
59
return std::make_shared<blake2b_hashchain<FieldT, MT_root_type>>(security_parameter);
60
60
}
61
- throw std::invalid_argument (" bcs_hash_type unknown" );
61
+ throw std::invalid_argument (" bcs_hash_type unknown (blake2b hashchain) " );
62
62
}
63
63
64
64
@@ -80,7 +80,7 @@ std::shared_ptr<leafhash<FieldT, leaf_hash_type>> get_leafhash_internal(
80
80
{
81
81
return std::make_shared<blake2b_leafhash<FieldT>>(security_parameter);
82
82
}
83
- throw std::invalid_argument (" bcs_hash_type unknown" );
83
+ throw std::invalid_argument (" bcs_hash_type unknown (blake2b leaf hash) " );
84
84
}
85
85
86
86
/* Algebraic leafhash case */
@@ -125,7 +125,7 @@ two_to_one_hash_function<hash_type> get_two_to_one_hash_internal(
125
125
{
126
126
return blake2b_two_to_one_hash;
127
127
}
128
- throw std::invalid_argument (" bcs_hash_type unknown" );
128
+ throw std::invalid_argument (" bcs_hash_type unknown (blake2b two to one hash) " );
129
129
}
130
130
131
131
/* algebraic 2->1 hash */
@@ -174,7 +174,7 @@ cap_hash_function<hash_type> get_cap_hash_internal(
174
174
{
175
175
return blake2b_many_to_one_hash;
176
176
}
177
- throw std::invalid_argument (" bcs_hash_type unknown" );
177
+ throw std::invalid_argument (" bcs_hash_type unknown (blake2b cap hash) " );
178
178
}
179
179
180
180
/* Algebraic 2^n->1 hash. */
You can’t perform that action at this time.
0 commit comments