UNBOUND_COOKIE_SECRET_SIZE
char secret[UNBOUND_COOKIE_SECRET_SIZE * 2 + 2/*'\n' and '\0'*/];
if( secret_len != UNBOUND_COOKIE_SECRET_SIZE * 2 ) { corrupt++; break; }
UNBOUND_COOKIE_SECRET_SIZE);
if( decoded_len != UNBOUND_COOKIE_SECRET_SIZE ) { corrupt++; break; }
UNBOUND_COOKIE_SECRET_SIZE, v4, hash_input, now);
log_assert(secret_len == UNBOUND_COOKIE_SECRET_SIZE);
, secret, UNBOUND_COOKIE_SECRET_SIZE);
explicit_bzero(secret, UNBOUND_COOKIE_SECRET_SIZE);
, secret, UNBOUND_COOKIE_SECRET_SIZE);
explicit_bzero(secret, UNBOUND_COOKIE_SECRET_SIZE);
uint8_t active_secret[UNBOUND_COOKIE_SECRET_SIZE];
, UNBOUND_COOKIE_SECRET_SIZE);
, active_secret, UNBOUND_COOKIE_SECRET_SIZE);
explicit_bzero(active_secret, UNBOUND_COOKIE_SECRET_SIZE);
, UNBOUND_COOKIE_SECRET_SIZE);
uint8_t cookie_secret[UNBOUND_COOKIE_SECRET_SIZE];
char secret_hex[UNBOUND_COOKIE_SECRET_SIZE * 2 + 1];
UNBOUND_COOKIE_SECRET_SIZE, secret_hex,
log_assert( len == UNBOUND_COOKIE_SECRET_SIZE * 2 );
secret_hex[UNBOUND_COOKIE_SECRET_SIZE * 2] = '\0';
uint8_t secret[UNBOUND_COOKIE_SECRET_SIZE];
if(hex_pton(arg, secret, UNBOUND_COOKIE_SECRET_SIZE) !=
UNBOUND_COOKIE_SECRET_SIZE ) {
explicit_bzero(secret, UNBOUND_COOKIE_SECRET_SIZE);
explicit_bzero(secret, UNBOUND_COOKIE_SECRET_SIZE);
add_cookie_secret(cookie_secrets, secret, UNBOUND_COOKIE_SECRET_SIZE);
explicit_bzero(secret, UNBOUND_COOKIE_SECRET_SIZE);
char secret_hex[UNBOUND_COOKIE_SECRET_SIZE * 2 + 1];
UNBOUND_COOKIE_SECRET_SIZE, secret_hex,
log_assert( len == UNBOUND_COOKIE_SECRET_SIZE * 2 );
secret_hex[UNBOUND_COOKIE_SECRET_SIZE * 2] = '\0';
char secret[UNBOUND_COOKIE_SECRET_SIZE * 2 + 2/*'\n' and '\0'*/];
if( secret_len != UNBOUND_COOKIE_SECRET_SIZE * 2 ) { corrupt++; break; }
UNBOUND_COOKIE_SECRET_SIZE);
if( decoded_len != UNBOUND_COOKIE_SECRET_SIZE ) { corrupt++; break; }
UNBOUND_COOKIE_SECRET_SIZE, v4, hash_input, now);
log_assert(secret_len == UNBOUND_COOKIE_SECRET_SIZE);
, secret, UNBOUND_COOKIE_SECRET_SIZE);
explicit_bzero(secret, UNBOUND_COOKIE_SECRET_SIZE);
, secret, UNBOUND_COOKIE_SECRET_SIZE);
explicit_bzero(secret, UNBOUND_COOKIE_SECRET_SIZE);
uint8_t active_secret[UNBOUND_COOKIE_SECRET_SIZE];
, UNBOUND_COOKIE_SECRET_SIZE);
, active_secret, UNBOUND_COOKIE_SECRET_SIZE);
explicit_bzero(active_secret, UNBOUND_COOKIE_SECRET_SIZE);
, UNBOUND_COOKIE_SECRET_SIZE);
uint8_t cookie_secret[UNBOUND_COOKIE_SECRET_SIZE];