1. A processor comprising: a command first-in-first-out (FIFO) configured to store cipher algorithm commands, the cipher algorithm commands comprising a first cipher algorithm command; cryptographic cores; same-context-command FIFOs configured to store cipher algorithm commands of a same context, each of the same-context-command FIFOs coupled to a corresponding one the cryptographic cores; and a scheduler being coupled to each of the cryptographic cores and to the command FIFO and configured to: receive the first cipher algorithm command from the command FIFO; determine which of the cryptographic cores is processing a second cipher algorithm command; in response to one of the cryptographic cores in the core group processing a second cipher algorithm command, determine if the first cipher algorithm command received from the command FIFO is in the same context as the second cipher algorithm command being processed by the cryptographic core; and assign the first cipher algorithm command to a same-context-command FIFO corresponding to the cryptographic core processing the second cipher algorithm command if the first cipher algorithm command and the second cipher algorithm command are in the same context.