Home
last modified time | relevance | path

Searched refs:resLenBytes (Results 1 – 1 of 1) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java997 int resLenBytes = MIN_ATTR_LENGTH + res.length; in getAtRes() local
998 if (resLenBytes % LENGTH_SCALING != 0) { in getAtRes()
999 resLenBytes += LENGTH_SCALING - (resLenBytes % LENGTH_SCALING); in getAtRes()
1002 return new AtRes(resLenBytes, res); in getAtRes()
1011 public static boolean isValidResLen(int resLenBytes) { in isValidResLen() argument
1012 return resLenBytes >= MIN_RES_LEN_BYTES && resLenBytes <= MAX_RES_LEN_BYTES; in isValidResLen()