11.12.3.4.206. Function sss_key_object_set_eccgfp_group

11.12.3.4.206.1. Function Documentation

sss_status_t sss_key_object_set_eccgfp_group(sss_object_t *keyObject, sss_eccgfp_group_t *group)

Set elliptic curve domain parameters over Fp for a key object.

When the key object is a reference to one of ECC Private, ECC Public or ECC Pair key types, this function shall be used to specify the exact domain parameters prior to using the key object for ECDSA or ECDH algorithms.

Parameters
  • keyObject: The destination key object

  • group: Pointer to elliptic curve domain parameters over Fp (sextuple p,a,b,G,n,h)