Regarding how to use symmetric key for an openssl engine

董亚敏 dongyamin at xiaomi.com
Fri Sep 30 03:06:52 UTC 2022


Hi,
Here is question,can you help me out? Thanks.
Background:
   I am working to write an openssl engine to use cryptographic algorithm in a hardware device. The hardware device support asymmetric/symmetric algorithm, for example:rsa/aes.
Question:
  When I write openssl engine, I shall use ENGINE_load_private_key() function to load and use asymmetric private key in the hardware device.
  How to set and use symmetric key in the hardware device ? is there any example for my case?

#/******本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from XIAOMI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!******/#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20220930/4d15c94a/attachment.htm>


More information about the openssl-users mailing list