Functions | |
cy_en_cryptolite_status_t | Cy_Cryptolite_ECC_MakeKeyPair (CRYPTOLITE_Type *base, cy_stc_cryptolite_context_ecdsa_t *cfContext, cy_en_cryptolite_ecc_curve_id_t curveID, cy_stc_cryptolite_ecc_key *key, cy_func_get_random_data_t GetRandomDataFunc, void *randomDataInfo) |
Generate a Private & Public Key pair. More... | |
cy_en_cryptolite_status_t | Cy_Cryptolite_ECC_MakePrivateKey (CRYPTOLITE_Type *base, cy_stc_cryptolite_context_ecdsa_t *cfContext, cy_en_cryptolite_ecc_curve_id_t curveID, const uint8_t *privateKey, cy_func_get_random_data_t GetRandomDataFunc, void *randomDataInfo) |
Generate a Private key. More... | |
cy_en_cryptolite_status_t | Cy_Cryptolite_ECC_MakePublicKey (CRYPTOLITE_Type *base, cy_stc_cryptolite_context_ecdsa_t *cfContext, cy_en_cryptolite_ecc_curve_id_t curveID, const uint8_t *privateKey, cy_stc_cryptolite_ecc_key *publicKey) |
Generate a public key. More... | |
cy_en_cryptolite_status_t Cy_Cryptolite_ECC_MakeKeyPair | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_context_ecdsa_t * | cfContext, | ||
cy_en_cryptolite_ecc_curve_id_t | curveID, | ||
cy_stc_cryptolite_ecc_key * | key, | ||
cy_func_get_random_data_t | GetRandomDataFunc, | ||
void * | randomDataInfo | ||
) |
Generate a Private & Public Key pair.
base | The pointer to a Cryptolite instance. |
cfContext | The pointer to the cy_stc_cryptolite_context_ecdsa_t. |
curveID | The ECC curve id. |
key | The ECC key. See cy_stc_cryptolite_ecc_key. |
GetRandomDataFunc | See cy_func_get_random_data_t. |
randomDataInfo |
cy_en_cryptolite_status_t Cy_Cryptolite_ECC_MakePrivateKey | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_context_ecdsa_t * | cfContext, | ||
cy_en_cryptolite_ecc_curve_id_t | curveID, | ||
const uint8_t * | privateKey, | ||
cy_func_get_random_data_t | GetRandomDataFunc, | ||
void * | randomDataInfo | ||
) |
Generate a Private key.
base | The pointer to a Cryptolite instance. |
cfContext | The pointer to the cy_stc_cryptolite_context_ecdsa_t. |
curveID | The ECC curve id. |
privateKey | The pointer to the ECC private key. |
GetRandomDataFunc | See cy_func_get_random_data_t. |
randomDataInfo |
cy_en_cryptolite_status_t Cy_Cryptolite_ECC_MakePublicKey | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_context_ecdsa_t * | cfContext, | ||
cy_en_cryptolite_ecc_curve_id_t | curveID, | ||
const uint8_t * | privateKey, | ||
cy_stc_cryptolite_ecc_key * | publicKey | ||
) |
Generate a public key.
base | The pointer to a Cryptolite instance. |
cfContext | The pointer to the cy_stc_cryptolite_context_ecdsa_t. |
curveID | The ECC curve id. |
privateKey | The pointer to the ECC private key. |
publicKey | The generated public ECC key. See cy_stc_cryptolite_ecc_key. |