Searched refs:sadb_key (Results 1 – 10 of 10) sorted by relevance
93 struct sadb_key *__sized_by(key_auth_len) key_auth; /* Key for Authentication */94 struct sadb_key *__sized_by(key_enc_len) key_enc; /* Key for Encryption */
363 struct sadb_key *key = (struct sadb_key *)ext;376 (PFKEY_UNUNIT64(key->sadb_key_len) - sizeof(struct sadb_key))) {379 (long)PFKEY_UNUNIT64(key->sadb_key_len) - sizeof(struct sadb_key));382 ipsec_hexdump((caddr_t)key + sizeof(struct sadb_key),
91 #define _KEYBUF(key) ((caddr_t)((caddr_t)(key) + sizeof(struct sadb_key)))
55 struct sadb_key;
206 sizeof(struct sadb_key), /* SADB_EXT_KEY_AUTH */207 sizeof(struct sadb_key), /* SADB_EXT_KEY_ENCRYPT */4389 const struct sadb_key *key0; in key_setsaval()4392 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_AUTH].ext_buf; in key_setsaval()4408 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()4422 sav->key_auth = (struct sadb_key *)key_newbuf(key0, len); in key_setsaval()4428 const struct sadb_key *key0; in key_setsaval()4431 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_ENCRYPT].ext_buf; in key_setsaval()4446 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()4452 sav->key_enc = (struct sadb_key *)key_newbuf(key0, len); in key_setsaval()[all …]
160 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen);170 struct sadb_key *auth_key_payload = (struct sadb_key *)(void *)(payload + tlen);
622 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_add_sa()632 struct sadb_key *auth_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_add_sa()730 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_update_sa()740 struct sadb_key *auth_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_update_sa()
315 struct sadb_key key __attribute((aligned(sizeof(uint64_t)))); in create_sa()
171 struct sadb_key { struct
1386 struct sadb_key key __attribute((aligned(sizeof(uint64_t)))); in sktu_create_sa()