How to trim luks encrypted device?

Yes I did but I thought that:
If I use encrypt hook then I should use allow-discards
And if I use sd-encrypt hook then I should use rd.luks.options=discard

But you said

So I assume that it doesn’t matter what I put into my mkinitcpio (encrypt or sd-encrypt) because it’s not affect boot loader entry
Am I right?