Searched refs:sadb_key_bits (Results 1 – 7 of 7) sorted by relevance
170 #define sadb_key_bits sadb_x_key_u.sadb_x_key_actual.sadb_x_key_ubits macro
1139 if (((sadb_key_t *)ext)->sadb_key_bits == 0) in ext_check()1145 if ((roundup(SADB_1TO8(((sadb_key_t *)ext)->sadb_key_bits), 8) + in ext_check()1150 ((sadb_key_t *)ext)->sadb_key_bits, in ext_check()
1389 key->sadb_key_bits = ipsa->ipsa_authkeybits; in sadb_sa2msg()1401 key->sadb_key_bits = ipsa->ipsa_encrkeybits; in sadb_sa2msg()3178 newbie->ipsa_authkeybits = akey->sadb_key_bits;3179 newbie->ipsa_authkeylen = SADB_1TO8(akey->sadb_key_bits);3181 if ((akey->sadb_key_bits & 0x7) != 0)3283 newbie->ipsa_encrkeybits = ekey->sadb_key_bits;3289 if ((ekey->sadb_key_bits & 0x7) != 0)3366 bzero((ekey + 1), SADB_1TO8(ekey->sadb_key_bits));7292 crypto_key.ck_length = sadb_key->sadb_key_bits;
3723 if (!ipsec_valid_key_size(akey->sadb_key_bits, aalg)) {3764 keybits = ekey->sadb_key_bits;
1138 if (!ipsec_valid_key_size(key->sadb_key_bits, aalg)) { in ah_add_sa()
2190 (void) dump_key((uint8_t *)(key + 1), key->sadb_key_bits, in print_key()2939 if (dump_key((uint8_t *)(key + 1), key->sadb_key_bits, in save_key()
883 retval->sadb_key_bits = (hexlen + (hexlen & 0x1)) << 2; in parsekey()885 retval->sadb_key_bits = bits; in parsekey()