A new analysis of the McEliece cryptosystem based on QC-LDPC codes