Home
last modified time | relevance | path

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

/system/netd/server/
DXfrmController.cpp567 saInfo.aead = XfrmAlgo{ in ipSecAddSecurityAssociation()
882 nlattr_algo_aead aead{}; in updateSecurityAssociation() local
916 {&aead, 0}, // adjust size if aead algo is present in updateSecurityAssociation()
928 if (!record.aead.name.empty() && (!record.auth.name.empty() || !record.crypt.name.empty())) { in updateSecurityAssociation()
934 if (record.aead.key.size() > MAX_KEY_LENGTH || record.auth.key.size() > MAX_KEY_LENGTH || in updateSecurityAssociation()
958 len = iov[AEAD].iov_len = fillNlAttrXfrmAlgoAead(record.aead, &aead); in updateSecurityAssociation()
1018 strncpy(algo->aead.alg_name, inAlgo.name.c_str(), sizeof(algo->aead.alg_name)); in fillNlAttrXfrmAlgoAead()
1019 algo->aead.alg_key_len = inAlgo.key.size() * 8; // bits in fillNlAttrXfrmAlgoAead()
1023 algo->aead.alg_icv_len = inAlgo.truncLenBits; in fillNlAttrXfrmAlgoAead()
DXfrmController.h124 XfrmAlgo aead; member
294 xfrm_algo_aead aead; member