nn::fs::VerifySaveDataSecureValueLoosely Function
bool VerifySaveDataSecureValueLoosely(
bit64 value
);
| Name | Description | |
|---|---|---|
| in | value | The secure value to compare. |
SetSaveDataSecureValue function with the value specified for value and returns true if the values are the same. If the values are different, the function returns false. Performs the comparison with an application-linked, 64-bit value.
For downloadable applications, gets the 64-bit value from the save region in CRT System Memory that was written by the SetSaveDataSecureValue function, and compares this with value. The save region is unique to the application that called this function. The same application always references the same save region.
On factory default systems or systems that are initialized, the function returns TRUE regardless of the argument value for value, when this function is called before SetSaveDataSecureValue.
Also, this function returns TRUE immediately after repairs that include physically replacing the internal memory, or immediately after internal memory data is corrupted. For example, even if this function is called by using the value read from save data that was rewound by the user, it returns TRUE. In other words, the rewind may not be detected. In any case, if it is important to prevent rewinding of save data, use the VerifySaveDataSecureValue function instead.
When this function is called from a card application, it always returns TRUE.
This function cannot be used in combination with an overload that takes the mask argument of the SetSaveDataSecureValue function. Use this function with overloads that take only the value argument.
CONFIDENTIAL