Home | History | Annotate | Download | only in crypto

Lines Matching full:packet

173 // These constants are the tag numbers for the various packet types that we
233 // ParsePacket parses an OpenPGP packet from reader. See RFC 4880, section
247 // Old format packet.
269 // New format packet.
503 // ParseSymmetricallyEncrypted parses a Symmetrically Encrypted packet. See
569 // packet. This packet is specified such that the header is always
595 // ParseLiteralData parses a Literal Data packet. See RFC 4880, section 5.9.
631 // MakePacket returns an OpenPGP packet tagged as type |tag|. It always uses
656 // SerializeLiteralData returns a Literal Data packet containing |contents|
674 // packet. See RFC 4880, section 5.3.
701 // returns a Symmetrically Encrypted packet containing the ciphertext. See
709 ByteString packet;
710 packet.push_back(1); // version 1
729 packet += ByteString(prefix, sizeof(prefix));
732 plaintext_copy.push_back(0xd3); // MDC packet
733 plaintext_copy.push_back(20); // packet length (20 bytes)
760 packet.push_back(c);
763 return MakePacket(kSymmetricallyEncryptedTag, packet);