Lines Matching defs:cipher
597 gss_krb5_cts_crypt(struct crypto_blkcipher *cipher, struct xdr_buf *buf,
602 struct blkcipher_desc desc = { .tfm = cipher, .info = iv };
603 u8 data[crypto_blkcipher_blocksize(cipher) * 2];
607 BUG_ON(len > crypto_blkcipher_blocksize(cipher) * 2);
647 struct crypto_blkcipher *cipher, *aux_cipher;
656 cipher = kctx->initiator_enc;
661 cipher = kctx->acceptor_enc;
666 blocksize = crypto_blkcipher_blocksize(cipher);
743 err = gss_krb5_cts_crypt(cipher, buf,
768 struct crypto_blkcipher *cipher, *aux_cipher;
777 cipher = kctx->acceptor_enc;
782 cipher = kctx->initiator_enc;
787 blocksize = crypto_blkcipher_blocksize(cipher);
818 ret = gss_krb5_cts_crypt(cipher, &subbuf, cbcbytes, desc.iv, NULL, 0);
852 * Set the key of the given cipher.
855 krb5_rc4_setup_seq_key(struct krb5_ctx *kctx, struct crypto_blkcipher *cipher,
904 err = crypto_blkcipher_setkey(cipher, Kseq, kctx->gk5e->keylength);
918 * Set the key of cipher kctx->enc.
921 krb5_rc4_setup_enc_key(struct krb5_ctx *kctx, struct crypto_blkcipher *cipher,
979 err = crypto_blkcipher_setkey(cipher, Kcrypt, kctx->gk5e->keylength);