Lines Matching refs:cipher
590 gss_krb5_cts_crypt(struct crypto_sync_skcipher *cipher, struct xdr_buf *buf, in gss_krb5_cts_crypt() argument
595 SYNC_SKCIPHER_REQUEST_ON_STACK(req, cipher); in gss_krb5_cts_crypt()
624 skcipher_request_set_sync_tfm(req, cipher); in gss_krb5_cts_crypt()
775 struct crypto_sync_skcipher *cipher, *aux_cipher; in gss_krb5_aes_encrypt() local
781 cipher = kctx->initiator_enc; in gss_krb5_aes_encrypt()
785 cipher = kctx->acceptor_enc; in gss_krb5_aes_encrypt()
789 conflen = crypto_sync_skcipher_blocksize(cipher); in gss_krb5_aes_encrypt()
832 err = krb5_cbc_cts_encrypt(cipher, aux_cipher, in gss_krb5_aes_encrypt()
849 struct crypto_sync_skcipher *cipher, *aux_cipher; in gss_krb5_aes_decrypt() local
858 cipher = kctx->acceptor_enc; in gss_krb5_aes_decrypt()
862 cipher = kctx->initiator_enc; in gss_krb5_aes_decrypt()
872 ret = krb5_cbc_cts_decrypt(cipher, aux_cipher, 0, &subbuf); in gss_krb5_aes_decrypt()
893 *headskip = crypto_sync_skcipher_blocksize(cipher); in gss_krb5_aes_decrypt()
919 u32 krb5_etm_checksum(struct crypto_sync_skcipher *cipher, in krb5_etm_checksum() argument
923 unsigned int ivsize = crypto_sync_skcipher_ivsize(cipher); in krb5_etm_checksum()
1005 struct crypto_sync_skcipher *cipher, *aux_cipher; in krb5_etm_encrypt() local
1013 cipher = kctx->initiator_enc; in krb5_etm_encrypt()
1017 cipher = kctx->acceptor_enc; in krb5_etm_encrypt()
1021 conflen = crypto_sync_skcipher_blocksize(cipher); in krb5_etm_encrypt()
1042 err = krb5_cbc_cts_encrypt(cipher, aux_cipher, in krb5_etm_encrypt()
1050 err = krb5_etm_checksum(cipher, ahash, in krb5_etm_encrypt()
1093 struct crypto_sync_skcipher *cipher, *aux_cipher; in krb5_etm_decrypt() local
1102 cipher = kctx->acceptor_enc; in krb5_etm_decrypt()
1106 cipher = kctx->initiator_enc; in krb5_etm_decrypt()
1118 ret = krb5_etm_checksum(cipher, ahash, &subbuf, 0, &our_hmac_obj); in krb5_etm_decrypt()
1130 ret = krb5_cbc_cts_decrypt(cipher, aux_cipher, 0, &subbuf); in krb5_etm_decrypt()
1136 *headskip = crypto_sync_skcipher_blocksize(cipher); in krb5_etm_decrypt()