bc-java icon indicating copy to clipboard operation
bc-java copied to clipboard

Abstract core KEM functionality out of DHKEM

Open jmcrawford45 opened this issue 9 months ago • 0 comments

Hi, I'd like to be able to use HPKE with alternative KEMs, but it's currently not usable because there's no public facing KEM abstraction and HPKE currently hard codes the initial set from RFC9180. To accomplish this, I've pulled the public functions from DHKEM into the KEM abstract class, modified HPKE to use a KEM instead, and added a new constructor that doesn't require an RFC9180 KEM.

jmcrawford45 avatar May 15 '24 21:05 jmcrawford45