Searched refs:cofactor (Results 1 – 7 of 7) sorted by relevance
/external/openssl/crypto/ec/ |
D | eck_prn.c | 155 *order=NULL, *cofactor=NULL; in ECPKParameters_print() local 205 (cofactor = BN_new()) == NULL) in ECPKParameters_print() 234 !EC_GROUP_get_cofactor(x, cofactor, NULL)) in ECPKParameters_print() 258 if (buf_len < (i = (size_t)BN_num_bytes(cofactor))) in ECPKParameters_print() 327 if ((cofactor != NULL) && !ASN1_bn_print(bp, "Cofactor: ", cofactor, in ECPKParameters_print() 346 if (cofactor) in ECPKParameters_print() 347 BN_free(cofactor); in ECPKParameters_print()
|
D | ec_lib.c | 104 BN_init(&ret->cofactor); in EC_GROUP_new() 135 BN_free(&group->cofactor); in EC_GROUP_free() 158 BN_clear_free(&group->cofactor); in EC_GROUP_clear_free() 220 if (!BN_copy(&dest->cofactor, &src->cofactor)) return 0; in EC_GROUP_copy() 284 …_generator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor) in EC_GROUP_set_generator() argument 304 if (cofactor != NULL) in EC_GROUP_set_generator() 305 { if (!BN_copy(&group->cofactor, cofactor)) return 0; } in EC_GROUP_set_generator() 307 BN_zero(&group->cofactor); in EC_GROUP_set_generator() 328 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx) in EC_GROUP_get_cofactor() argument 330 if (!BN_copy(cofactor, &group->cofactor)) in EC_GROUP_get_cofactor() [all …]
|
D | ec_asn1.c | 178 ASN1_INTEGER *cofactor; member 249 ASN1_OPT(ECPARAMETERS, cofactor, ASN1_INTEGER) 661 ret->cofactor = BN_to_ASN1_INTEGER(tmp, ret->cofactor); in ec_asn1_group2parameters() 662 if (ret->cofactor == NULL) in ec_asn1_group2parameters() 963 if (params->cofactor == NULL) in ec_asn1_parameters2group() 972 if ((b = ASN1_INTEGER_to_BN(params->cofactor, b)) == NULL) in ec_asn1_parameters2group()
|
D | ec_curve.c | 81 unsigned int cofactor; /* promoted to BN_ULONG */ member 1973 || !BN_set_word(x, (BN_ULONG)data->cofactor)) in ec_group_new_from_data()
|
D | ec.h | 219 …generator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor); 241 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx);
|
D | ec_lcl.h | 188 BIGNUM order, cofactor; member
|
/external/openssl/include/openssl/ |
D | ec.h | 219 …generator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor); 241 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx);
|