- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any sample code available for encrypting in AES? The development guide has:
sgx_status_t sgx_aes_ctr_encrypt( const sgx_aes_ctr_128bit_key_t *p_key, const uint8_t *p_src, const uint32_t src_len, uint8_t *p_ctr, const uint32_t ctr_inc_bits, uint8_t *p_dst, );
but i need more assistance in implementing it.
Also, if I want to hard code my own key instead of using a function to generate code, how can I declare that? Right now, I've declared it as an integer and passed 16 numbers into it. I'm not sure if that's the right way to do it though
Please help!
(Please be nice, I'm new to this)
Link Copied
0 Replies
![](/skins/images/872293744008A34B36F8ABF94A46CC66/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page