How mko-x/sharedaes-gcm works
SharedAES-GCM is a cross-platform AES-GCM library, exposing a C convenience API and an Objective-C interface. The runtime path shown by the excerpts is a caller invoking the C wrapper, which delegates encryption or decryption to the GCM implementation; GCM uses the AES block-cipher implementation. The Objective-C header declares encrypt/decrypt methods, but its implementation was not sampled, so its connection to the C API is not asserted. The test harness is excluded as non-product code.
Main entry points: aes-gcm.c C convenience API · gcm.c AES-GCM · aes.c AES cipher
Components 5
Public APIs
- Objective-C API
Classes/AES-GCM_ObjC.h - C convenience API
Sources/aes-gcm.c
Cryptographic engine
- AES-GCM
Sources/gcm.c - AES cipher
Sources/aes.c
Other components
- Library caller
Connections 3
- Library caller → C convenience API: calls
Sources/aes-gcm.c - C convenience API → AES-GCM: delegates to
Sources/aes-gcm.c - AES-GCM → AES cipher: uses block cipher
Sources/gcm.c