You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BaseError::BadContext => write!(f,"A context structure is bad."),
53
+
BaseError::AbiMismatch => write!(
54
+
f,
55
+
"Passed in ABI version doesn't match called module's ABI version."
56
+
),
57
+
BaseError::BadReference => {
58
+
write!(f,"A pointer is NULL that isn't allowed to be NULL.")
59
+
}
60
+
BaseError::InsufficientBuffer => write!(f,"A buffer isn't large enough."),
61
+
BaseError::BadSequence => write!(f,"Function called in the wrong order."),
62
+
BaseError::NoConnection => write!(f,"Fails to connect to next lower layer."),
63
+
BaseError::TryAgain => write!(
64
+
f,
65
+
"Operation timed out; function must be called again to be completed."
66
+
),
67
+
BaseError::IoError => write!(f,"IO failure."),
68
+
BaseError::BadValue => write!(f,"A parameter has a bad value."),
69
+
BaseError::NotPermitted => write!(f,"Operation not permitted."),
70
+
BaseError::InvalidSessions => write!(
71
+
f,
72
+
"The TPM command doesn't use the number of sessions provided by the caller."
73
+
),
74
+
BaseError::NoDecryptParam => write!(f,"A session with decrypt set in its SessionAttributes (TPMA_SESSION_DECRYPT bit set) was passed to a TPM command that doesn't support encryption of the first command parameter."),
75
+
BaseError::NoEncryptParam => write!(f,"A session with encrypt set in its SessionAttributes (TPMA_SESSION_ENCRYPT bit set) was passed to a TPM command that doesn't support encryption of the first response parameter."),
76
+
BaseError::BadSize => write!(f,"Size of a parameter is incorrect."),
77
+
BaseError::MalformedResponse => write!(f,"Response is malformed."),
78
+
BaseError::InsufficientContext => write!(f,"Context not large enough."),
79
+
BaseError::InsufficientResponse => write!(f,"Response is not long enough."),
80
+
BaseError::IncompatibleTcti => write!(f,"Unknown or unusable TCTI version."),
81
+
BaseError::NotSupported => write!(f,"Functionality not supported."),
82
+
BaseError::BadTctiStructure => write!(f,"TCTI context is bad."),
0 commit comments