Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcs_auth_mgr.c49 auth_mgr.overflow_size = TSS_DEFAULT_OVERFLOW_AUTHS; in auth_mgr_init()
68 for (i = 0; i < auth_mgr.overflow_size; i++) { in auth_mgr_final()
115 auth_mgr.of_tail = (auth_mgr.of_tail + 1) % auth_mgr.overflow_size; in auth_mgr_swap_in()
150 auth_mgr.of_head = (auth_mgr.of_head + 1) % auth_mgr.overflow_size; in auth_mgr_swap_out()
156 } else if (auth_mgr.overflow_size + TSS_DEFAULT_OVERFLOW_AUTHS < UINT_MAX) { in auth_mgr_swap_out()
161 auth_mgr.overflow_size + TSS_DEFAULT_OVERFLOW_AUTHS); in auth_mgr_swap_out()
163 auth_mgr.overflow = calloc(auth_mgr.overflow_size + TSS_DEFAULT_OVERFLOW_AUTHS, in auth_mgr_swap_out()
167 (auth_mgr.overflow_size + TSS_DEFAULT_OVERFLOW_AUTHS) * in auth_mgr_swap_out()
172 auth_mgr.overflow_size += TSS_DEFAULT_OVERFLOW_AUTHS; in auth_mgr_swap_out()
182 auth_mgr.of_head = (auth_mgr.of_head + 1) % auth_mgr.overflow_size; in auth_mgr_swap_out()
[all …]
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/
H A Dauth_mgr.h41 UINT32 auth_mapper_size, overflow_size; member