Lines Matching refs:cipher
46 struct crypto_blkcipher *cipher;
51 cipher = crypto_alloc_blkcipher(kctx->gk5e->encrypt_name, 0,
53 if (IS_ERR(cipher))
54 return PTR_ERR(cipher);
65 code = krb5_rc4_setup_seq_key(kctx, cipher, cksum);
69 code = krb5_encrypt(cipher, cksum, plain, buf, 8);
71 crypto_free_blkcipher(cipher);
104 struct crypto_blkcipher *cipher;
109 cipher = crypto_alloc_blkcipher(kctx->gk5e->encrypt_name, 0,
111 if (IS_ERR(cipher))
112 return PTR_ERR(cipher);
114 code = krb5_rc4_setup_seq_key(kctx, cipher, cksum);
118 code = krb5_decrypt(cipher, cksum, buf, plain, 8);
133 crypto_free_blkcipher(cipher);