Home
last modified time | relevance | path

Searched refs:pwmp (Results 1 – 1 of 1) sorted by relevance

/openbmc/pam-ipmi/src/pam_ipmisave/
H A Dpam_ipmisave.c298 metapassstruct pwmp = { META_PASSWD_SIG, { 0, 0 }, .0, 0, 0, 0, 0 }; in update_pass_special_file() local
544 pwmp.hashsize = EVP_MD_block_size(digest); in update_pass_special_file()
545 pwmp.ivsize = EVP_CIPHER_iv_length(cipher); in update_pass_special_file()
546 pwmp.datasize = writtensize; in update_pass_special_file()
547 pwmp.padsize = pwctextlen - writtensize; in update_pass_special_file()
548 pwmp.macsize = maclen; in update_pass_special_file()
552 if (fwrite(&pwmp, 1, sizeof(pwmp), pwfile) != sizeof(pwmp)) { in update_pass_special_file()
556 if (fwrite(hash, 1, pwmp.hashsize, pwfile) != pwmp.hashsize) { in update_pass_special_file()
560 if (fwrite(iv, 1, pwmp.ivsize, pwfile) != pwmp.ivsize) { in update_pass_special_file()