Merge "Update documentation for AES-GCM-ESP keymat length"

This commit is contained in:
Benedict Wong
2017-11-08 17:47:40 +00:00
committed by Gerrit Code Review

View File

@@ -78,7 +78,11 @@ public final class IpSecAlgorithm implements Parcelable {
/** /**
* AES-GCM Authentication/Integrity + Encryption/Ciphering Algorithm. * AES-GCM Authentication/Integrity + Encryption/Ciphering Algorithm.
* *
* <p>Valid lengths for this key are {128, 192, 256}. * <p>Valid lengths for keying material are {160, 224, 288}.
*
* <p>As per RFC4106 (Section 8.1), keying material consists of a 128, 192, or 256 bit AES key
* followed by a 32-bit salt. RFC compliance requires that the salt must be unique per
* invocation with the same key.
* *
* <p>Valid ICV (truncation) lengths are {64, 96, 128}. * <p>Valid ICV (truncation) lengths are {64, 96, 128}.
*/ */