Searched refs:secpar (Results 1 – 2 of 2) sorted by relevance
36 #define ISVALID_SECPAR(secpar) (((secpar) % 16 == 0) && ((secpar) >= 16) && ((secpar) <= 16384)) argument37 #define VALIDATE_SECPAR(secpar) assert(ISVALID_SECPAR(secpar)); argument152 …_t gensquare(const gcry_mpi_t n, const void *seed, size_t seedlen, uint32_t idx, unsigned secpar) { in gensquare() argument153 size_t buflen = secpar / 8; in gensquare()234 static void store_secpar(void *buf, uint16_t secpar) { in store_secpar() argument235 secpar = secpar / 16 - 1; in store_secpar()236 ((uint8_t*) buf)[0] = (secpar >> 8) & 0xff; in store_secpar()237 ((uint8_t*) buf)[1] = (secpar >> 0) & 0xff; in store_secpar()241 uint16_t secpar; in read_secpar() local242 secpar = in read_secpar()[all …]
38 size_t FSPRG_mskinbytes(unsigned secpar) _const_;39 size_t FSPRG_mpkinbytes(unsigned secpar) _const_;40 size_t FSPRG_stateinbytes(unsigned secpar) _const_;43 void FSPRG_GenMK(void *msk, void *mpk, const void *seed, size_t seedlen, unsigned secpar);