Is my boyfriend or his friend in the wrong for calling me a w**re?

So my boyfriend n me r having issues with each other. He was hanging out with his friends n his friend called me a w**re he told me about this n I called out his friend in saying me that n my boyfriend knew so he's now saying that i broke out privacy by talking to the and what else we talk about n why do i have to talk to another guy he's completely focused on the fact that I spoke to guy rather than i stood up for myself he's blaming me saying i broke privacy n he's questioning me that what else have talk about when we talk asking me date n time n cross checking them with his friend

Updates
11 h
Well my boyfriend's friend called a whore so I called his friend and asked why he behaved this way and what's the reason to use such vulgar vocabulary. And my boyfriend came to know about this conversation now rather than focusing on the fact that his friend was disrespectful he was asking me questions like why should u talk to him? When did u talk what time what date? Did u two discussed about me? And he blamed me that I told our private conversation to his friend
Is my boyfriend or his friend in the wrong for calling me a w**re?
Post Opinion