Searched defs:mpk (Results 1 - 2 of 2) sorted by relevance

/systemd/src/journal/
H A Dfsprg.c254 void FSPRG_GenMK(void *msk, void *mpk, const void *seed, size_t seedlen, unsigned _secpar) { argument
279 if (mpk) {
284 store_secpar(mpk + 0, secpar);
285 mpi_export(mpk + 2, secpar / 8, n);
294 void FSPRG_GenState0(void *state, const void *mpk, const void *seed, size_t seedlen) { argument
300 secpar = read_secpar(mpk + 0);
301 n = mpi_import(mpk + 2, secpar / 8);
304 memcpy(state, mpk, 2 + secpar / 8);
H A Djournalctl.c1500 uint8_t *mpk, *seed, *state; local
1549 mpk = alloca(mpk_size);
1571 FSPRG_GenMK(NULL, mpk, seed, seed_size, FSPRG_RECOMMENDED_SECPAR);
1574 FSPRG_GenState0(state, mpk, seed, seed_size);

Completed in 1504 milliseconds