password_util: rename to tpm2_password_util
Rename password_util and routines to be compliant with coding standard. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_password_util: add from optarg handler
Add a routine for replacing the remaining tpm2_password_util routines. The new routine will be used to handle optarg directly, and avoid the need of the -X argument. Also add tests. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_create: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Update the manpage to include new string password formating options. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_createprimary: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_load: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_quote: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_takeownership: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_getpubek: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_getpubak: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_activatecredential: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_nvread: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_nvreadlock: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_nvwrite: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_nvdefine: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_nvrelease: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_hmac: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_certify: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_encryptdecrypt: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_evictcontrol: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_rsadecrypt: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_sign: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_unseal: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_dictionarylockout: switch to use tpm2_password_util_from_optarg
Drop the -X argument and use tpm2_password_util_from_optarg. Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_password_util: drop unused routines
Signed-off-by: William Roberts <william.c.roberts@intel.com>
tpm2_readpublic.c: drop unused include
Signed-off-by: William Roberts <william.c.roberts@intel.com>