Lines Matching defs:cipher
217 struct crypto_blkcipher *cipher;
219 cipher = crypto_alloc_blkcipher(kctx->gk5e->encrypt_name, 0,
221 if (IS_ERR(cipher))
224 krb5_rc4_setup_enc_key(kctx, cipher, seq_send);
226 err = gss_encrypt_xdr_buf(cipher, buf,
228 crypto_free_blkcipher(cipher);
304 struct crypto_blkcipher *cipher;
307 cipher = crypto_alloc_blkcipher(kctx->gk5e->encrypt_name, 0,
309 if (IS_ERR(cipher))
312 krb5_rc4_setup_enc_key(kctx, cipher, seqnum);
314 err = gss_decrypt_xdr_buf(cipher, buf, crypt_offset);
315 crypto_free_blkcipher(cipher);