Long Exposure Noise Reduction with RAW

Edit My Images
I am wanting to know if LENR works on RAW files.

I know that it works on jpg by taking a second shot afterwards to use as a template to subtract the noise from the first. This is called BFS black frame subtraction.

But I find conflicting info about its use on RAW.
So my question is, does it work on RAW and if not does that mean you would be better off shooting jpg so that this feature cN be used.

The other in camera noise reduction High ISO Noise Reduction apparently and defiantly only works on jpg.