Patent ID: 9519757
Filing Date: 2016-12-13
CPC Classification: G06F,G09C,H04L

Claim Text:
1. A method for setting up secure media encryption in one function call, comprising: providing an interface for an application executing in an emulated environment of a host operating system, in which the application accesses a security module in the host operating system through function calls to the interface; identifying two or more related function calls, from the application to the module located outside of the emulated environment, for setting up secure media encryption, in which the two or more related function calls comprise at least two of: a function call to create a cryptography context; a function call to randomly generate an encryption key; a function call to compute a hash subkey; a function call to create an advanced encryption standard in Galois Counter Mode (AES-GCM) cipher instance; and a function call to store the AES-GCM cipher instance and the computed hash subkey in the cryptography context; combining the two or more related function calls into a single function call; and executing the single combined function call to the module of the host operating system located outside of the emulated environment to perform the two or more related function calls; identifying a type of encryption to be setup, wherein identifying the type of encryption indicates whether a different initialization vector should be generated for each distinct set of input data to be encrypted; and receiving an input parameter, at the application, that identifies an initialization vector generation algorithm, wherein at least one of the two or more related function calls is based, at least in part, on the received input parameter.