Home
last modified time | relevance | path

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

/system/netd/server/
DXfrmController.cpp568 saInfo.aead = XfrmAlgo{ in ipSecAddSecurityAssociation()
883 nlattr_algo_aead aead{}; in updateSecurityAssociation() local
917 {&aead, 0}, // adjust size if aead algo is present in updateSecurityAssociation()
929 if (!record.aead.name.empty() && (!record.auth.name.empty() || !record.crypt.name.empty())) { in updateSecurityAssociation()
935 if (record.aead.key.size() > MAX_KEY_LENGTH || record.auth.key.size() > MAX_KEY_LENGTH || in updateSecurityAssociation()
959 len = iov[AEAD].iov_len = fillNlAttrXfrmAlgoAead(record.aead, &aead); in updateSecurityAssociation()
1019 strncpy(algo->aead.alg_name, inAlgo.name.c_str(), sizeof(algo->aead.alg_name)); in fillNlAttrXfrmAlgoAead()
1020 algo->aead.alg_key_len = inAlgo.key.size() * 8; // bits in fillNlAttrXfrmAlgoAead()
1024 algo->aead.alg_icv_len = inAlgo.truncLenBits; in fillNlAttrXfrmAlgoAead()
DXfrmController.h123 XfrmAlgo aead; member
293 xfrm_algo_aead aead; member