Patent ID: 8826000

Claim:
A method comprising: executing, by a device, an instruction of an application program, the instruction requiring cryptographic-related processing; generating, by the device and using the application program, a first message, the first message corresponding to a message of a plurality of messages, each of the plurality of messages invoking a different cryptographic-related processing, the plurality of messages being stored in the device, the message, of the plurality of messages, relating to the cryptographic-related processing required by the instruction, the first message being transmitted to an authentication call component or an authentication socket component in a kernel space of the device; generating, by the device and using the authentication call component or the authentication socket component, a second message that is transmitted to an authentication request component in the kernel space, the second message being based on the first message; transmitting, by the device and using the authentication request component, the second message to a cryptographic processing component of a plurality of cryptographic processing components in the kernel space, each of the plurality of cryptographic processing components being associated with a different type of cryptographic-related processing, the second message being transmitted to the cryptographic processing component based on the cryptographic processing component being associated with a type of the cryptographic-related processing; and performing, by the device and using the cryptographic processing component, the cryptographic-related processing required by the instruction based on the second message.