Searched refs:icvlen (Results 1 – 4 of 4) sorted by relevance
/external/scapy/scapy/contrib/ |
D | macsec.py | 47 def __init__(self, sci, an, pn, key, icvlen, encrypt, send_sci): argument 57 self.icvlen = icvlen 66 def split_pkt(pkt, assoclen, icvlen=0): argument 73 if icvlen: 74 icv = data[-icvlen:] 75 enc = data[assoclen:-icvlen] 87 return self.do_encrypt or self.icvlen != DEFAULT_ICV_LEN 167 assoclen = pktlen - self.icvlen 169 assoc, ct, icv = MACsecSA.split_pkt(orig_pkt, assoclen, self.icvlen)
|
D | macsec.uts | 11 …x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=100, key=b'aaaaaaaaaaaaaaaa', icvlen=16, encrypt=1, sen… 26 …x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=100, key=b'aaaaaaaaaaaaaaaa', icvlen=16, encrypt=1, sen… 42 …x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=100, key=b'aaaaaaaaaaaaaaaa', icvlen=16, encrypt=1, sen… 60 …x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=100, key=b'aaaaaaaaaaaaaaaa', icvlen=16, encrypt=1, sen… 71 …x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=200, key=b'aaaaaaaaaaaaaaaa', icvlen=16, encrypt=0, sen… 86 …x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=200, key=b'aaaaaaaaaaaaaaaa', icvlen=16, encrypt=0, sen… 103 …x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=200, key=b'aaaaaaaaaaaaaaaa', icvlen=16, encrypt=0, sen… 121 …x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=200, key=b'aaaaaaaaaaaaaaaa', icvlen=16, encrypt=0, sen… 130 sa = MACsecSA(sci=0x5254001301560001, an=0, pn=200, key=b'aaaaaaaaaaaaaaaa', icvlen=16, encrypt=0, … 137 sa = MACsecSA(sci=0x5254001301560001, an=0, pn=200, key=b'aaaaaaaaaaaaaaaa', icvlen=16, encrypt=0, … [all …]
|
/external/iproute2/ip/ |
D | ipmacsec.c | 148 static void get_icvlen(__u8 *icvlen, char *arg) in get_icvlen() argument 150 int ret = get_u8(icvlen, arg, 10); in get_icvlen() 155 if (*icvlen < MACSEC_MIN_ICV_LEN || *icvlen > MACSEC_STD_ICV_LEN) in get_icvlen()
|
D | xfrm_state.c | 467 __u32 icvlen, trunclen; in xfrm_state_modify() local 524 if (get_u32(&icvlen, *argv, 0)) in xfrm_state_modify() 527 alg.u.aead.alg_icv_len = icvlen; in xfrm_state_modify()
|