Lines Matching defs:gcm
62 #define CCMODE_GCM_FACTORY(_cipher_, _dir_) CCMODE_CFB_FACTORY(_cipher_, gcm, _dir_)
322 /* Create a gcm key from a gcm mode object.
325 void ccmode_gcm_init(const struct ccmode_gcm *gcm, ccgcm_ctx *ctx,
353 /* TODO: Make table based gcm a separate mode object. */
376 .gcm = ccmode_gcm_decrypt, \
389 .gcm = ccmode_gcm_encrypt, \
400 void ccmode_factory_gcm_decrypt(struct ccmode_gcm *gcm,
403 *gcm = gcm_decrypt;
411 void ccmode_factory_gcm_encrypt(struct ccmode_gcm *gcm,
414 *gcm = gcm_encrypt;