Lines Matching refs:cipher
592 gss_krb5_cts_crypt(struct crypto_sync_skcipher *cipher, struct xdr_buf *buf, in gss_krb5_cts_crypt() argument
597 SYNC_SKCIPHER_REQUEST_ON_STACK(req, cipher); in gss_krb5_cts_crypt()
626 skcipher_request_set_sync_tfm(req, cipher); in gss_krb5_cts_crypt()
649 memcpy(iv, data, crypto_sync_skcipher_ivsize(cipher)); in gss_krb5_cts_crypt()
787 struct crypto_sync_skcipher *cipher, *aux_cipher; in gss_krb5_aes_encrypt() local
793 cipher = kctx->initiator_enc; in gss_krb5_aes_encrypt()
797 cipher = kctx->acceptor_enc; in gss_krb5_aes_encrypt()
801 conflen = crypto_sync_skcipher_blocksize(cipher); in gss_krb5_aes_encrypt()
843 err = krb5_cbc_cts_encrypt(cipher, aux_cipher, 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()
873 cipher = kctx->initiator_enc; in gss_krb5_aes_decrypt()
883 ret = krb5_cbc_cts_decrypt(cipher, aux_cipher, 0, &subbuf); in gss_krb5_aes_decrypt()
903 *headskip = crypto_sync_skcipher_blocksize(cipher); in gss_krb5_aes_decrypt()
929 u32 krb5_etm_checksum(struct crypto_sync_skcipher *cipher, in krb5_etm_checksum() argument
933 unsigned int ivsize = crypto_sync_skcipher_ivsize(cipher); in krb5_etm_checksum()
1015 struct crypto_sync_skcipher *cipher, *aux_cipher; in krb5_etm_encrypt() local
1023 cipher = kctx->initiator_enc; in krb5_etm_encrypt()
1027 cipher = kctx->acceptor_enc; in krb5_etm_encrypt()
1031 conflen = crypto_sync_skcipher_blocksize(cipher); in krb5_etm_encrypt()
1052 err = krb5_cbc_cts_encrypt(cipher, aux_cipher, in krb5_etm_encrypt()
1060 err = krb5_etm_checksum(cipher, ahash, in krb5_etm_encrypt()
1103 struct crypto_sync_skcipher *cipher, *aux_cipher; in krb5_etm_decrypt() local
1112 cipher = kctx->acceptor_enc; in krb5_etm_decrypt()
1116 cipher = kctx->initiator_enc; in krb5_etm_decrypt()
1128 ret = krb5_etm_checksum(cipher, ahash, &subbuf, 0, &our_hmac_obj); in krb5_etm_decrypt()
1140 ret = krb5_cbc_cts_decrypt(cipher, aux_cipher, 0, &subbuf); in krb5_etm_decrypt()
1146 *headskip = crypto_sync_skcipher_blocksize(cipher); in krb5_etm_decrypt()