Lines Matching defs:secret
1144 if (sp->myauth.secret) free(sp->myauth.secret, M_DEVBUF);
1146 if (sp->hisauth.secret) free(sp->hisauth.secret, M_DEVBUF);
4621 if (sp->myauth.secret == NULL || sp->myauth.name == NULL) {
4625 "without my name and my secret being set\n");
4663 MD5Update(&ctx, sp->myauth.secret, sp->myauth.secret_len);
4752 if (sp->hisauth.name == NULL || sp->hisauth.secret == NULL) {
4755 "without his name and his secret being set\n");
4820 MD5Update(&ctx, sp->hisauth.secret, sp->hisauth.secret_len);
5028 char *name, *secret;
5058 if (sp->hisauth.name == NULL || sp->hisauth.secret == NULL) {
5061 " without his name and his secret being set\n");
5066 secret = name + name_len + 1;
5068 (secret_len = secret[-1]) > len - 6 - name_len) {
5090 addlog(" secret=");
5091 sppp_print_string((char *)secret, secret_len);
5100 memcmp(secret, sp->hisauth.secret, secret_len) == 0) {
5226 if (sp->myauth.secret == NULL ||
5230 "because of no name or no secret\n");
5240 pwdlen, sp->myauth.secret,
5934 if (sp->myauth.secret) {
5935 free(sp->myauth.secret, M_DEVBUF);
5936 sp->myauth.secret = NULL;
5942 if (sp->hisauth.secret) {
5943 free(sp->hisauth.secret, M_DEVBUF);
5944 sp->hisauth.secret = NULL;
5968 sp->hisauth.secret = malloc(cfg->hissecret_length,
5970 error = copyin(cfg->hissecret, sp->hisauth.secret,
5973 free(sp->hisauth.secret, M_DEVBUF);
5974 sp->hisauth.secret = NULL;
5979 sp->hisauth.secret[sp->hisauth.secret_len] = 0;
6002 sp->myauth.secret = malloc(cfg->mysecret_length,
6004 error = copyin(cfg->mysecret, sp->myauth.secret,
6007 free(sp->myauth.secret, M_DEVBUF);
6008 sp->myauth.secret = NULL;
6013 sp->myauth.secret[sp->myauth.secret_len] = 0;