1. An electronic device comprising: a first processor configured to transmit a security context; and a second processor configured to process a packet to which security is applied based on the security context.