Lines Matching refs:seed
66 ASN1_BIT_STRING *seed; member
143 ASN1_OPT(X9_62_CURVE, seed, ASN1_BIT_STRING)
354 if (group->seed) { in ec_asn1_group2curve()
355 if (!curve->seed) in ec_asn1_group2curve()
356 if ((curve->seed = ASN1_BIT_STRING_new()) == NULL) { in ec_asn1_group2curve()
360 ossl_asn1_string_set_bits_left(curve->seed, 0); in ec_asn1_group2curve()
361 if (!ASN1_BIT_STRING_set(curve->seed, group->seed, in ec_asn1_group2curve()
367 ASN1_BIT_STRING_free(curve->seed); in ec_asn1_group2curve()
368 curve->seed = NULL; in ec_asn1_group2curve()
687 if (params->curve->seed != NULL) { in EC_GROUP_new_from_ecparameters()
694 if (params->curve->seed->length == 0) { in EC_GROUP_new_from_ecparameters()
698 OPENSSL_free(ret->seed); in EC_GROUP_new_from_ecparameters()
699 if ((ret->seed = OPENSSL_malloc(params->curve->seed->length)) == NULL) in EC_GROUP_new_from_ecparameters()
701 memcpy(ret->seed, params->curve->seed->data, in EC_GROUP_new_from_ecparameters()
702 params->curve->seed->length); in EC_GROUP_new_from_ecparameters()
703 ret->seed_len = params->curve->seed->length; in EC_GROUP_new_from_ecparameters()
821 if (params->curve->seed == NULL) { in EC_GROUP_new_from_ecparameters()