lib/sw_services/xilnvm/examples/xilnvm_efuse_versal_client_example.c
static int XilNvm_ValidateIvString(const char *IvStr)
{
	int Status = XST_FAILURE;

	if(NULL == IvStr) {
		goto END;
	}

	if (strnlen(IvStr, XNVM_IV_STRING_LEN) == XNVM_IV_STRING_LEN) {
		Status = XST_SUCCESS;
	}

END:
	return Status;
}
/******************************************************************************/
/**
 * Validate the input string contains valid IV String
 *
 * @param	IvStr - Pointer to Iv String
 *
 * @return
 *	XST_SUCCESS	- On valid input IV string
 *	XST_INVALID_PARAM - On invalid length of the input string
 *
 ******************************************************************************/
Validate the input string contains valid IV String
@param       IvStr - Pointer to Iv String

@return
XST_SUCCESS     - On valid input IV string
XST_INVALID_PARAM - On invalid length of the input string
Validate the input string contains valid IV String @param IvStr - Pointer to Iv String @return XST_SUCCESS - On valid input IV string XST_INVALID_PARAM - On invalid length of the input string
static int XilNvm_ValidateIvString(const char *IvStr)
{
	int Status = XST_FAILURE;
	if(NULL == IvStr) {
		goto END;
	}
	if (strnlen(IvStr, XNVM_IV_STRING_LEN) == XNVM_IV_STRING_LEN) {
		Status = XST_SUCCESS;
	}
END:
	return Status;
}
static int XilNvm_ValidateIvString ( const char * IvStr ) { int Status = XST_FAILURE ; if ( NULL == IvStr ) { goto END ; } if ( strnlen ( IvStr , XNVM_IV_STRING_LEN ) == XNVM_IV_STRING_LEN ) { Status = XST_SUCCESS ; } END : return Status ; }
Validate the input string contains valid IV String
 @param       IvStr - Pointer to Iv String
Validate the input string contains valid IV String @param IvStr - Pointer to Iv String