Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayload.java83 private static final SparseArray<Integer> PUBLIC_KEY_LEN_MAP = new SparseArray<>(); field in IkeKePayload
86 PUBLIC_KEY_LEN_MAP.put(DH_GROUP_1024_BIT_MODP, DH_GROUP_1024_BIT_MODP_PUBLIC_KEY_LEN); in PUBLIC_KEY_LEN_MAP.put()
87 PUBLIC_KEY_LEN_MAP.put(DH_GROUP_1536_BIT_MODP, DH_GROUP_1536_BIT_MODP_PUBLIC_KEY_LEN); in PUBLIC_KEY_LEN_MAP.put()
88 PUBLIC_KEY_LEN_MAP.put(DH_GROUP_2048_BIT_MODP, DH_GROUP_2048_BIT_MODP_PUBLIC_KEY_LEN); in PUBLIC_KEY_LEN_MAP.put()
89 PUBLIC_KEY_LEN_MAP.put(DH_GROUP_3072_BIT_MODP, DH_GROUP_3072_BIT_MODP_PUBLIC_KEY_LEN); in PUBLIC_KEY_LEN_MAP.put()
90 PUBLIC_KEY_LEN_MAP.put(DH_GROUP_4096_BIT_MODP, DH_GROUP_4096_BIT_MODP_PUBLIC_KEY_LEN); in PUBLIC_KEY_LEN_MAP.put()
91 PUBLIC_KEY_LEN_MAP.put(DH_GROUP_CURVE_25519, DH_GROUP_CURVE_25519_PUBLIC_KEY_LEN); in PUBLIC_KEY_LEN_MAP.put()
177 if (PUBLIC_KEY_LEN_MAP.contains(dhGroup) && dataSize != PUBLIC_KEY_LEN_MAP.get(dhGroup)) { in IkeKePayload()
180 + PUBLIC_KEY_LEN_MAP.get(dhGroup) in IkeKePayload()
230 int keySize = PUBLIC_KEY_LEN_MAP.get(dh); in createOutboundModpKePayload()