Searched refs:curve (Results 1 - 6 of 6) sorted by relevance

/freebsd-10.1-release/crypto/openssh/
H A Dbufec.c50 buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve, argument
61 len = EC_POINT_point2oct(curve, point, POINT_CONVERSION_UNCOMPRESSED,
70 if (EC_POINT_point2oct(curve, point, POINT_CONVERSION_UNCOMPRESSED,
88 buffer_put_ecpoint(Buffer *buffer, const EC_GROUP *curve, argument
91 if (buffer_put_ecpoint_ret(buffer, curve, point) == -1)
96 buffer_get_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve, argument
125 if (EC_POINT_oct2point(curve, point, buf, len, bnctx) != 1) {
129 /* EC_POINT_oct2point verifies that the point is on the curve for us */
139 buffer_get_ecpoint(Buffer *buffer, const EC_GROUP *curve, argument
142 if (buffer_get_ecpoint_ret(buffer, curve, poin
[all...]
H A Dkey.c748 debug("key_read: invalid curve");
791 error("key_read: type mismatch: EC curve mismatch");
1531 char *ktype = NULL, *curve = NULL; local
1601 if ((curve = buffer_get_string_ret(&b, NULL)) == NULL) {
1602 error("key_from_blob: can't read ecdsa curve");
1605 if (key->ecdsa_nid != key_curve_name_to_nid(curve)) {
1606 error("key_from_blob: ecdsa curve doesn't match type");
1664 free(curve);
2170 debug("%s: unsupported EC curve name \"%.100s\"", __func__, name);
2189 error("%s: unsupported EC curve ni
2476 char *curve; local
[all...]
H A Dpacket.c650 packet_put_ecpoint(const EC_GROUP *curve, const EC_POINT *point) argument
652 buffer_put_ecpoint(&active_state->outgoing_packet, curve, point);
1590 packet_get_ecpoint(const EC_GROUP *curve, EC_POINT *point) argument
1592 buffer_get_ecpoint(&active_state->incoming_packet, curve, point);
/freebsd-10.1-release/sys/dev/syscons/dragon/
H A Ddragon_saver.c66 static int curve; variable
137 if (curve > CURVE) {
149 curve = 0;
154 ++curve;
158 switch (curve) {
169 (void)gdraw(dx, dy, curve); out = 0;
190 if (gdraw(dx, dy, curve)) {
195 order = ORDER; /* force to terminate this curve */
212 curve = CURVE + 1;
/freebsd-10.1-release/crypto/openssl/crypto/ec/
H A Dec_asn1.c179 X9_62_CURVE *curve; member in struct:ec_parameters_st
250 ASN1_SIMPLE(ECPARAMETERS, curve, X9_62_CURVE),
431 static int ec_asn1_group2curve(const EC_GROUP *group, X9_62_CURVE *curve) argument
440 if (!group || !curve || !curve->a || !curve->b)
502 if (!M_ASN1_OCTET_STRING_set(curve->a, a_buf, len_1) ||
503 !M_ASN1_OCTET_STRING_set(curve->b, b_buf, len_2)) {
510 if (!curve->seed)
511 if ((curve
[all...]
H A Dec_curve.c67 * The elliptic curve binary polynomial software is originally written by
1066 * The algorithm used to derive the curve parameters from the seed
1105 * The seed here was used to created the curve parameters in normal
2215 * recommended (Weil-descent). As the group order is not a prime this curve
2250 * recommended (Weil-descent). As the group order is not a prime this curve
2296 "SECG/WTLS curve over a 112 bit prime field"},
2298 "SECG curve over a 112 bit prime field"},
2300 "SECG curve over a 128 bit prime field"},
2302 "SECG curve over a 128 bit prime field"},
2304 "SECG curve ove
2467 ec_group_new_from_data(const ec_list_element curve) argument
[all...]

Completed in 130 milliseconds