Lines Matching defs:iked_cipher
322 struct iked_cipher {
467 struct iked_cipher *sa_encr; /* encryption alg */
1109 struct iked_cipher *
1112 cipher_setkey(struct iked_cipher *, const void *, size_t);
1114 cipher_setiv(struct iked_cipher *, const void *, size_t);
1115 int cipher_settag(struct iked_cipher *, uint8_t *, size_t);
1116 int cipher_gettag(struct iked_cipher *, uint8_t *, size_t);
1117 void cipher_free(struct iked_cipher *);
1118 int cipher_init(struct iked_cipher *, int);
1119 int cipher_init_encrypt(struct iked_cipher *);
1120 int cipher_init_decrypt(struct iked_cipher *);
1121 void cipher_aad(struct iked_cipher *, const void *, size_t, size_t *);
1122 int cipher_update(struct iked_cipher *, const void *, size_t, void *, size_t *);
1123 int cipher_final(struct iked_cipher *);
1124 size_t cipher_length(struct iked_cipher *);
1125 size_t cipher_keylength(struct iked_cipher *);
1126 size_t cipher_ivlength(struct iked_cipher *);
1127 size_t cipher_outlength(struct iked_cipher *, size_t);