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.java1037 int resLenBytes = MIN_ATTR_LENGTH + res.length; in getAtRes() local
1038 if (resLenBytes % LENGTH_SCALING != 0) { in getAtRes()
1039 resLenBytes += LENGTH_SCALING - (resLenBytes % LENGTH_SCALING); in getAtRes()
1042 return new AtRes(resLenBytes, res); in getAtRes()
1051 public static boolean isValidResLen(int resLenBytes) { in isValidResLen() argument
1052 return resLenBytes >= MIN_RES_LEN_BYTES && resLenBytes <= MAX_RES_LEN_BYTES; in isValidResLen()