Closed bwesterb closed 2 years ago
On the other hand, I think it's easier to implement something if you understand what it's doing. Specifically: it's helpful if an implementor can first implement and test the CPAPKE before moving on to Kyber proper.
I would avoid defining the CPA PKE at all in this document. Specifically, I would inline
CPAPKE_KeyGen
andCPAPKE_Dec
intoKeyGen
andDec
. I would then renameCPAPKE_Enc
to something likeInnerEnc
and describe it as a helper function for code that is shared betweenEnc
andDec
.