if (message.length <= 256) {
logger.error("Received a message from "+sender+" when we have no inboundSymKey but it is too short to possibly contain one (length: "+message.length+")");
return;
}
inboundSymKeyEncoded = message.subsegment(0, 256);
inboundSymKey = new TrSymKey(TrCrypto.decryptRaw(inboundSymKeyEncoded, iface.myPrivateKey));
logger.debug("decoded inboundSymKey");
if (isUnilateralInbound()) {
logger.debug("Unilateral inbound, so we use the inboundSymKey to encrypt outbound messages too, and we know remote has cached it");
outboundSymKey = inboundSymKey;