include/mpin.h.in [156:177]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /** @brief Perform server side of the one-pass version of the M-Pin protocol * If Time Permits are disabled, set d = 0, and UT and HTID are not generated and can be set to NULL. If Time Permits are enabled, and PIN error detection is OFF, U and HID are not needed and can be set to NULL. If Time Permits are enabled, and PIN error detection is ON, U, UT, HID and HTID are all required. @param h is the hash type @param d is input date, in days since the epoch. Set to 0 if Time permits disabled @param HID is output H(ID), a hash of the client ID @param HTID is output H(ID)+H(d|H(ID)) @param y is output H(t|U) or H(t|UT) if Time Permits enabled @param SS is the input server secret @param U is input from the client = x.H(ID) @param UT is input from the client= x.(H(ID)+H(d|H(ID))) @param V is an input from the client @param E is an output to help the Kangaroos to find the PIN error, or NULL if not required @param F is an output to help the Kangaroos to find the PIN error, or NULL if not required @param ID is the input claimed client identity @param MESSAGE is the message to be signed @param t is input epoch time in seconds - a timestamp @param Pa is input from the client z.Q or NULL if the key-escrow less scheme is not used @return 0 or an error code */ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - include/mpin192.h.in [158:179]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /** @brief Perform server side of the one-pass version of the M-Pin protocol * If Time Permits are disabled, set d = 0, and UT and HTID are not generated and can be set to NULL. If Time Permits are enabled, and PIN error detection is OFF, U and HID are not needed and can be set to NULL. If Time Permits are enabled, and PIN error detection is ON, U, UT, HID and HTID are all required. @param h is the hash type @param d is input date, in days since the epoch. Set to 0 if Time permits disabled @param HID is output H(ID), a hash of the client ID @param HTID is output H(ID)+H(d|H(ID)) @param y is output H(t|U) or H(t|UT) if Time Permits enabled @param SS is the input server secret @param U is input from the client = x.H(ID) @param UT is input from the client= x.(H(ID)+H(d|H(ID))) @param V is an input from the client @param E is an output to help the Kangaroos to find the PIN error, or NULL if not required @param F is an output to help the Kangaroos to find the PIN error, or NULL if not required @param ID is the input claimed client identity @param MESSAGE is the message to be signed @param t is input epoch time in seconds - a timestamp @param Pa is input from the client z.Q or NULL if the key-escrow less scheme is not used @return 0 or an error code */ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -