ECC key (huecc.h)

The next step in performing ECC operations is the creation of key objects. The ECC key operation functions are defined in huecc.h. Both of the functions hu_ECCKeySet() and hu_ECCKeyGen() can be used to create a public key object and/or a private key object.

To export a key from an sb_PrivateKey or sb_PublicKey object, call hu_ECCKeyGet().

Once you have completed operations that require ECC keys, call hu_ECCKeyDestroy() to destroy the key objects.

Last modified: 2014-05-14

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus