FYI, there's an open PR to add a stream module to the RustCrypto aead crate which StreamingAead could potentially benefit from:
RustCrypto/traits#436
In particular I think it'd be nice if rage and tink-rust could potentially share code, particularly around things like async and/or parallel stream readers/writers.
Anyway, heads up we're working on some common abstractions for this sort of thing and would love your input, in particular if you think it would be helpful for things like StreamingAead, and if you have any concerns about the proposed design.
I think age and Tink (in all forms) might also use a common "flavor" of STREAM, although I haven't confirmed that.
Sidebar: STREAM isn't actually OAE2, but rather "nonce-based OAE" (nOAE). CHAIN is required for OAE2. (Edit: I now see the noncebased streaming module, never mind)
FYI, there's an open PR to add a
streammodule to the RustCryptoaeadcrate whichStreamingAeadcould potentially benefit from:RustCrypto/traits#436
In particular I think it'd be nice if
rageandtink-rustcould potentially share code, particularly around things like async and/or parallel stream readers/writers.Anyway, heads up we're working on some common abstractions for this sort of thing and would love your input, in particular if you think it would be helpful for things like
StreamingAead, and if you have any concerns about the proposed design.I think
ageand Tink (in all forms) might also use a common "flavor" of STREAM, although I haven't confirmed that.Sidebar:
STREAM isn't actually OAE2, but rather "nonce-based OAE" (nOAE). CHAIN is required for OAE2. (Edit: I now see thenoncebasedstreaming module, never mind)