Lines Matching defs:chapSecret
1515 char *chapSecret;
1518 chapSecret = getpassphrase(gettext("Enter secret:"));
1520 if (chapSecret == NULL) {
1527 if (strlen(chapSecret) > maxSecretLen) {
1535 if (strlen(chapSecret) < minSecretLen) {
1543 (void) strcpy(secret, chapSecret);
1545 chapSecret = getpassphrase(gettext("Re-enter secret:"));
1547 if (chapSecret == NULL) {
1554 if (strcmp(secret, chapSecret) != 0) {
1560 *secretLen = strlen(chapSecret);
3112 IMA_BYTE chapSecret[MAX_CHAP_SECRET_LEN + 1];
3147 ret = getSecret((char *)&chapSecret[0], &secretLen,
3157 &chapSecret[0], secretLen);
3187 IMA_BYTE chapSecret[MAX_CHAP_SECRET_LEN + 1];
3222 ret = getSecret((char *)&chapSecret[0], &secretLen,
3232 &chapSecret[0], secretLen);