get_cipher_data_index
return &cipher_data[get_cipher_data_index(nid)];
size_t i = get_cipher_data_index(nid);