mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-01-24 08:30:41 +00:00
Correct parameter name typo
Signed-off-by: Jeremy Liu <liujiong@gohighsec.com>
This commit is contained in:
parent
a85b7d2823
commit
36bfbb7432
@ -86,7 +86,7 @@ TPM_RESULT SWTPM_SymmetricKeyData_Encrypt(unsigned char **encrypt_data, /* out
|
||||
if (rc == 0) {
|
||||
if (u_ivec != NULL && u_ivec_length != userKeyLength) {
|
||||
printf("TPM_SymmetricKeyData_Encrypt: IV is %u bytes, "
|
||||
"but expected %u bytes\n", ivec_length,
|
||||
"but expected %u bytes\n", u_ivec_length,
|
||||
tpm_symmetric_key_token->userKeyLength);
|
||||
rc = TPM_ENCRYPT_ERROR;
|
||||
} else {
|
||||
@ -189,7 +189,7 @@ TPM_RESULT SWTPM_SymmetricKeyData_Decrypt(unsigned char **decrypt_data, /* out
|
||||
if (rc == 0) {
|
||||
if (u_ivec != NULL && u_ivec_length != userKeyLength) {
|
||||
printf("TPM_SymmetricKeyData_Decrypt: IV is %u bytes, "
|
||||
"but expected %u bytes\n", ivec_length, userKeyLength);
|
||||
"but expected %u bytes\n", u_ivec_length, userKeyLength);
|
||||
rc = TPM_DECRYPT_ERROR;
|
||||
} else {
|
||||
if (u_ivec) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user