FD.io VPP  v16.06
Vector Packet Processing
scv_profile_ Struct Reference

Usage: More...

Data Fields

u16 id
 
u64 random
 
u8 validator
 
u64 secret_key
 
u64 secret_share
 
u64 prime
 
u64 lpc
 
u64 poly_pre_eval
 
u64 bit_mask
 
u64 limit
 
u64 validity
 
double primeinv
 

Detailed Description

Usage:

On any [service] node that participates in Service / Path verfication:

Step 1: Initialize this library by calling scv_init() Step 2: Setup a Service chain validation profile that contains all the parameters needed to compute cumulative: Call these functions: scv_profile_find scv_profile_create scv_profile_set_bit_mask - To setup how large we want the numbers used in the computation and random number <= 64 bits Step 2a: For validator do this: scv_set_validator Step 3a: At the initial Service node to generate Random number that will be read by all other nodes: scv_generate_random Step 3b: At all service nodes including initial and verifier call this to compute cumulative: scv_update_cumulative Step 4: At the verifier: scv_validate

Definition at line 55 of file scv_util.h.

Field Documentation

u64 scv_profile_::bit_mask

Definition at line 65 of file scv_util.h.

u16 scv_profile_::id

Definition at line 57 of file scv_util.h.

u64 scv_profile_::limit

Definition at line 66 of file scv_util.h.

u64 scv_profile_::lpc

Definition at line 63 of file scv_util.h.

u64 scv_profile_::poly_pre_eval

Definition at line 64 of file scv_util.h.

u64 scv_profile_::prime

Definition at line 62 of file scv_util.h.

double scv_profile_::primeinv

Definition at line 68 of file scv_util.h.

u64 scv_profile_::random

Definition at line 58 of file scv_util.h.

u64 scv_profile_::secret_key

Definition at line 60 of file scv_util.h.

u64 scv_profile_::secret_share

Definition at line 61 of file scv_util.h.

u8 scv_profile_::validator

Definition at line 59 of file scv_util.h.

u64 scv_profile_::validity

Definition at line 67 of file scv_util.h.


The documentation for this struct was generated from the following file: