Weijun Wang

Results 75 comments of Weijun Wang

I see there is a `COPYING` file in the same directory as the header files. Does it need any update?

If the upstream file hasn’t changed, that’s fine. I was just curious why the year included (for Ludovic) hasn’t been updated as well.

/label remove core-libs /label remove hotspot-runtime

One use case for this method is HPKE key export. Obviously, the exported key won't have algorithm name being "HPKE".

I don't know if any AES cipher defines an export function. As I said earlier the reason I introduce this method is for HPKE. In HPKE, the cipher algorithm name...

In fact, the original definition of export function returns a byte array. I choose the SecretKey return type here simply because it could be non extractable. I am now wondering...

I don't think it's worth inventing a new cryptographic engine for HPKE and it _is_ a cipher. ``` var g = KeyPairGenerator.getInstance("X25519"); var kp = g.generateKeyPair(); var sender = Cipher.getInstance("HPKE");...