MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / encrypts

Function encrypts

dds/DCPS/security/CryptoBuiltInImpl.cpp:1064–1070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1062
1063namespace {
1064 bool encrypts(const KeyMaterial_AES_GCM_GMAC& k)
1065 {
1066 const CryptoTransformKind& kind = k.transformation_kind;
1067 return kind[0] == 0 && kind[1] == 0 && kind[2] == 0
1068 && (kind[TransformKindIndex] == CRYPTO_TRANSFORMATION_KIND_AES128_GCM ||
1069 kind[TransformKindIndex] == CRYPTO_TRANSFORMATION_KIND_AES256_GCM);
1070 }
1071
1072 bool authenticates(const KeyMaterial_AES_GCM_GMAC& k)
1073 {

Callers 6

encode_submessageMethod · 0.85
encode_rtps_messageMethod · 0.85
decode_rtps_messageMethod · 0.85
decode_submessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected