s2n-quic icon indicating copy to clipboard operation
s2n-quic copied to clipboard

Use scatter api in fips mode

Open toidiu opened this issue 1 year ago • 0 comments

Problem:

We enabled fips crypto in PR by using the aws-lc-rs type TlsRecordSealingKey.seal_in_place_separate_tag.

In non-fips mode we use LessSafeKey.seal_in_place_scatter which resulted in an 8% efficiency gain. We should work with aws-lc-rs to add the scatter encrypt call to the TlsRecordSealingKey struct

toidiu avatar May 21 '24 18:05 toidiu