rsa.c: Factor out constructing the EMSA-PKCS1 message representative.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 25 Jul 2013 17:30:46 +0000 (18:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 Jul 2013 17:30:46 +0000 (18:30 +0100)
commit2cd2cf055c0c424f60751f7ac4007771e377f262
tree4606f40c7906ca091fd12d655620b8b4a421fcbf
parent104e8e74fd858a4efff3d8e186406adc431465fa
rsa.c: Factor out constructing the EMSA-PKCS1 message representative.

This was done in two different places for no reason I could understand.
Replace them both with a single implementation.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
rsa.c