/freebsd/crypto/openssl/test/ssl-tests/ |
H A D | 23-srp.cnf | 5 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 D | 23-srp.cnf.in | 14 # 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 D | svc_raw.c | 81 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 D | svc_raw.c | 77 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/crypto/openssl/doc/man3/ |
H A D | SSL_CTX_set_srp_password.pod | 18 - 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 D | SRP_create_verifier.pod | 11 - 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 D | SRP_VBASE_new.pod | 11 - 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 D | SRP_Calc_B.pod | 15 - 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 D | SRP_user_pwd_new.pod | 10 - 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/lib/libcrypto/man/man3/ |
H A D | SSL_CTX_set_srp_password.3 | 153 \&\- SRP control operations 192 These functions provide access to \s-1SRP\s0 (Secure Remote Password) parameters, 193 an alternate authentication mechanism for \s-1TLS. SRP\s0 allows the use of usernames 195 eavesdropper. \s-1SRP\s0 also supplies a shared secret at the end of the authentication 198 The \s-1SRP\s0 protocol, version 3 is specified in \s-1RFC 2945. SRP\s0 version 6 is described 201 The \fBSSL_CTX_set_srp_username()\fR function sets the \s-1SRP\s0 username for \fBctx\fR. This 205 The \fBSSL_CTX_set_srp_password()\fR function sets the \s-1SRP\s0 password for \fBctx\fR. This 209 The \fBSSL_CTX_set_srp_strength()\fR function sets the \s-1SRP\s0 strength for \fBctx\fR. This 210 is the minimal length of the \s-1SRP\s0 prime in bits. If not specified 1024 is used. 217 that is invoked when an \s-1SRP\s0 username is found in a ClientHello. [all …]
|
H A D | SRP_create_verifier.3 | 146 \&\- SRP authentication primitives 150 \& #include <openssl/srp.h> 178 The \fBSRP_create_verifier_BN_ex()\fR function creates an \s-1SRP\s0 password verifier from 198 It is possible to pass \s-1NULL\s0 as \fIN\fR and an \s-1SRP\s0 group id as \fIg\fR instead to 200 If both \fIN\fR and \fIg\fR are \s-1NULL\s0 the 8192\-bit \s-1SRP\s0 group parameters are used. 205 \&\s-1SRP\s0 group parameters from \s-1RFC 5054\s0 appendix A. 208 \&\s-1SRP\s0 group size. 221 (i.e. the prime bit size) or \s-1NULL\s0 if the arguments are not valid \s-1SRP\s0 group parameters. 233 \& #include <openssl/srp.h> 255 \&\fBopenssl\-srp\fR\|(1),
|
H A D | SRP_VBASE_new.3 | 146 \&\- Functions to create and manage a stack of SRP user verifier information 150 \& #include <openssl/srp.h> 172 The \fBSRP_VBASE_new()\fR function allocates a structure to store server side \s-1SRP\s0 177 as described in section 2.5.1.3 'Unknown \s-1SRP\s0' of \s-1RFC 5054.\s0 190 to use \fBopenssl\-srp\fR\|(1) to generate this file. 203 username. When using \s-1SRP\s0 as a \s-1TLS\s0 authentication mechanism, this will cause 221 \&\fBopenssl\-srp\fR\|(1),
|
H A D | SRP_Calc_B.3 | 150 \&\- SRP authentication primitives 154 \& #include <openssl/srp.h> 190 The \s-1SRP\s0 functions described on this page are used to calculate various 191 parameters and keys used by \s-1SRP\s0 as defined in \s-1RFC2945.\s0 The server key and \fIB\fR 213 \&\fBopenssl\-srp\fR\|(1),
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | tlssrp_depr.c | 12 * 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 D | openssl-srp.pod.in | 6 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/secure/usr.bin/openssl/man/ |
H A D | openssl-srp.1 | 133 .IX Title "OPENSSL-SRP 1ossl" 134 .TH OPENSSL-SRP 1ossl "2023-09-22" "3.0.11" "OpenSSL" 140 openssl\-srp \- maintain SRP password file 143 \&\fBopenssl srp\fR 166 This command is deprecated. It is used to maintain an \s-1SRP\s0 (secure remote 170 appropriate operation on the \s-1SRP\s0 file. 185 Add a user and \s-1SRP\s0 verifier. 188 Modify the \s-1SRP\s0 verifier of an existing user. 197 The particular \s-1SRP\s0 definition to use.
|
/freebsd/crypto/openssl/ssl/ |
H A D | tls_srp.c | 15 * We need to use the SRP deprecated APIs in order to implement the SSL SRP 26 # include <openssl/srp.h> 101 /* set SRP N/g param callback for verification */ in ssl_srp_ctx_init_intern() 104 /* set SRP client passwd callback */ in ssl_srp_ctx_init_intern() 385 SRP_CTX *srp = &s->srp_ctx; in srp_verify_server_param() local 390 if (BN_ucmp(srp->g, srp->N) >= 0 || BN_ucmp(srp->B, srp->N) >= 0 in srp_verify_server_param() 391 || BN_is_zero(srp->B)) { in srp_verify_server_param() 396 if (BN_num_bits(srp->N) < srp->strength) { in srp_verify_server_param() 401 if (srp->SRP_verify_param_callback) { in srp_verify_server_param() 402 if (srp->SRP_verify_param_callback(s, srp->SRP_cb_arg) <= 0) { in srp_verify_server_param() [all …]
|
/freebsd/crypto/openssl/util/ |
H A D | libssl.num | 5 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/sys/contrib/device-tree/Bindings/usb/ |
H A D | generic.txt | 23 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 D | usb-drd.yaml | 18 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/apps/include/ |
H A D | s_apps.h | 13 #include <openssl/srp.h> 84 /* The client side SRP context that we pass to all SRP related callbacks */ 98 /* The server side SRP context that we pass to all SRP related callbacks */
|
/freebsd/crypto/openssl/apps/ |
H A D | srp.c | 14 /* 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 D | ciphers.c | 67 {"srp", OPT_SRP, '-', "(deprecated) Include ciphersuites requiring SRP"}, 100 int srp = 0; in ciphers_main() local 162 srp = 1; in ciphers_main() 203 if (srp) in ciphers_main()
|
/freebsd/share/examples/scsi_target/ |
H A D | scsi_cmds.c | 410 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 …]
|
/freebsd/contrib/netbsd-tests/crypto/libcrypto/ |
H A D | t_pubkey.sh | 91 atf_test_case srp 94 atf_set "descr" "Checks SRP key agreement protocol" 109 atf_add_test_case srp
|