Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/
Dtipc.h239 #define TIPC_AEAD_ALG_NAME (32) macro
242 char alg_name[TIPC_AEAD_ALG_NAME];
/linux-6.1.9/net/tipc/
Dcrypto.c2251 *((__be32 *)(data + TIPC_AEAD_ALG_NAME)) = htonl(skey->keylen); in tipc_crypto_key_xmit()
2252 memcpy(data, skey->alg_name, TIPC_AEAD_ALG_NAME); in tipc_crypto_key_xmit()
2253 memcpy(data + TIPC_AEAD_ALG_NAME + sizeof(__be32), skey->key, in tipc_crypto_key_xmit()
2292 keylen = ntohl(*((__be32 *)(data + TIPC_AEAD_ALG_NAME))); in tipc_crypto_key_rcv()
2317 memcpy(skey->alg_name, data, TIPC_AEAD_ALG_NAME); in tipc_crypto_key_rcv()
2318 memcpy(skey->key, data + TIPC_AEAD_ALG_NAME + sizeof(__be32), in tipc_crypto_key_rcv()