Searched refs:alg_key_sizes (Results 1 – 3 of 3) sorted by relevance
4716 alg->alg_default_bits = alg->alg_key_sizes[0]; in ipsec_alg_fix_min_max()4720 alg->alg_minbits = alg->alg_key_sizes[1]; in ipsec_alg_fix_min_max()4721 alg->alg_maxbits = alg->alg_key_sizes[2]; in ipsec_alg_fix_min_max()4731 if (alg->alg_key_sizes[i] < alg->alg_minbits) in ipsec_alg_fix_min_max()4732 alg->alg_minbits = alg->alg_key_sizes[i]; in ipsec_alg_fix_min_max()4733 if (alg->alg_key_sizes[i] > alg->alg_maxbits) in ipsec_alg_fix_min_max()4734 alg->alg_maxbits = alg->alg_key_sizes[i]; in ipsec_alg_fix_min_max()4815 alg->alg_ef_default_bits = alg->alg_key_sizes[0]; in ipsec_alg_fix_min_max()4890 if (alg->alg_key_sizes[i] < crypto_min || in ipsec_alg_fix_min_max()4891 alg->alg_key_sizes[i] > crypto_max) in ipsec_alg_fix_min_max()[all …]
2503 alg->alg_key_sizes[i]); in spdsock_dumpalgs()2629 if (alg->alg_key_sizes != NULL) { in spdsock_do_updatealg()2630 kmem_free(alg->alg_key_sizes, in spdsock_do_updatealg()2638 alg->alg_key_sizes = kmem_zalloc(ALG_KEY_SIZES(alg), in spdsock_do_updatealg()2644 if (alg->alg_key_sizes == NULL || in spdsock_do_updatealg()2651 alg->alg_key_sizes[cur_key++] = attr->spd_attr_value; in spdsock_do_updatealg()
851 uint16_t *alg_key_sizes; member