Building Sample PKCS#11 App for VEK Generation, Encryption, and Decryption

The platform contains sample PKCS#11 app, which is used for:

  • Generation, encryption, and decryption of VEK.
  • Derivation of VEK encryption key from OEM_K1 with derivation strings as input.

The sources, headers, and build scripts are available at:

drive-linux/samples/security/efs_key

To build efs_key

  • Execute the command:
    $ make

    This generates efs_key executable.

To rebuild efs_key

  • Execute these commands for incremental builds:
    $ cd drive-linux/samples/security/efs_key
    $ make
  • Execute these commands for clean builds:
    $ cd drive-linux/samples/security/efs_key
    $ make clean
    $ make