1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-11 16:18:06 -05:00
Simon Tatham 180d1b78de Extra helper functions for adding key_components.
In this commit, I provide further functions which generate the
existing set of data types:

 - key_components_add_text_pl() adds a text component, but takes a
   ptrlen rather than a const char *, in case that was what you
   happened to have already.

 - key_components_add_uint() ends up adding an mp_int to the
   structure, but takes it as input in the form of an ordinary C
   integer, for the convenience of call sites which will want to do
   that a lot and don't enjoy repeating the mp_int construction
   boilerplate

 - key_components_add_copy() takes a pointer to one of the
   key_component sub-structs in an existing key_components, and copies
   it into the output key_components under a new name, handling
   whatever type it turns out to have.
2022-04-24 08:39:04 +01:00
..
2022-01-29 18:36:48 +00:00
2021-11-30 18:42:21 +00:00
2021-04-19 17:14:01 +01:00
2022-04-24 08:38:27 +01:00
2021-10-10 14:55:15 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00