agent: Allow only specific digest size for ECDSA.