def do_it(scheme, texname, precomp_bitslicing, use_hardware_crypto, f):
    print(f'% {scheme}', file=f)
    logs = run(scheme, precomp_bitslicing, use_hardware_crypto)
    e([logs[0]], f, f'{texname}Keygen', 'keypair stack usage:')
    e(logs, f, f'{texname}Sign', 'sign stack usage:')
    e(logs, f, f'{texname}Verify', 'verify stack usage:')
def do_it(scheme, texname, precomp_bitslicing, use_hardware_crypto, f):
    print(f'% {scheme}', file=f)
    logs = run(scheme, precomp_bitslicing, use_hardware_crypto)
    e([logs[0]], f, f'{texname}Keygen', 'keypair stack usage:')
    e(logs, f, f'{texname}Sign', 'sign stack usage:')
    e(logs, f, f'{texname}Verify', 'verify stack usage:')