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

Function authenticates

dds/DCPS/security/CryptoBuiltInImpl.cpp:1072–1078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1070 }
1071
1072 bool authenticates(const KeyMaterial_AES_GCM_GMAC& k)
1073 {
1074 const CryptoTransformKind& kind = k.transformation_kind;
1075 return kind[0] == 0 && kind[1] == 0 && kind[2] == 0
1076 && (kind[TransformKindIndex] == CRYPTO_TRANSFORMATION_KIND_AES128_GMAC ||
1077 kind[TransformKindIndex] == CRYPTO_TRANSFORMATION_KIND_AES256_GMAC);
1078 }
1079
1080 struct CipherContext {
1081 EVP_CIPHER_CTX* ctx_;

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