Lines Matching refs:cipher
677 gss_krb5_cts_crypt(struct crypto_sync_skcipher *cipher, struct xdr_buf *buf, in gss_krb5_cts_crypt() argument
682 SYNC_SKCIPHER_REQUEST_ON_STACK(req, cipher); in gss_krb5_cts_crypt()
711 skcipher_request_set_sync_tfm(req, cipher); in gss_krb5_cts_crypt()
740 struct crypto_sync_skcipher *cipher, *aux_cipher; in gss_krb5_aes_encrypt() local
749 cipher = kctx->initiator_enc; in gss_krb5_aes_encrypt()
754 cipher = kctx->acceptor_enc; in gss_krb5_aes_encrypt()
759 blocksize = crypto_sync_skcipher_blocksize(cipher); in gss_krb5_aes_encrypt()
835 err = gss_krb5_cts_crypt(cipher, buf, in gss_krb5_aes_encrypt()
860 struct crypto_sync_skcipher *cipher, *aux_cipher; in gss_krb5_aes_decrypt() local
869 cipher = kctx->acceptor_enc; in gss_krb5_aes_decrypt()
874 cipher = kctx->initiator_enc; in gss_krb5_aes_decrypt()
879 blocksize = crypto_sync_skcipher_blocksize(cipher); in gss_krb5_aes_decrypt()
914 ret = gss_krb5_cts_crypt(cipher, &subbuf, cbcbytes, desc.iv, NULL, 0); in gss_krb5_aes_decrypt()
952 struct crypto_sync_skcipher *cipher, in krb5_rc4_setup_seq_key() argument
999 err = crypto_sync_skcipher_setkey(cipher, Kseq, kctx->gk5e->keylength); in krb5_rc4_setup_seq_key()
1018 struct crypto_sync_skcipher *cipher, in krb5_rc4_setup_enc_key() argument
1074 err = crypto_sync_skcipher_setkey(cipher, Kcrypt, in krb5_rc4_setup_enc_key()