Searched refs:moving_factor (Results 1 – 7 of 7) sorted by relevance
/dports/security/oath-toolkit/oath-toolkit-2.6.2/liboath/tests/ |
H A D | tst_hotp_algo.c | 125 uint64_t moving_factor; in main() local 135 moving_factor = 1099511627776ULL; in main() 141 (long long unsigned) moving_factor, rc); in main() 151 for (moving_factor = 0; moving_factor < MAX_ITER; moving_factor++) in main() 163 printf ("otp[%d]: %s\n", (unsigned) moving_factor, otp); in main() 166 if (!expect[digits][moving_factor]) in main() 169 digits, (long) moving_factor); in main() 173 if (strcmp (otp, expect[digits][moving_factor]) != 0) in main() 176 digits, (long) moving_factor, otp, in main() 177 expect[digits][moving_factor]); in main() [all …]
|
H A D | tst_hotp_validate.c | 129 uint64_t moving_factor; in main() local 140 for (moving_factor = 0; moving_factor < MAX_ITER; moving_factor++) in main() 145 expect[digits][moving_factor]); in main() 146 if (rc != moving_factor) in main() 149 digits, (long) moving_factor); in main() 153 for (i = 0; i < moving_factor; i++) in main() 167 [moving_factor]), my_strcmp, in main() 170 if (rc != moving_factor) in main() 173 digits, (long) moving_factor); in main() 177 for (i = 0; i < moving_factor; i++) in main() [all …]
|
/dports/security/oath-toolkit/oath-toolkit-2.6.2/liboath/ |
H A D | hotp.c | 63 uint64_t moving_factor, in oath_hotp_generate() argument 68 return _oath_hotp_generate2 (secret, secret_length, moving_factor, digits, in oath_hotp_generate() 78 uint64_t moving_factor, in _oath_hotp_generate2() argument 92 char counter[sizeof (moving_factor)]; in _oath_hotp_generate2() 98 (moving_factor >> ((sizeof (moving_factor) - i - 1) * 8)) & 0xFF; in _oath_hotp_generate2() 104 counter, sizeof (moving_factor), hs); in _oath_hotp_generate2() 110 counter, sizeof (moving_factor), hs); in _oath_hotp_generate2() 114 counter, sizeof (moving_factor), hs); in _oath_hotp_generate2()
|
H A D | hotp.h | 28 uint64_t moving_factor,
|
H A D | oath.h | 170 uint64_t moving_factor,
|
H A D | oath.h.in | 170 uint64_t moving_factor,
|
/dports/security/oath-toolkit/oath-toolkit-2.6.2/oathtool/ |
H A D | oathtool.c | 86 verbose_hotp (uint64_t moving_factor) in verbose_hotp() argument 89 moving_factor, moving_factor); in verbose_hotp() 131 uint64_t moving_factor; in main() local 197 moving_factor = args_info.counter_arg; in main() 199 moving_factor = 0; in main() 281 verbose_hotp (moving_factor); in main() 292 moving_factor + iter, in main() 326 moving_factor, window, args_info.inputs[1]); in main() 331 (long) moving_factor, (long) moving_factor + window); in main()
|