static inline void decrypt(riv_context_t* ctx, const __m128i iv, uint8_t* plaintext, const uint64_t ciphertext_length, const uint8_t* ciphertext) { __m128i* m = (__m128i*)plaintext; __m128i* c = (__m128i*)ciphertext; // __m128i iv_encrypted = aes_encrypt(iv, ctx->expanced_enc_key); counter_mode(ctx, iv, c, ciphertext_length, m); }
static void radio_button_callback_3(GtkWidget *widget, gpointer data __attribute__((unused))) { if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget))) return; if (counter == NULL) return; counter_mode(counter, COUNTER_5SEC); }