Get keymap loaded before encrypt passwd at boot?

Shouldn’t the system know by now that the correct keyboard mapping ought to be loaded before needing an encryption password?

I don’t quite see anywhere in the /init.d and its scripts how I might influence the load order of this.

Grateful for any info please.