Lines Matching defs:dec
398 gcry_cipher_hd_t dec;
420 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_STREAM, 0);
430 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
435 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
440 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
448 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
461 gcry_cipher_setkey(ctx->dec, key, key_len) != GPG_ERR_NO_ERROR) {
463 gcry_cipher_close(ctx->dec);
470 gcry_cipher_setiv(ctx->dec, iv, ivlen) != GPG_ERR_NO_ERROR) {
472 gcry_cipher_close(ctx->dec);
494 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
504 gcry_cipher_close(ctx->dec);