Home
last modified time | relevance | path

Searched full:srp (Results 1 – 25 of 204) sorted by relevance

123456789

/freebsd/crypto/openssl/test/ssl-tests/
H A D23-srp.cnf5 test-0 = 0-srp
6 test-1 = 1-srp-bad-password
7 test-2 = 2-srp-auth
8 test-3 = 3-srp-auth-bad-password
11 [0-srp]
12 ssl_conf = 0-srp-ssl
14 [0-srp-ssl]
15 server = 0-srp-server
16 client = 0-srp-client
18 [0-srp-server]
[all …]
H A D23-srp.cnf.in14 # SRP is only supported up to TLSv1.2
18 name => "srp",
20 "CipherString" => "SRP",
28 "CipherString" => "SRP",
40 name => "srp-bad-password",
42 "CipherString" => "SRP",
50 "CipherString" => "SRP",
63 name => "srp-auth",
85 name => "srp-auth-bad-password",
/freebsd/lib/libc/rpc/
H A Dsvc_raw.c81 struct svc_raw_private *srp; in svc_raw_create() local
82 /* VARIABLES PROTECTED BY svcraw_lock: svc_raw_private, srp */ in svc_raw_create()
85 srp = svc_raw_private; in svc_raw_create()
86 if (srp == NULL) { in svc_raw_create()
87 srp = (struct svc_raw_private *)calloc(1, sizeof (*srp)); in svc_raw_create()
88 if (srp == NULL) { in svc_raw_create()
95 free(srp); in svc_raw_create()
100 srp->raw_buf = __rpc_rawcombuf; /* Share it with the client */ in svc_raw_create()
101 srp->server = svc_xprt_alloc(); in svc_raw_create()
102 if (srp->server == NULL) { in svc_raw_create()
[all …]
/freebsd/crypto/krb5/src/lib/rpc/
H A Dsvc_raw.c77 struct svcraw_private *srp = svcraw_private; in svcraw_create() local
79 if (srp == 0) { in svcraw_create()
80 srp = (struct svcraw_private *)calloc(1, sizeof (*srp)); in svcraw_create()
81 if (srp == 0) in svcraw_create()
83 svcraw_private = srp; in svcraw_create()
85 srp->server.xp_sock = 0; in svcraw_create()
86 srp->server.xp_port = 0; in svcraw_create()
87 srp->server.xp_ops = &server_ops; in svcraw_create()
88 srp->server.xp_verf.oa_base = srp->verf_body; in svcraw_create()
89 xdrmem_create(&srp->xdr_stream, srp->_raw_buf, UDPMSGSIZE, XDR_FREE); in svcraw_create()
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DSSL_CTX_set_srp_password.377 \&\- SRP control operations
116 These functions provide access to SRP (Secure Remote Password) parameters,
117 an alternate authentication mechanism for TLS. SRP allows the use of usernames
119 eavesdropper. SRP also supplies a shared secret at the end of the authentication
122 The SRP protocol, version 3 is specified in RFC 2945. SRP version 6 is described
125 The \fBSSL_CTX_set_srp_username()\fR function sets the SRP username for \fBctx\fR. This
129 The \fBSSL_CTX_set_srp_password()\fR function sets the SRP password for \fBctx\fR. This
133 The \fBSSL_CTX_set_srp_strength()\fR function sets the SRP strength for \fBctx\fR. This
134 is the minimal length of the SRP prime in bits. If not specified 1024 is used.
141 that is invoked when an SRP username is found in a ClientHello.
[all …]
H A DSRP_create_verifier.370 \&\- SRP authentication primitives
74 \& #include <openssl/srp.h>
102 The \fBSRP_create_verifier_BN_ex()\fR function creates an SRP password verifier from
122 It is possible to pass NULL as \fIN\fR and an SRP group id as \fIg\fR instead to
124 If both \fIN\fR and \fIg\fR are NULL the 8192\-bit SRP group parameters are used.
145 (i.e. the prime bit size) or NULL if the arguments are not valid SRP group parameters.
157 \& #include <openssl/srp.h>
179 \&\fBopenssl\-srp\fR\|(1),
H A DSRP_VBASE_new.370 \&\- Functions to create and manage a stack of SRP user verifier information
74 \& #include <openssl/srp.h>
96 The \fBSRP_VBASE_new()\fR function allocates a structure to store server side SRP
101 as described in section 2.5.1.3 'Unknown SRP' of RFC 5054.
114 to use \fBopenssl\-srp\fR\|(1) to generate this file.
127 username. When using SRP as a TLS authentication mechanism, this will cause
145 \&\fBopenssl\-srp\fR\|(1),
H A DSRP_Calc_B.374 \&\- SRP authentication primitives
78 \& #include <openssl/srp.h>
114 The SRP functions described on this page are used to calculate various
115 parameters and keys used by SRP as defined in RFC2945. The server key and \fIB\fR
137 \&\fBopenssl\-srp\fR\|(1),
H A DSRP_user_pwd_new.369 \&\- Functions to create a record of SRP user verifier information
73 \& #include <openssl/srp.h>
108 The \fBSRP_user_pwd_set_gN()\fR function sets the SRP group parameters for \fBuser_pwd\fR.
118 \&\fBopenssl\-srp\fR\|(1),
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_set_srp_password.pod18 - SRP control operations
55 These functions provide access to SRP (Secure Remote Password) parameters,
56 an alternate authentication mechanism for TLS. SRP allows the use of usernames
58 eavesdropper. SRP also supplies a shared secret at the end of the authentication
61 The SRP protocol, version 3 is specified in RFC 2945. SRP version 6 is described
64 The SSL_CTX_set_srp_username() function sets the SRP username for B<ctx>. This
68 The SSL_CTX_set_srp_password() function sets the SRP password for B<ctx>. This
72 The SSL_CTX_set_srp_strength() function sets the SRP strength for B<ctx>. This
73 is the minimal length of the SRP prime in bits. If not specified 1024 is used.
80 that is invoked when an SRP username is found in a ClientHello.
[all …]
H A DSRP_create_verifier.pod11 - SRP authentication primitives
15 #include <openssl/srp.h>
41 The SRP_create_verifier_BN_ex() function creates an SRP password verifier from
61 It is possible to pass NULL as I<N> and an SRP group id as I<g> instead to
63 If both I<N> and I<g> are NULL the 8192-bit SRP group parameters are used.
68 SRP group parameters from RFC 5054 appendix A.
71 SRP group size.
85 (i.e. the prime bit size) or NULL if the arguments are not valid SRP group parameters.
97 #include <openssl/srp.h>
119 L<openssl-srp(1)>,
H A DSRP_VBASE_new.pod11 - Functions to create and manage a stack of SRP user verifier information
15 #include <openssl/srp.h>
35 The SRP_VBASE_new() function allocates a structure to store server side SRP
40 as described in section 2.5.1.3 'Unknown SRP' of RFC 5054.
53 to use L<openssl-srp(1)> to generate this file.
66 username. When using SRP as a TLS authentication mechanism, this will cause
86 L<openssl-srp(1)>,
H A DSRP_Calc_B.pod15 - SRP authentication primitives
19 #include <openssl/srp.h>
53 The SRP functions described on this page are used to calculate various
54 parameters and keys used by SRP as defined in RFC2945. The server key and I<B>
78 L<openssl-srp(1)>,
H A DSRP_user_pwd_new.pod10 - Functions to create a record of SRP user verifier information
14 #include <openssl/srp.h>
47 The SRP_user_pwd_set_gN() function sets the SRP group parameters for B<user_pwd>.
59 L<openssl-srp(1)>,
/freebsd/secure/usr.bin/openssl/man/
H A Dopenssl-srp.157 .IX Title "OPENSSL-SRP 1ossl"
58 .TH OPENSSL-SRP 1ossl 2025-09-30 3.5.4 OpenSSL
64 openssl\-srp \- maintain SRP password file
67 \&\fBopenssl srp\fR
91 This command is deprecated. It is used to maintain an SRP (secure remote
95 appropriate operation on the SRP file.
110 Add a user and SRP verifier.
113 Modify the SRP verifier of an existing user.
122 The particular SRP definition to use.
/freebsd/crypto/openssl/apps/lib/
H A Dtlssrp_depr.c12 * This file is to enable backwards compatibility for the SRP features of
15 * need to access deprecated SRP APIs.
22 #include <openssl/srp.h>
73 BIO_printf(bio_err, "SRP parameters:\n"); in ssl_srp_verify_param_cb()
87 "SRP param N and g are not known params, going to check deeper.\n"); in ssl_srp_verify_param_cb()
97 BIO_printf(bio_err, "SRP param N and g rejected.\n"); in ssl_srp_verify_param_cb()
106 char *pass = app_malloc(PWD_STRLEN + 1, "SRP password buffer"); in ssl_give_srp_client_pwd_cb()
111 cb_tmp.prompt_info = "SRP user"; in ssl_give_srp_client_pwd_cb()
126 BIO_printf(bio_err, "Unable to set SRP username\n"); in set_up_srp_arg()
165 BIO_printf(bio_err, "SRP username = \"%s\"\n", p->login); in ssl_srp_server_param_cb()
[all …]
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-srp.pod.in6 openssl-srp - maintain SRP password file
10 B<openssl srp>
30 This command is deprecated. It is used to maintain an SRP (secure remote
34 appropriate operation on the SRP file.
54 Add a user and SRP verifier.
58 Modify the SRP verifier of an existing user.
70 The particular SRP definition to use.
/freebsd/crypto/openssl/ssl/
H A Dtls_srp.c15 * We need to use the SRP deprecated APIs in order to implement the SSL SRP
27 # include <openssl/srp.h>
105 /* set SRP N/g param callback for verification */ in ssl_srp_ctx_init_intern()
108 /* set SRP client passwd callback */ in ssl_srp_ctx_init_intern()
413 SRP_CTX *srp = &s->srp_ctx; in srp_verify_server_param() local
418 if (BN_ucmp(srp->g, srp->N) >= 0 || BN_ucmp(srp->B, srp->N) >= 0 in srp_verify_server_param()
419 || BN_is_zero(srp->B)) { in srp_verify_server_param()
424 if (BN_num_bits(srp->N) < srp->strength) { in srp_verify_server_param()
429 if (srp->SRP_verify_param_callback) { in srp_verify_server_param()
430 if (srp->SRP_verify_param_callback(SSL_CONNECTION_GET_USER_SSL(s), in srp_verify_server_param()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Dgeneric.txt23 property is used if any real OTG features(HNP/SRP/ADP)
29 to be a srp-capable only B device.
30 - srp-disable: tells OTG controllers we want to disable OTG SRP, SRP is
H A Dusb-drd.yaml18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be
35 basic function of real OTG except you want it to be a srp-capable only B
39 srp-disable:
41 Tells OTG controllers we want to disable OTG SRP. SRP is optional for OTG
/freebsd/crypto/openssl/util/
H A Dlibssl.num5 SSL_CTX_set_srp_client_pwd_callback 5 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,SRP
7 SSL_CTX_set_srp_password 7 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,SRP
35 SSL_get_srp_g 36 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,SRP
42 SRP_Calc_A_param 43 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,SRP
44 SSL_SRP_CTX_free 45 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,SRP
69 SSL_CTX_set_srp_cb_arg 70 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,SRP
71 SSL_get_srp_N 72 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,SRP
96 SSL_CTX_set_srp_username_callback 97 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,SRP
124 SSL_get_srp_username 125 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,SRP
147 SSL_SRP_CTX_init 148 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,SRP
[all …]
/freebsd/crypto/openssl/apps/
H A Dsrp.c14 /* SRP is deprecated, so we're going to have to use some deprecated APIs */
27 #include <openssl/srp.h>
31 #define BASE_SECTION "srp"
148 BIO_printf(bio_err, "Internal error validating SRP verifier\n"); in srp_verify_user()
179 BIO_printf(bio_err, "Internal error creating SRP verifier\n"); in srp_create_user()
206 {"name", OPT_NAME, 's', "The particular srp definition to use"},
212 {"add", OPT_ADD, '-', "Add a user and SRP verifier"},
213 {"modify", OPT_MODIFY, '-', "Modify the SRP verifier of an existing user"},
218 {"srpvfile", OPT_SRPVFILE, '<', "The srp verifier file name"},
378 BIO_printf(bio_err, "Trying to read SRP verifier file \"%s\"\n", in srp_main()
[all …]
H A Dciphers.c67 {"srp", OPT_SRP, '-', "(deprecated) Include ciphersuites requiring SRP"},
100 int srp = 0; in ciphers_main() local
162 srp = 1; in ciphers_main()
202 if (srp) in ciphers_main()
/freebsd/crypto/openssl/apps/include/
H A Ds_apps.h13 #include <openssl/srp.h>
90 /* The client side SRP context that we pass to all SRP related callbacks */
104 /* The server side SRP context that we pass to all SRP related callbacks */
/freebsd/share/examples/scsi_target/
H A Dscsi_cmds.c410 struct scsi_read_capacity_data *srp; in tcmd_rd_cap() local
415 srp = (struct scsi_read_capacity_data *)ctio->data_ptr; in tcmd_rd_cap()
427 bzero(srp, sizeof(*srp)); in tcmd_rd_cap()
428 scsi_ulto4b(vsize, srp->addr); in tcmd_rd_cap()
429 scsi_ulto4b(sector_size, srp->length); in tcmd_rd_cap()
431 ctio->dxfer_len = sizeof(*srp); in tcmd_rd_cap()
442 struct scsi_read_capacity_data_long *srp; in tcmd_rd_cap16() local
447 srp = (struct scsi_read_capacity_data_long *)ctio->data_ptr; in tcmd_rd_cap16()
459 bzero(srp, sizeof(*srp)); in tcmd_rd_cap16()
460 scsi_u64to8b(volume_size - 1, srp->addr); in tcmd_rd_cap16()
[all …]

123456789