Lines Matching defs:gcm
62 #define CCMODE_GCM_FACTORY(_cipher_, _dir_) CCMODE_CFB_FACTORY(_cipher_, gcm, _dir_)
319 /* Create a gcm key from a gcm mode object.
322 void ccmode_gcm_init(const struct ccmode_gcm *gcm, ccgcm_ctx *ctx,
350 /* TODO: Make table based gcm a separate mode object. */
368 .gcm = ccmode_gcm_decrypt, \
381 .gcm = ccmode_gcm_encrypt, \
392 void ccmode_factory_gcm_decrypt(struct ccmode_gcm *gcm,
395 *gcm = gcm_decrypt;
403 void ccmode_factory_gcm_encrypt(struct ccmode_gcm *gcm,
406 *gcm = gcm_encrypt;