| /freebsd/contrib/ntp/sntp/libevent/sample/ |
| H A D | le-proxy.c | 162 struct bufferevent *b_out, *b_in; in accept_cb() local 169 b_out = bufferevent_socket_new(base, -1, in accept_cb() 173 b_out = bufferevent_openssl_socket_new(base, -1, ssl, in accept_cb() 178 assert(b_in && b_out); in accept_cb() 180 if (bufferevent_socket_connect(b_out, in accept_cb() 183 bufferevent_free(b_out); in accept_cb() 192 b_out, ssl, BUFFEREVENT_SSL_CONNECTING, in accept_cb() 196 bufferevent_free(b_out); in accept_cb() 200 b_out = b_ssl; in accept_cb() 203 bufferevent_setcb(b_in, readcb, NULL, eventcb, b_out); in accept_cb() [all …]
|
| /freebsd/contrib/libevent/sample/ |
| H A D | le-proxy.c | 162 struct bufferevent *b_out, *b_in; in accept_cb() local 169 b_out = bufferevent_socket_new(base, -1, in accept_cb() 173 b_out = bufferevent_openssl_socket_new(base, -1, ssl, in accept_cb() 178 assert(b_in && b_out); in accept_cb() 180 if (bufferevent_socket_connect(b_out, in accept_cb() 183 bufferevent_free(b_out); in accept_cb() 192 b_out, ssl, BUFFEREVENT_SSL_CONNECTING, in accept_cb() 196 bufferevent_free(b_out); in accept_cb() 200 b_out = b_ssl; in accept_cb() 203 bufferevent_setcb(b_in, readcb, NULL, eventcb, b_out); in accept_cb() [all …]
|
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | ecp_nistp224.c | 332 felem_bytearray b_out; in BN_to_felem() local 339 num_bytes = BN_bn2lebinpad(bn, b_out, sizeof(b_out)); in BN_to_felem() 344 bin28_to_felem(out, b_out); in BN_to_felem() 351 felem_bytearray b_out; in felem_to_BN() local 352 felem_to_bin28(b_out, in); in felem_to_BN() 353 return BN_lebin2bn(b_out, sizeof(b_out), out); in felem_to_BN()
|
| H A D | ecp_nistp384.c | 143 felem_bytearray b_out; in BN_to_felem() local 150 num_bytes = BN_bn2lebinpad(bn, b_out, sizeof(b_out)); in BN_to_felem() 155 bin48_to_felem(out, b_out); in BN_to_felem() 162 felem_bytearray b_out; in felem_to_BN() local 164 felem_to_bin48(b_out, in); in felem_to_BN() 165 return BN_lebin2bn(b_out, sizeof(b_out), out); in felem_to_BN()
|
| H A D | ecp_nistp521.c | 177 felem_bytearray b_out; in BN_to_felem() local 184 num_bytes = BN_bn2lebinpad(bn, b_out, sizeof(b_out)); in BN_to_felem() 189 bin66_to_felem(out, b_out); in BN_to_felem() 196 felem_bytearray b_out; in felem_to_BN() local 197 felem_to_bin66(b_out, in); in felem_to_BN() 198 return BN_lebin2bn(b_out, sizeof(b_out), out); in felem_to_BN()
|
| H A D | ecp_nistp256.c | 153 felem_bytearray b_out; in BN_to_felem() local 160 num_bytes = BN_bn2lebinpad(bn, b_out, sizeof(b_out)); in BN_to_felem() 165 bin32_to_felem(out, b_out); in BN_to_felem() 172 felem_bytearray b_out; in smallfelem_to_BN() local 173 smallfelem_to_bin32(b_out, in); in smallfelem_to_BN() 174 return BN_lebin2bn(b_out, sizeof(b_out), out); in smallfelem_to_BN()
|
| /freebsd/crypto/openssl/test/ |
| H A D | ectest.c | 2888 BIGNUM *p_out = NULL, *a_out = NULL, *b_out = NULL; in do_test_custom_explicit_fromdata() local 2988 &b_out)) in do_test_custom_explicit_fromdata() 2989 || !TEST_BN_eq(b_out, b) in do_test_custom_explicit_fromdata() 3089 BN_free(b_out); in do_test_custom_explicit_fromdata()
|