plpks_get_maxpwsize(9)
π
plpks_get_maxpwsize(9) β the plpks kernel API manual, bestie edition π
okay so this is a page from the Kernel API Manual (the plpks corner of it) and it's literally about getting the maximum password size. that's the whole vibe. let's go π«Ά
β¨ NAME β¨
plpks_get_maxpwsize β Get the maximum password size.
like... it gets the maximum password size. that's her whole job. icon behavior honestly π
πΈ SYNOPSIS πΈ
u16 plpks_get_maxpwsize (void );
she takes nothing, she returns a u16. lowkey the easiest relationship you'll ever be in π
π ARGUMENTS π
voidβ no arguments. none. zero. not a single one. she doesn't need your input, she's booked and busy β¨
π¦ DESCRIPTION π¦
so here's the lore π: during initialization, when the H_PKS_GET_CONFIG HCALL runs successfully, it reads the maximum password size. then it checks that it's 32 bytes at the least β like a little vibe check on the number π β and then it stores it in the local static maxpwsize variable.
so yeah: successful H_PKS_GET_CONFIG HCALL at init time β read the max password size β confirm it's at least 32 bytes β stash it in the static maxpwsize. that's the whole pipeline, no cap π₯
β RETURN β
- On success, the maximum password size is returned π«
0if not π
π SEE ALSO π
the kernel file lives at ./arch/powerpc/platforms/pseries/plpks.c β go read her, she's iconic π
and then the whole friend group, fr fr:
plpks_get_version(9)plpks_get_objoverhead(9)plpks_get_maxobjectsize(9)plpks_get_maxobjectlabelsize(9)plpks_get_totalsize(9)plpks_get_usedspace(9)plpks_get_supportedpolicies(9)plpks_get_maxlargeobjectsize(9)plpks_get_signedupdatealgorithms(9)plpks_get_wrappingfeatures(9)plpks_get_passwordlen(9)plpks_is_available(9)plpks_signed_update_var(9)plpks_write_var(9)plpks_remove_var(9)plpks_wrapping_is_supported(9)plpks_gen_wrapping_key(9)plpks_wrap_object(9)plpks_unwrap_object(9)plpks_read_os_var(9)plpks_read_fw_var(9)plpks_read_bootloader_var(9)plpks_populate_fdt(9)plpks_early_init_devtree(9)
π reminder bestie:H_PKS_GET_CONFIGhas to actually succeed during init for any of this to have happened β otherwise the staticmaxpwsizeisn't getting that cute little store, and you get a0back. no drama, just facts π§
and that's the page!! sourced from ./arch/powerpc/platforms/pseries, dated October 2026 β mwah, she ate, periodt π
πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms