No! There is no way of getting HIV from doing this, you need infected blood to access your bloodstream in a fairly direct manner, only risks are:
Unprotected anal/vaginal sex
Sharing IV works
tested negative at 4 weeks,is it necessary to retest
No you didn't have a risk of snorting coke and contracting HIV.