Lines Matching refs:sadb_key
200 sizeof(struct sadb_key), /* SADB_EXT_KEY_AUTH */
201 sizeof(struct sadb_key), /* SADB_EXT_KEY_ENCRYPT */
3424 const struct sadb_key *key0;
3427 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_AUTH];
3439 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) &&
3453 sav->key_auth = (struct sadb_key *)key_newbuf(key0, len);
3463 const struct sadb_key *key0;
3466 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_ENCRYPT];
3477 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) &&
3483 sav->key_enc = (struct sadb_key *)key_newbuf(key0, len);
3491 if (len != PFKEY_ALIGN8(sizeof(struct sadb_key)))