def get_pwhash_bits(params):
if not "<STR_LIT>" in params ornot "<STR_LIT>" in params ornot "<STR_LIT>" in params ornot "<STR_LIT>" in params:<EOL><INDENT>raise Exception("<STR_LIT>")<EOL><DEDENT>pwhash = params["<STR_LIT>"][<NUM_LIT:0>]<EOL>nonce = params["<STR_LIT>"][<NUM_LIT:0>]<EOL>aead = params["<STR_LIT>"][<NUM_LIT:0>]<EOL>key_handle = pyhsm.util.key_handle_to_int(params["<STR_LIT>"][<NUM_LIT:0>])<EOL>return pwhash, nonce, aead, key_handle<EOL>
Extract bits for password hash validation from params.