Searched refs:mpk (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/libsystemd/sd-journal/ |
D | fsprg.c | 248 void FSPRG_GenMK(void *msk, void *mpk, const void *seed, size_t seedlen, unsigned _secpar) { in FSPRG_GenMK() argument 273 if (mpk) { in FSPRG_GenMK() 278 store_secpar(mpk + 0, secpar); in FSPRG_GenMK() 279 mpi_export(mpk + 2, secpar / 8, n); in FSPRG_GenMK() 288 void FSPRG_GenState0(void *state, const void *mpk, const void *seed, size_t seedlen) { in FSPRG_GenState0() argument 294 secpar = read_secpar(mpk + 0); in FSPRG_GenState0() 295 n = mpi_import(mpk + 2, secpar / 8); in FSPRG_GenState0() 298 memcpy(state, mpk, 2 + secpar / 8); in FSPRG_GenState0()
|
D | fsprg.h | 43 void FSPRG_GenMK(void *msk, void *mpk, const void *seed, size_t seedlen, unsigned secpar); 49 void FSPRG_GenState0(void *state, const void *mpk, const void *seed, size_t seedlen);
|
/systemd-251/src/journal/ |
D | journalctl.c | 1861 uint8_t *mpk, *seed, *state; in setup_keys() local 1903 mpk = alloca_safe(mpk_size); in setup_keys() 1917 FSPRG_GenMK(NULL, mpk, seed, seed_size, FSPRG_RECOMMENDED_SECPAR); in setup_keys() 1920 FSPRG_GenState0(state, mpk, seed, seed_size); in setup_keys()
|