diff options
author | Sagar Srivastav <sagsriva@cisco.com> | 2016-11-29 19:39:07 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-12-09 20:12:55 +0000 |
commit | b4bc55b9d7c0b2880d562f7dee3680ced52ecf65 (patch) | |
tree | 31d0cd3530879d9f80936e52313610c82bb33ba4 /plugins/ioam-plugin/ioam/lib-pot/pot.api | |
parent | d24625fbd1775a45ed0f262faf62cb6452aabb45 (diff) |
ioam: pot plugin - pot profile read API
Addition of read API to ioam-pot plugin which returns the current
pot profile(s) configured
Change-Id: I188e53811391e053860009dde3719612a2446521
Signed-off-by: Sagar Srivastav <sagsriva@cisco.com>
Diffstat (limited to 'plugins/ioam-plugin/ioam/lib-pot/pot.api')
-rw-r--r-- | plugins/ioam-plugin/ioam/lib-pot/pot.api | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/plugins/ioam-plugin/ioam/lib-pot/pot.api b/plugins/ioam-plugin/ioam/lib-pot/pot.api index 7fd06b512f2..fa2fc126b7e 100644 --- a/plugins/ioam-plugin/ioam/lib-pot/pot.api +++ b/plugins/ioam-plugin/ioam/lib-pot/pot.api @@ -95,3 +95,39 @@ define pot_profile_del_reply { u32 context; i32 retval; }; + +/** \brief Show POT Profiles + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param id - id of the profile +*/ +define pot_profile_show_config_dump { + u32 client_index; + u32 context; + u8 id; +}; + +/** \brief Show POT profile reply + @param id - id of the profile + @param validator - True/False to indicate if this is verifier + @param secret_key - Verification key + @param secret_share - Share of the 1st polynomial + @param prime - Prime number used for modulo operation + @param max_bits - Max bits to be used for Random number generation + @param lpc - Lagrange basis polynomial + @param polynomial_public - pre-evaluated public polynomial + @param list_name_len - length of the name of this profile list + @param list_name - name of this profile list +*/ +define pot_profile_show_config_details { + u32 context; + i32 retval; + u8 id; + u8 validator; + u64 secret_key; + u64 secret_share; + u64 prime; + u64 bit_mask; + u64 lpc; + u64 polynomial_public; +}; |