Home | History | Annotate | Download | only in crypto

Lines Matching defs:dec

191 	gcry_cipher_hd_t dec;
213 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_STREAM, 0);
223 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
228 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
233 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
241 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
254 gcry_cipher_setkey(ctx->dec, key, key_len) != GPG_ERR_NO_ERROR) {
256 gcry_cipher_close(ctx->dec);
263 gcry_cipher_setiv(ctx->dec, iv, ivlen) != GPG_ERR_NO_ERROR) {
265 gcry_cipher_close(ctx->dec);
287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
297 gcry_cipher_close(ctx->dec);