Okay, let's say I was designing my own cryptographic protocol.
Yeah, I know, "don't roll your own crypto", yada yada yada
Purely theoretically, as a thought experiment
What are the downsides of using three-layered encryption on top of each other, consisting of: 1) stupidly large RSA, let's say RSA-8192; 2) elliptic curves; 3) one of the new post-quantum things that they all recommend?
Other than the answers already given: because factoring and the elliptic curve discrete log problem are both in a sense an instance of the abelian hidden subgroup problem, in practice most major developments attacking crypto on one problem have resulted in an analogous or copied solution for the other problem. As a result, there may be limited security utility to composing algorithms based on those two problems in particular when your concern is future cryptoanalysis developments.
Two things:
-Layering can be tricky, make sure you do it right.
-performance
But in general yes, most post quantum stuff is layering both the new pqc algo with a classical algo to get security of both.
Yes, and then actually then roll your own on top of that to really throw them for a loop :)
Now for my own question: how do they stack? e.g. 2 layers of RSA? (As a function of key size, e.g. 2x1024 = 2048?)
Or is the deeper point here that key size (and therefore stacking?) becomes irrelevant if a weakness is discovered from the math side of things?
Hybrid schemes are already being standardized in TLS and SSH. Example: https://www.rfc-editor.org/info/rfc10042/