lib/sw_services/xilnvm/examples/xilnvm_efuse_versal_client_example.c
static int XilNvm_ValidateUserFuseStr(const char *UserFuseStr)
{
	int Status = XST_INVALID_PARAM;

	if(UserFuseStr != NULL) {
		if (strlen(UserFuseStr) % XNVM_EFUSE_ROW_STRING_LEN == 0x00U) {
			Status = XST_SUCCESS;
		}
	}

	return Status;
}
/******************************************************************************/
/**
 * This function is to validate the input User Fuse string
 *
 * @param   UserFuseStr - Pointer to User Fuse String
 *
 * @return
 *	- XST_SUCCESS - On valid input UserFuse string
 *	- XST_INVALID_PARAM - On invalid length of the input string
 ******************************************************************************/
This function is to validate the input User Fuse string
@param   UserFuseStr - Pointer to User Fuse String

@return
- XST_SUCCESS - On valid input UserFuse string
- XST_INVALID_PARAM - On invalid length of the input string
This function is to validate the input User Fuse string @param UserFuseStr - Pointer to User Fuse String @return - XST_SUCCESS - On valid input UserFuse string - XST_INVALID_PARAM - On invalid length of the input string
static int XilNvm_ValidateUserFuseStr(const char *UserFuseStr)
{
	int Status = XST_INVALID_PARAM;
	if(UserFuseStr != NULL) {
		if (strlen(UserFuseStr) % XNVM_EFUSE_ROW_STRING_LEN == 0x00U) {
			Status = XST_SUCCESS;
		}
	}
	return Status;
}
static int XilNvm_ValidateUserFuseStr ( const char * UserFuseStr ) { int Status = XST_INVALID_PARAM ; if ( UserFuseStr != NULL ) { if ( strlen ( UserFuseStr ) % XNVM_EFUSE_ROW_STRING_LEN == 0x00U ) { Status = XST_SUCCESS ; } } return Status ; }
This function is to validate the input User Fuse string
 @param   UserFuseStr - Pointer to User Fuse String
This function is to validate the input User Fuse string @param UserFuseStr - Pointer to User Fuse String