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

/freebsd-9.3-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.c652 packet_put_ecpoint(const EC_GROUP *curve, const EC_POINT *point) argument
654 buffer_put_ecpoint(&active_state->outgoing_packet, curve, point);
1592 packet_get_ecpoint(const EC_GROUP *curve, EC_POINT *point) argument
1594 buffer_get_ecpoint(&active_state->incoming_packet, curve, point);
/freebsd-9.3-release/crypto/openssl/demos/ssltest-ecc/
H A Dssltest.sh72 for curve in $ELLIPTIC_CURVE_LIST
74 echo "Testing AECDH-NULL-SHA (with $curve)"
76 -named_curve $curve -cipher AECDH-NULL-SHA
79 for curve in $ELLIPTIC_CURVE_LIST
81 echo "Testing AECDH-RC4-SHA (with $curve)"
83 -named_curve $curve -cipher AECDH-RC4-SHA
127 for curve in $ELLIPTIC_CURVE_LIST
129 echo "Testing ECDHE-ECDSA-AES128-SHA (2-way auth with $curve)"
133 -cipher ECDHE-ECDSA-AES128-SHA -named_curve $curve
/freebsd-9.3-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-9.3-release/crypto/openssl/crypto/ec/
H A Dec_asn1.c178 X9_62_CURVE *curve; member in struct:ec_parameters_st
249 ASN1_SIMPLE(ECPARAMETERS, curve, X9_62_CURVE),
423 static int ec_asn1_group2curve(const EC_GROUP *group, X9_62_CURVE *curve) argument
432 if (!group || !curve || !curve->a || !curve->b)
492 if (!M_ASN1_OCTET_STRING_set(curve->a, a_buf, len_1) ||
493 !M_ASN1_OCTET_STRING_set(curve->b, b_buf, len_2)) {
500 if (!curve->seed)
501 if ((curve
[all...]

Completed in 118 milliseconds