Lines Matching refs:cipher
597 gss_krb5_cts_crypt(struct crypto_blkcipher *cipher, struct xdr_buf *buf, in gss_krb5_cts_crypt() argument
602 struct blkcipher_desc desc = { .tfm = cipher, .info = iv }; in gss_krb5_cts_crypt()
650 struct crypto_blkcipher *cipher, *aux_cipher; in gss_krb5_aes_encrypt() local
659 cipher = kctx->initiator_enc; in gss_krb5_aes_encrypt()
664 cipher = kctx->acceptor_enc; in gss_krb5_aes_encrypt()
669 blocksize = crypto_blkcipher_blocksize(cipher); in gss_krb5_aes_encrypt()
741 err = gss_krb5_cts_crypt(cipher, buf, in gss_krb5_aes_encrypt()
766 struct crypto_blkcipher *cipher, *aux_cipher; in gss_krb5_aes_decrypt() local
775 cipher = kctx->acceptor_enc; in gss_krb5_aes_decrypt()
780 cipher = kctx->initiator_enc; in gss_krb5_aes_decrypt()
785 blocksize = crypto_blkcipher_blocksize(cipher); in gss_krb5_aes_decrypt()
816 ret = gss_krb5_cts_crypt(cipher, &subbuf, cbcbytes, desc.iv, NULL, 0); in gss_krb5_aes_decrypt()
853 krb5_rc4_setup_seq_key(struct krb5_ctx *kctx, struct crypto_blkcipher *cipher, in krb5_rc4_setup_seq_key() argument
900 err = crypto_blkcipher_setkey(cipher, Kseq, kctx->gk5e->keylength); in krb5_rc4_setup_seq_key()
917 krb5_rc4_setup_enc_key(struct krb5_ctx *kctx, struct crypto_blkcipher *cipher, in krb5_rc4_setup_enc_key() argument
973 err = crypto_blkcipher_setkey(cipher, Kcrypt, kctx->gk5e->keylength); in krb5_rc4_setup_enc_key()