Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c85 int *key_sizes = NULL, num_sizes, key_low, key_high, key_default; in build_keysizes() local
122 key_sizes = (int *)malloc(LIBIPSEC_ALGS_KEY_NUM_VAL * in build_keysizes()
124 if (key_sizes == NULL) in build_keysizes()
127 key_sizes[LIBIPSEC_ALGS_KEY_DEF_IDX] = key_default; in build_keysizes()
128 key_sizes[LIBIPSEC_ALGS_KEY_MIN_IDX] = key_low; in build_keysizes()
129 key_sizes[LIBIPSEC_ALGS_KEY_MAX_IDX] = key_high; in build_keysizes()
130 key_sizes[LIBIPSEC_ALGS_KEY_MAX_IDX + 1] = 0; in build_keysizes()
134 key_sizes = (int *)malloc(sizeof (int)); in build_keysizes()
135 if (key_sizes == NULL) in build_keysizes()
141 free(key_sizes); in build_keysizes()
[all …]