Devessier / ssl

Clone of openssl in C for 42 School
GNU General Public License v3.0
0 stars 0 forks source link

Dispatch commands to matching algorithm #3

Closed Devessier closed 3 years ago

Devessier commented 3 years ago

According to the selected subcommand, we must launch the corresponding algorithm.

For that we keep an array of structs containing the name of the algorithm and a pointer to a function launching this algorithm.

We will have to write things properly to have functions with the same inputs and the same outputs.