Home
last modified time | relevance | path

Searched refs:secret_len (Results 1 – 13 of 13) sorted by relevance

/reactos/drivers/network/tcpip/lwip/src/netif/ppp/
H A Dchap_ms.c250 const unsigned char *secret, int secret_len, in chapms_verify_response() argument
298 const unsigned char *secret, int secret_len, in chapms2_verify_response() argument
313 (const char *)secret, secret_len, md, in chapms2_verify_response()
382 ChapMS(pcb, challenge, secret, secret_len, response); in chapms_make_response()
397 our_name, secret, secret_len, response, private_, in chapms2_make_response()
577 lwip_md4_update(&md4Context, secret, secret_len); in NTPasswordHash()
588 ascii2unicode(secret, secret_len, unicodePassword); in ChapMS_NT()
622 for (i = 0; i < secret_len; i++) in ChapMS_LANMan()
691 const char *secret, int secret_len, in GenerateAuthenticatorResponsePlain() argument
848 ChapMS_LANMan(rchallenge, secret, secret_len, in ChapMS()
[all …]
H A Dchap-md5.c62 const unsigned char *secret, int secret_len, in chap_md5_verify_response() argument
79 lwip_md5_update(&ctx, secret, secret_len); in chap_md5_verify_response()
96 const unsigned char *challenge, const char *secret, int secret_len, in chap_md5_make_response() argument
108 lwip_md5_update(&ctx, (const u_char *)secret, secret_len); in chap_md5_make_response()
H A Dchap-new.c417 int secret_len; local
420 if (!get_secret(pcb, name, ourname, (char *)secret, &secret_len, 1)) {
424 ok = digest->verify_response(pcb, id, name, secret, secret_len, challenge,
438 int secret_len; local
469 if (!get_secret(pcb, pcb->chap_client.name, rname, secret, &secret_len, 0)) {
470 secret_len = 0; /* assume null secret if can't find one */
479 secret, secret_len, pcb->chap_client.priv);
480 memset(secret, 0, secret_len);
H A Dpppapi.c222 msg->msg.msg.l2tpcreate.secret_len, in pppapi_do_pppol2tp_create()
237 const u8_t *secret, u8_t secret_len, in pppapi_pppol2tp_create() argument
245 LWIP_UNUSED_ARG(secret_len); in pppapi_pppol2tp_create()
255 PPPAPI_VAR_REF(msg).msg.msg.l2tpcreate.secret_len = secret_len; in pppapi_pppol2tp_create()
H A Dpppol2tp.c111 const u8_t *secret, u8_t secret_len, in pppol2tp_create() argument
118 LWIP_UNUSED_ARG(secret_len); in pppol2tp_create()
150 l2tp->secret_len = secret_len; in pppol2tp_create()
640 lwip_md5_update(&md5_ctx, l2tp->secret, l2tp->secret_len); in pppol2tp_dispatch_control_packet()
656 lwip_md5_update(&md5_ctx, l2tp->secret, l2tp->secret_len); in pppol2tp_dispatch_control_packet()
H A Deap.c1314 int secret_len; in eap_request() local
1447 rhostname, secret, &secret_len, 0)) { in eap_request()
1456 lwip_md5_update(&mdContext, (u_char *)secret, secret_len); in eap_request()
1734 int secret_len; in eap_response() local
1881 pcb->eap.es_server.ea_name, secret, &secret_len, 1)) { in eap_response()
1889 lwip_md5_update(&mdContext, (u_char *)secret, secret_len); in eap_response()
H A Dauth.c1906 int get_secret(ppp_pcb *pcb, const char *client, const char *server, char *secret, int *secret_len,… in get_secret() argument
1922 *secret_len = len; in get_secret()
1975 *secret_len = len; in get_secret()
/reactos/drivers/network/tcpip/lwip/src/include/netif/ppp/
H A Dpppol2tp.h177 u8_t secret_len; /* Secret string length */ member
201 const u8_t *secret, u8_t secret_len,
H A Dpppapi.h81 u8_t secret_len; member
120 const u8_t *secret, u8_t secret_len,
H A Dchap-new.h141 const unsigned char *secret, int secret_len,
146 const unsigned char *challenge, const char *secret, int secret_len,
H A Dppp_impl.h580 int get_secret(ppp_pcb *pcb, const char *client, const char *server, char *secret, int *secret_len,…
/reactos/dll/3rdparty/mbedtls/
H A Decp.c205 const mbedtls_mpi *secret, size_t secret_len ) in ecp_drbg_seed() argument
214 secret_bytes, secret_len ) ); in ecp_drbg_seed()
216 ret = mbedtls_hmac_drbg_seed_buf( ctx, md_info, secret_bytes, secret_len ); in ecp_drbg_seed()
219 mbedtls_platform_zeroize( secret_bytes, secret_len ); in ecp_drbg_seed()
264 const mbedtls_mpi *secret, size_t secret_len ) in ecp_drbg_seed() argument
270 secret_bytes, secret_len ) ); in ecp_drbg_seed()
273 secret_bytes, secret_len ); in ecp_drbg_seed()
276 mbedtls_platform_zeroize( secret_bytes, secret_len ); in ecp_drbg_seed()
329 const mbedtls_mpi *secret, size_t secret_len ) in ecp_drbg_seed() argument
331 ctx->total_len = 4 + secret_len; in ecp_drbg_seed()
[all …]
/reactos/drivers/network/tcpip/lwip/doc/
H A Dppp.txt254 * secret_len, size in bytes of the L2TP secret
260 u8_t *secret, u8_t secret_len,