Home | History | Annotate | Download | only in spec

Lines Matching refs:tLen

39  * <li>{@code tLen}: length (in bits) of authentication tag T</li>
54 * The GCM specification states that {@code tLen} may only have the
70 private int tLen;
76 * @param tLen the authentication tag length (in bits)
80 * @throws IllegalArgumentException if {@code tLen} is negative,
83 public GCMParameterSpec(int tLen, byte[] src) {
88 init(tLen, src, 0, src.length);
96 * @param tLen the authentication tag length (in bits)
102 * @throws IllegalArgumentException if {@code tLen} is negative,
107 public GCMParameterSpec(int tLen, byte[] src, int offset, int len) {
108 init(tLen, src, offset, len);
114 private void init(int tLen, byte[] src, int offset, int len) {
115 if (tLen < 0) {
119 this.tLen = tLen;
137 return tLen;