Ilford makes black and white paper for digital exposure as well. The spectral sensitivity data for that paper is based on an exposure time of 1/10,000 of a second.

I point that out as an example of where paper has been optimized for a particular exposure range.

So I would suggest to the OP that it is wise to do your best to keep exposures within a practical range of about 2 - 90 seconds.

And f/22 isn't usually the best aperture on a lens.