I have been reading about differential and linear cryptanalysis. They were mainly introduced by Adi Shamir and Biham to show weakness of DES. However, many of articles state that they have been considered as a technique to evaluate all other block ciphers. My question is, are they beneficial for public key cryptography? or are they limited to private key schemes ?