summaryrefslogtreecommitdiffstats
path: root/sys/crypto/aesni/aesni.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/crypto/aesni/aesni.h')
-rw-r--r--sys/crypto/aesni/aesni.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/sys/crypto/aesni/aesni.h b/sys/crypto/aesni/aesni.h
index b1a5ea2..fbbbefb 100644
--- a/sys/crypto/aesni/aesni.h
+++ b/sys/crypto/aesni/aesni.h
@@ -61,10 +61,9 @@ struct aesni_session {
volatile uint64_t aesgcmcounter;
int algo;
int rounds;
- struct auth_hash *ses_axf;
- uint8_t *ses_ictx;
- uint8_t *ses_octx;
- int ses_mlen;
+ /* uint8_t *ses_ictx; */
+ /* uint8_t *ses_octx; */
+ /* int ses_mlen; */
int used;
uint32_t id;
struct fpu_kern_ctx *fpu_ctx;
@@ -113,10 +112,4 @@ int aesni_cipher_setup_common(struct aesni_session *ses, const uint8_t *key,
uint8_t *aesni_cipher_alloc(struct cryptodesc *enccrd, struct cryptop *crp,
int *allocated);
-int aesni_hash_setup(struct aesni_session *ses,
- struct cryptoini *authini);
-int aesni_hash_process(struct aesni_session *ses,
- struct cryptodesc *authcrd, struct cryptop *crp);
-void aesni_hash_free(struct aesni_session *ses);
-
#endif /* _AESNI_H_ */
OpenPOWER on IntegriCloud