How sbmueller/gr-openssl works
gr-openssl is a GNU Radio add-on that provides OpenSSL-backed cryptographic blocks. A flow uses symmetric PDU or tagged-stream blocks to encrypt and decrypt data, with IVs carried in metadata or tags; it can also hash PDUs and generate or derive keys. AES-GCM PDU blocks add authenticated encryption. The graph focuses on runtime capabilities documented in the README and sampled implementations; key generation and some block details are documented but their implementation excerpts were not provided.
Main entry points: sym_enc_impl.cc PDU encrypt · sym_enc_tagged_bb_impl.cc Tagged encrypt · auth_enc_aes_gcm_impl.cc AES-GCM encrypt · sym_dec_impl.cc PDU decrypt
Components 11
Symmetric PDU
- PDU encrypt
lib/sym_enc_impl.cc - PDU decrypt
lib/sym_dec_impl.cc
Tagged Streams
- Tagged encrypt
lib/sym_enc_tagged_bb_impl.cc - Tagged decrypt
lib/sym_dec_tagged_bb_impl.cc
Authenticated PDU
- AES-GCM encrypt
lib/auth_enc_aes_gcm_impl.cc - AES-GCM decrypt
lib/auth_dec_aes_gcm_impl.cc
Crypto Support
- PDU digest
lib/hash_impl.cc - Key generation
lib/key.cc - Cipher descriptor
lib/sym_ciph_desc.cc
Other components
- GNU Radio flow
- OpenSSL
Connections 18
- GNU Radio flow → PDU encrypt: sends PDUs
- GNU Radio flow → PDU decrypt: sends PDUs
- GNU Radio flow → Tagged encrypt: sends stream
- GNU Radio flow → Tagged decrypt: sends stream
- GNU Radio flow → AES-GCM encrypt: sends PDUs
lib/auth_enc_aes_gcm_impl.cc - GNU Radio flow → AES-GCM decrypt: sends PDUs
lib/auth_dec_aes_gcm_impl.cc - GNU Radio flow → PDU digest: sends PDUs
- GNU Radio flow → Key generation: requests keys
- PDU encrypt → PDU decrypt: encrypts for
- Tagged encrypt → Tagged decrypt: encrypts for
- AES-GCM encrypt → AES-GCM decrypt: encrypts for
- PDU encrypt → OpenSSL: encrypts with
lib/sym_enc_impl.cc - PDU decrypt → OpenSSL: decrypts with
lib/sym_dec_impl.cc - Tagged encrypt → OpenSSL: encrypts with
lib/sym_enc_tagged_bb_impl.cc - Tagged decrypt → OpenSSL: decrypts with
lib/sym_dec_tagged_bb_impl.cc - AES-GCM encrypt → OpenSSL: encrypts with
lib/auth_enc_aes_gcm_impl.cc - AES-GCM decrypt → OpenSSL: decrypts with
lib/auth_dec_aes_gcm_impl.cc - PDU digest → OpenSSL: hashes with