1.1.6 Client - Anti Rollback APIs
This interface offers anti rollback support.
The WINCS02 device has an anti-rollback counter (ARB) which can be used to prevent vulnerable firmware from running on the device.
The value in the ARB is between 0 and 127 and can be increased but never decreased. If a firmware image has a security level which is lower than the value in the ARB, then that image will not boot.
The function WDRV_WINC_InfoAntiRollbackGet can be used to get the current value in the device's ARB and the current firmware's security level. If the device's ARB is lower than the firmware's security level, then consider increasing the value in the device's ARB to improve the security of the device.
For information about the security benefits of increasing the device's ARB, refer to WINCS02 device firmware release notes at https://www.microchip.com/en-us/software-library/wincs02-firmware.
The function WDRV_WINC_AntiRollbackSet can be used to increase the value in the device's ARB.
CAUTION:
If the device has an image present in the alternate NVM partition, be aware that increasing the device's ARB may invalidate that image.
