Commit ada225a
committed
Align wolfSSL_set1_groups_list() arg handling with OpenSSL
Align the argument parsing and handling of input group names to align it
with OpenSSL behavior:
* Do a case-insensitive comparison of the input names with our names
* Add aliases for "MLKEMxxx" groups without underscores in addition to
our names with underscores (keep our for backward compatibility)
* Extend unit tests for both1 parent 68381e0 commit ada225a
2 files changed
Lines changed: 28 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13910 | 13910 | | |
13911 | 13911 | | |
13912 | 13912 | | |
| 13913 | + | |
| 13914 | + | |
| 13915 | + | |
| 13916 | + | |
13913 | 13917 | | |
13914 | 13918 | | |
13915 | 13919 | | |
| |||
14008 | 14012 | | |
14009 | 14013 | | |
14010 | 14014 | | |
14011 | | - | |
| 14015 | + | |
14012 | 14016 | | |
14013 | 14017 | | |
14014 | 14018 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
169 | 192 | | |
170 | 193 | | |
171 | 194 | | |
| |||
0 commit comments