Lines Matching defs:enc_xform
48 struct enc_xform { struct
49 int type;
50 const char *name;
51 size_t ctxsize;
52 uint16_t blocksize; /* Required input block size -- 1 for stream ciphers. */
53 uint16_t native_blocksize; /* Used for stream ciphers. */
54 uint16_t ivsize;
55 uint16_t minkey, maxkey;
56 uint16_t macsize; /* For AEAD ciphers. */
59 int (*setkey) (void *, const uint8_t *, int len);
62 void (*reinit) (void *, const uint8_t *, size_t);
68 void (*encrypt) (void *, const uint8_t *, uint8_t *);
69 void (*decrypt) (void *, const uint8_t *, uint8_t *);
94 extern const struct enc_xform enc_xform_null; argument