Lines Matching full:gcm
123 * no padding. This is true of most modern AEAD modes such as GCM.
331 * \brief Context structure for GCM.
333 * GCM is an AEAD mode that combines a block cipher in CTR mode with a
336 * - Any block cipher with 16-byte blocks can be used with GCM.
349 * The GCM initialisation function receives as parameter an
352 * GCM context structure. It is up to the caller to allocate and
372 * \brief Initialize a GCM context.
378 * in the GCM context.
381 * be called, to provide the IV for GCM computation.
383 * \param ctx GCM context structure.
391 * \brief Reset a GCM context.
393 * This function resets an already initialised GCM context for a new
395 * can be called at any time; it cancels any ongoing GCM computation that
398 * The provided IV is a _nonce_. It is critical to GCM security that IV
403 * \param ctx GCM context structure.
404 * \param iv GCM nonce to use.
405 * \param len GCM nonce length (in bytes).
410 * \brief Inject additional authenticated data into GCM.
412 * The provided data is injected into a running GCM computation. Additional
418 * \param ctx GCM context structure.
425 * \brief Finish injection of additional authenticated data into GCM.
432 * \param ctx GCM context structure.
437 * \brief Encrypt or decrypt some data with GCM.
447 * \param ctx GCM context structure.
455 * \brief Compute GCM authentication tag.
457 * Compute the GCM authentication tag. The tag is a 16-byte value which
459 * GCM run: no data may be processed with that GCM context afterwards,
460 * until `br_gcm_reset()` is called to initiate a new GCM run.
469 * \param ctx GCM context structure.
475 * \brief Compute and check GCM authentication tag.
484 * \param ctx GCM context structure.
491 * \brief Compute GCM authentication tag (with truncation).
506 * the GCM run: no data may be processed with that GCM context
507 * afterwards, until `br_gcm_reset()` is called to initiate a new GCM
517 * \param ctx GCM context structure.
524 * \brief Compute and check GCM authentication tag (with truncation).
533 * Tag length MUST be 16 bytes or less. The normal GCM tag length is 16
537 * \param ctx GCM context structure.
546 * \brief Class instance for GCM.