| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ssl-tests/ |
| H A D | 04-client_auth.conf | 5 test-0 = 0-server-auth-flex 6 test-1 = 1-client-auth-flex-request 7 test-2 = 2-client-auth-flex-require-fail 8 test-3 = 3-client-auth-flex-require 9 test-4 = 4-client-auth-flex-require-non-empty-names 10 test-5 = 5-client-auth-flex-noroot 11 test-6 = 6-server-auth-TLSv1 12 test-7 = 7-client-auth-TLSv1-request 13 test-8 = 8-client-auth-TLSv1-require-fail 14 test-9 = 9-client-auth-TLSv1-require [all …]
|
| H A D | 26-tls13_client_auth.conf | 5 test-0 = 0-server-auth-TLSv1.3 6 test-1 = 1-client-auth-TLSv1.3-request 7 test-2 = 2-client-auth-TLSv1.3-require-fail 8 test-3 = 3-client-auth-TLSv1.3-require 9 test-4 = 4-client-auth-TLSv1.3-require-non-empty-names 10 test-5 = 5-client-auth-TLSv1.3-noroot 11 test-6 = 6-client-auth-TLSv1.3-request-post-handshake 12 test-7 = 7-client-auth-TLSv1.3-require-fail-post-handshake 13 test-8 = 8-client-auth-TLSv1.3-require-post-handshake 14 test-9 = 9-client-auth-TLSv1.3-require-non-empty-names-post-handshake [all …]
|
| H A D | 23-srp.conf | 7 test-2 = 2-srp-auth 8 test-3 = 3-srp-auth-bad-password 81 [2-srp-auth] 82 ssl_conf = 2-srp-auth-ssl 84 [2-srp-auth-ssl] 85 server = 2-srp-auth-server 86 client = 2-srp-auth-client 88 [2-srp-auth-server] 94 [2-srp-auth-client] 102 server = 2-srp-auth-server-extra [all …]
|
| H A D | 26-tls13_client_auth.conf.in | 22 name => "server-auth-TLSv1.3", 36 name => "client-auth-TLSv1.3-request", 51 name => "client-auth-TLSv1.3-require-fail", 68 name => "client-auth-TLSv1.3-require", 91 name => "client-auth-TLSv1.3-require-non-empty-names", 115 name => "client-auth-TLSv1.3-noroot", 133 name => "client-auth-TLSv1.3-request-post-handshake", 149 name => "client-auth-TLSv1.3-require-fail-post-handshake", 166 name => "client-auth-TLSv1.3-require-post-handshake", 193 name => "client-auth-TLSv1.3-require-non-empty-names-post-handshake", [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/ssl-tests/ |
| H A D | 04-client_auth.cnf | 5 test-0 = 0-server-auth-flex 6 test-1 = 1-client-auth-flex-request 7 test-2 = 2-client-auth-flex-require-fail 8 test-3 = 3-client-auth-flex-require 9 test-4 = 4-client-auth-flex-require-non-empty-names 10 test-5 = 5-client-auth-flex-noroot 11 test-6 = 6-server-auth-TLSv1 12 test-7 = 7-client-auth-TLSv1-request 13 test-8 = 8-client-auth-TLSv1-require-fail 14 test-9 = 9-client-auth-TLSv1-require [all …]
|
| H A D | 26-tls13_client_auth.cnf | 5 test-0 = 0-server-auth-TLSv1.3 6 test-1 = 1-client-auth-TLSv1.3-request 7 test-2 = 2-client-auth-TLSv1.3-require-fail 8 test-3 = 3-client-auth-TLSv1.3-require 9 test-4 = 4-client-auth-TLSv1.3-require-non-empty-names 10 test-5 = 5-client-auth-TLSv1.3-noroot 11 test-6 = 6-client-auth-TLSv1.3-request-post-handshake 12 test-7 = 7-client-auth-TLSv1.3-require-fail-post-handshake 13 test-8 = 8-client-auth-TLSv1.3-require-post-handshake 14 test-9 = 9-client-auth-TLSv1.3-require-non-empty-names-post-handshake [all …]
|
| H A D | 23-srp.cnf | 7 test-2 = 2-srp-auth 8 test-3 = 3-srp-auth-bad-password 81 [2-srp-auth] 82 ssl_conf = 2-srp-auth-ssl 84 [2-srp-auth-ssl] 85 server = 2-srp-auth-server 86 client = 2-srp-auth-client 88 [2-srp-auth-server] 94 [2-srp-auth-client] 102 server = 2-srp-auth-server-extra [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/modules/hdcp/ |
| H A D | amdgpu_hdcp_ddc.c | 248 hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_read_bksv() 249 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_read_bksv() 255 &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_read_bcaps() 256 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_read_bcaps() 265 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus() 269 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus() 270 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_read_bstatus() 277 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p, in mod_hdcp_read_r0p() 278 sizeof(hdcp->auth.msg.hdcp1.r0p)); in mod_hdcp_read_r0p() 288 hdcp->auth.msg.hdcp1.ksvlist, in mod_hdcp_read_ksvlist() [all …]
|
| H A D | hdcp_log.h | 103 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, \ 104 sizeof(hdcp->auth.msg.hdcp1.bksv)); \ 105 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, \ 106 sizeof(hdcp->auth.msg.hdcp1.bcaps)); \ 107 HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an, \ 108 sizeof(hdcp->auth.msg.hdcp1.an)); \ 109 HDCP_DDC_WRITE_TRACE(hdcp, "AKSV", hdcp->auth.msg.hdcp1.aksv, \ 110 sizeof(hdcp->auth.msg.hdcp1.aksv)); \ 111 HDCP_DDC_WRITE_TRACE(hdcp, "AINFO", &hdcp->auth.msg.hdcp1.ainfo, \ 112 sizeof(hdcp->auth.msg.hdcp1.ainfo)); \ [all …]
|
| H A D | amdgpu_hdcp_psp.c | 42 in->session_handle = hdcp->auth.id; in hdcp2_message_init() 153 hdcp->auth.id = hdcp_cmd->out_msg.hdcp1_create_session.session_handle; in mod_hdcp_hdcp1_create_session() 158 hdcp->auth.msg.hdcp1.ainfo = hdcp_cmd->out_msg.hdcp1_create_session.ainfo_primary; in mod_hdcp_hdcp1_create_session() 159 memcpy(hdcp->auth.msg.hdcp1.aksv, hdcp_cmd->out_msg.hdcp1_create_session.aksv_primary, in mod_hdcp_hdcp1_create_session() 160 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_hdcp1_create_session() 161 memcpy(hdcp->auth.msg.hdcp1.an, hdcp_cmd->out_msg.hdcp1_create_session.an_primary, in mod_hdcp_hdcp1_create_session() 162 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_hdcp1_create_session() 176 hdcp_cmd->in_msg.hdcp1_destroy_session.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_destroy_session() 197 hdcp_cmd->in_msg.hdcp1_first_part_authentication.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_validate_rx() 199 memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_hdcp1_validate_rx() [all …]
|
| H A D | amdgpu_hdcp2_execution.c | 40 is_ready = HDCP_2_2_DP_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus_dp) ? 1 : 0; in check_receiver_id_list_ready() 42 is_ready = (HDCP_2_2_HDMI_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus[0]) && in check_receiver_id_list_ready() 43 (HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(hdcp->auth.msg.hdcp2.rxstatus[1]) << 8 | in check_receiver_id_list_ready() 44 hdcp->auth.msg.hdcp2.rxstatus[0])) ? 1 : 0; in check_receiver_id_list_ready() 54 status = (hdcp->auth.msg.hdcp2.rxcaps_dp[0] == HDCP_2_2_RX_CAPS_VERSION_VAL) && in check_hdcp2_capable() 55 HDCP_2_2_DP_HDCP_CAPABLE(hdcp->auth.msg.hdcp2.rxcaps_dp[2]) ? in check_hdcp2_capable() 59 status = (hdcp->auth.msg.hdcp2.hdcp2version_hdmi & HDCP_2_2_HDMI_SUPPORT_MASK) ? in check_hdcp2_capable() 71 ret = HDCP_2_2_DP_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus_dp) ? in check_reauthentication_request() 75 ret = HDCP_2_2_HDMI_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus[0]) ? in check_reauthentication_request() 84 return HDCP_2_2_DP_RXSTATUS_LINK_FAILED(hdcp->auth.msg.hdcp2.rxstatus_dp) ? in check_link_integrity_failure_dp() [all …]
|
| /netbsd-src/include/rpc/ |
| H A D | auth.h | 125 #define AUTH_NEXTVERF(auth) \ argument 126 ((*((auth)->ah_ops->ah_nextverf))(auth)) 127 #define auth_nextverf(auth) \ argument 128 ((*((auth)->ah_ops->ah_nextverf))(auth)) 130 #define AUTH_MARSHALL(auth, xdrs) \ argument 131 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs)) 132 #define auth_marshall(auth, xdrs) \ argument 133 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs)) 135 #define AUTH_VALIDATE(auth, verfp) \ argument 136 ((*((auth)->ah_ops->ah_validate))((auth), verfp)) [all …]
|
| /netbsd-src/external/bsd/unbound/dist/testdata/ |
| H A D | auth_nsec3_ent.rpl | 5 auth-zone: 6 name: "unbound-auth-test.nlnetlabs.nl." 27 TEMPFILE_NAME unbound-auth-test.nlnetlabs.nl 28 ## this is the inline file /tmp/xxx.unbound-auth-test.nlnetlabs.nl 30 TEMPFILE_CONTENTS unbound-auth-test.nlnetlabs.nl 31 ;; Zone: unbound-auth-test.nlnetlabs.nl. 33 unbound-auth-test.nlnetlabs.nl. 3600 IN SOA ns.nlnetlabs.nl. ralph.nlnetlabs.nl. 1554201247 14400 3… 34 unbound-auth-test.nlnetlabs.nl. 3600 IN RRSIG SOA 13 3 3600 20190430103407 20190402103407 15486 unb… 36 unbound-auth-test.nlnetlabs.nl. 3600 IN NS ns.nlnetlabs.nl. 37 unbound-auth-test.nlnetlabs.nl. 3600 IN RRSIG NS 13 3 3600 20190430103407 20190402103407 15486 unbo… [all …]
|
| /netbsd-src/lib/libc/rpc/ |
| H A D | auth_unix.c | 100 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) argument 113 AUTH *auth; in authunix_create() local 120 auth = mem_alloc(sizeof(*auth)); in authunix_create() 122 if (auth == NULL) { in authunix_create() 134 auth->ah_ops = authunix_ops(); in authunix_create() 135 auth->ah_private = au; in authunix_create() 136 auth->ah_verf = au->au_shcred = _null_auth; in authunix_create() 172 auth->ah_cred = au->au_origcred; in authunix_create() 173 marshal_new_auth(auth); in authunix_create() 174 return (auth); in authunix_create() [all …]
|
| /netbsd-src/sys/crypto/aes/ |
| H A D | aes_ccm.c | 92 uint8_t *auth = C->authctr; in aes_ccm_init() local 109 auth[0] = __SHIFTIN(adlen == 0 ? 0 : 1, CCM_AFLAGS_ADATA); in aes_ccm_init() 110 auth[0] |= __SHIFTIN((M - 2)/2, CCM_AFLAGS_M); in aes_ccm_init() 111 auth[0] |= __SHIFTIN(L - 1, CCM_AFLAGS_L); in aes_ccm_init() 112 memcpy(auth + 1, nonce, noncelen); in aes_ccm_init() 115 auth[16 - i - 1] = mlen & 0xff; in aes_ccm_init() 117 aes_enc(enc, auth, auth, C->nr); in aes_ccm_init() 123 auth[0] ^= adlen >> 8; in aes_ccm_init() 124 auth[1] ^= adlen; in aes_ccm_init() 127 auth[0] ^= 0xff; in aes_ccm_init() [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| H A D | build_auth.c | 112 Authenticator auth; in _krb5_build_authenticator() local 119 memset(&auth, 0, sizeof(auth)); in _krb5_build_authenticator() 121 auth.authenticator_vno = 5; in _krb5_build_authenticator() 122 ret = copy_Realm(&cred->client->realm, &auth.crealm); in _krb5_build_authenticator() 125 ret = copy_PrincipalName(&cred->client->name, &auth.cname); in _krb5_build_authenticator() 129 krb5_us_timeofday (context, &auth.ctime, &auth.cusec); in _krb5_build_authenticator() 131 ret = krb5_auth_con_getlocalsubkey(context, auth_context, &auth.subkey); in _krb5_build_authenticator() 140 ALLOC(auth.seq_number, 1); in _krb5_build_authenticator() 141 if(auth.seq_number == NULL) { in _krb5_build_authenticator() 145 *auth.seq_number = auth_context->local_seqnumber; in _krb5_build_authenticator() [all …]
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ |
| H A D | tsp_auth.c | 36 TPM_AUTH *auth) in secret_PerformAuth_OIAP() argument 59 if ((result = Init_AuthNonce(tspContext, cas, auth))) in secret_PerformAuth_OIAP() 72 if ((result = OIAP(tspContext, &auth->AuthHandle, &auth->NonceEven))) { in secret_PerformAuth_OIAP() 81 result = OIAP(tspContext, &auth->AuthHandle, &auth->NonceEven); in secret_PerformAuth_OIAP() 93 auth->fContinueAuthSession, in secret_PerformAuth_OIAP() 95 auth->NonceEven.nonce, in secret_PerformAuth_OIAP() 96 auth->NonceOdd.nonce, in secret_PerformAuth_OIAP() 99 (BYTE *)&auth->HMAC); in secret_PerformAuth_OIAP() 108 HMAC_Auth(secret.authdata, hashDigest->digest, auth); in secret_PerformAuth_OIAP() 118 TerminateHandle(tspContext, auth->AuthHandle); in secret_PerformAuth_OIAP() [all …]
|
| /netbsd-src/external/bsd/dhcpcd/dist/src/ |
| H A D | auth.c | 104 dhcp_auth_validate(struct authstate *state, const struct auth *auth, in dhcp_auth_validate() argument 139 if (!(auth->options & DHCPCD_AUTH_SEND)) { in dhcp_auth_validate() 146 } else if (protocol != auth->protocol || in dhcp_auth_validate() 147 algorithm != auth->algorithm || in dhcp_auth_validate() 148 rdm != auth->rdm) in dhcp_auth_validate() 153 auth->options & DHCPCD_AUTH_REQUIRE) in dhcp_auth_validate() 203 secretid = auth->token_rcv_secretid; in dhcp_auth_validate() 297 TAILQ_FOREACH(t, &auth->tokens, next) { in dhcp_auth_validate() 468 get_next_rdm_monotonic_clock(struct auth *auth) in get_next_rdm_monotonic_clock() argument 475 return ++auth->last_replay; /* report error? */ in get_next_rdm_monotonic_clock() [all …]
|
| /netbsd-src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/ |
| H A D | networkconfig.cpp | 72 int auth, encr = 0; in paramsFromScanResults() local 74 auth = AUTH_WPA2_EAP; in paramsFromScanResults() 76 auth = AUTH_WPA_EAP; in paramsFromScanResults() 78 auth = AUTH_WPA2_PSK; in paramsFromScanResults() 80 auth = AUTH_WPA_PSK; in paramsFromScanResults() 82 auth = AUTH_NONE_OPEN; in paramsFromScanResults() 90 if (auth == AUTH_NONE_OPEN) in paramsFromScanResults() 91 auth = AUTH_NONE_WEP; in paramsFromScanResults() 95 authSelect->setCurrentIndex(auth); in paramsFromScanResults() 96 authChanged(auth); in paramsFromScanResults() [all …]
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
| H A D | rpc_counter.c | 72 TPM_AUTH auth; in tcs_wrap_CreateCounter() local 102 if (getData(TCSD_PACKET_TYPE_AUTH, 4, &auth, 0, &data->comm)) { in tcs_wrap_CreateCounter() 109 result = TCSP_CreateCounter_Internal(hContext, LabelSize, pLabel, encauth, &auth, in tcs_wrap_CreateCounter() 118 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &auth, 0, &data->comm)) in tcs_wrap_CreateCounter() 137 TPM_AUTH auth; in tcs_wrap_IncrementCounter() local 150 if (getData(TCSD_PACKET_TYPE_AUTH, 2, &auth, 0, &data->comm)) in tcs_wrap_IncrementCounter() 155 result = TCSP_IncrementCounter_Internal(hContext, idCounter, &auth, &counterValue); in tcs_wrap_IncrementCounter() 161 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &auth, 0, &data->comm)) in tcs_wrap_IncrementCounter() 177 TPM_AUTH auth; in tcs_wrap_ReleaseCounter() local 190 if (getData(TCSD_PACKET_TYPE_AUTH, 2, &auth, 0, &data->comm)) in tcs_wrap_ReleaseCounter() [all …]
|
| /netbsd-src/sys/external/bsd/drm/dist/bsd-core/ |
| H A D | drm_auth.c | 140 struct drm_auth *auth = data; in drm_getmagic() local 144 auth->magic = file_priv->magic; in drm_getmagic() 150 auth->magic = old+1; in drm_getmagic() 152 if (!atomic_cmpset_int(&sequence, old, auth->magic)) in drm_getmagic() 154 } while (drm_find_file(dev, auth->magic)); in drm_getmagic() 155 file_priv->magic = auth->magic; in drm_getmagic() 156 drm_add_magic(dev, file_priv, auth->magic); in drm_getmagic() 160 DRM_DEBUG("%u\n", auth->magic); in drm_getmagic() 171 struct drm_auth *auth = data; in drm_authmagic() local 174 DRM_DEBUG("%u\n", auth->magic); in drm_authmagic() [all …]
|
| /netbsd-src/sys/crypto/aes/arch/arm/ |
| H A D | aes_neon_subr.c | 279 uint8x16_t auth; in aes_neon_cbcmac_update1() local 284 auth = loadblock(auth0); in aes_neon_cbcmac_update1() 286 auth = aes_neon_enc1(enc, auth ^ loadblock(in), nrounds); in aes_neon_cbcmac_update1() 287 storeblock(auth0, auth); in aes_neon_cbcmac_update1() 297 uint8x16_t auth, ptxt, ctr_be; in aes_neon_ccm_enc1() local 303 auth = loadblock(authctr); in aes_neon_ccm_enc1() 312 b2.val[0] = auth ^ ptxt; in aes_neon_ccm_enc1() 315 auth = b2.val[0]; in aes_neon_ccm_enc1() 318 storeblock(authctr, auth); in aes_neon_ccm_enc1() 329 uint8x16_t auth, ctr_be, ptxt, pad; in aes_neon_ccm_dec1() local [all …]
|
| /netbsd-src/usr.bin/ftp/ |
| H A D | fetch.c | 84 char *auth; member 214 initauthinfo(struct authinfo *ai, char *auth) in initauthinfo() argument 216 ai->auth = auth; in initauthinfo() 262 auth_url(const char *challenge, char **response, const struct authinfo *auth) in auth_url() argument 306 if (auth->user != NULL) { in auth_url() 307 (void)strlcpy(uuser, auth->user, sizeof(uuser)); in auth_url() 316 if (auth->pass != NULL) in auth_url() 317 upass = auth->pass; in auth_url() 475 struct authinfo *auth, struc in parse_url() argument 620 ftp_socket(const struct urlinfo * ui,void ** ssl,struct authinfo * auth) ftp_socket() argument 1068 do_auth(int hcode,const char * url,const char * penv,struct authinfo * wauth,struct authinfo * pauth,char ** auth,const char * message,volatile int * rval,struct urlinfo * ui) do_auth() argument 1116 negotiate_connection(FETCH * fin,const char * url,const char * penv,struct posinfo * pi,time_t * mtime,struct authinfo * wauth,struct authinfo * pauth,volatile int * rval,volatile int * ischunked,char ** auth,struct urlinfo * ui) negotiate_connection() argument 1280 connectmethod(FETCH * fin,const char * url,const char * penv,struct urlinfo * oui,struct urlinfo * ui,struct authinfo * wauth,struct authinfo * pauth,char ** auth,int * hasleading,volatile int * rval) connectmethod() argument 1403 char *volatile auth; fetch_url() local 1945 struct authinfo auth; fetch_ftp() local [all...] |
| /netbsd-src/sys/lib/libsa/ |
| H A D | rpc.c | 120 struct auth_info *auth; in rpc_call() local 148 send_head -= sizeof(*auth); in rpc_call() 149 auth = (struct auth_info *)send_head; in rpc_call() 150 auth->authtype = htonl(RPCAUTH_NULL); in rpc_call() 151 auth->authlen = 0; in rpc_call() 157 send_head -= sizeof(*auth); in rpc_call() 158 auth = (struct auth_info *)send_head; in rpc_call() 159 auth->authtype = htonl(RPCAUTH_UNIX); in rpc_call() 160 auth->authlen = htonl(sizeof(struct auth_unix)); in rpc_call() 163 send_head -= sizeof(*auth); in rpc_call() [all …]
|
| /netbsd-src/sys/crypto/aes/arch/x86/ |
| H A D | aes_ssse3_subr.c | 215 __m128i auth; in aes_ssse3_cbcmac_update1() local 220 auth = loadblock(auth0); in aes_ssse3_cbcmac_update1() 222 auth = aes_ssse3_enc1(enc, auth ^ loadblock(in), nrounds); in aes_ssse3_cbcmac_update1() 223 storeblock(auth0, auth); in aes_ssse3_cbcmac_update1() 234 __m128i auth, ctr_be, ctr, ptxt; in aes_ssse3_ccm_enc1() local 239 auth = loadblock(authctr); in aes_ssse3_ccm_enc1() 244 auth = aes_ssse3_enc1(enc, auth ^ ptxt, nrounds); in aes_ssse3_ccm_enc1() 249 storeblock(authctr, auth); in aes_ssse3_ccm_enc1() 261 __m128i auth, ctr_be, ctr, ptxt; in aes_ssse3_ccm_dec1() local 266 auth = loadblock(authctr); in aes_ssse3_ccm_dec1() [all …]
|