Remove the stems from the dried chillies and slit the chillies lengthways with a sharp knife. Discard the seeds and soak the chillies in hot water for 1–2 minutes, or until soft. Drain and roughly chop.
Using a mortar and pestle, pound the chillies, lemongrass, galangal and lime skin or leaves into a paste. Add the remaining ingredients and pou