Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::crypto::detail::gcm::Block128 Struct Reference

128-bit value stored as two big-endian uint64_t halves. More...

#include <aes_gcm.hpp>

Public Member Functions

 Block128 ()
 Default constructor – zero-initializes both halves.
 
 Block128 (uint64_t h, uint64_t l)
 Construct from explicit high and low halves.
 

Public Attributes

uint64_t hi
 Bits 127..64 (most significant half).
 
uint64_t lo
 Bits 63..0 (least significant half).
 

Detailed Description

128-bit value stored as two big-endian uint64_t halves.

Used internally to represent GF(2^128) field elements in the GHASH computation and to pass around 128-bit AES blocks.

Definition at line 76 of file aes_gcm.hpp.

Constructor & Destructor Documentation

◆ Block128() [1/2]

signet::forge::crypto::detail::gcm::Block128::Block128 ( )
inline

Default constructor – zero-initializes both halves.

Definition at line 81 of file aes_gcm.hpp.

◆ Block128() [2/2]

signet::forge::crypto::detail::gcm::Block128::Block128 ( uint64_t  h,
uint64_t  l 
)
inline

Construct from explicit high and low halves.

Definition at line 84 of file aes_gcm.hpp.

Member Data Documentation

◆ hi

uint64_t signet::forge::crypto::detail::gcm::Block128::hi

Bits 127..64 (most significant half).

Definition at line 77 of file aes_gcm.hpp.

◆ lo

uint64_t signet::forge::crypto::detail::gcm::Block128::lo

Bits 63..0 (least significant half).

Definition at line 78 of file aes_gcm.hpp.


The documentation for this struct was generated from the following file: