diff options
Diffstat (limited to 'lib/libotputil/libotputil.h')
| -rw-r--r-- | lib/libotputil/libotputil.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libotputil/libotputil.h b/lib/libotputil/libotputil.h index 78a7d32..49c2465 100644 --- a/lib/libotputil/libotputil.h +++ b/lib/libotputil/libotputil.h | |||
| @@ -73,11 +73,21 @@ | |||
| 73 | // k:c:0:hmac:desc | 73 | // k:c:0:hmac:desc |
| 74 | struct _otputil_secret | 74 | struct _otputil_secret |
| 75 | { | 75 | { |
| 76 | int32_t util_method; | 76 | int util_method; |
| 77 | int otp_seq; | ||
| 78 | int skey_seq; | ||
| 79 | int padint; | ||
| 77 | int8_t hotp_digits; | 80 | int8_t hotp_digits; |
| 78 | int8_t hotp_hmac; | 81 | int8_t hotp_hmac; |
| 79 | int8_t totp_digits; | 82 | int8_t totp_digits; |
| 80 | int8_t totp_hmac; | 83 | int8_t totp_hmac; |
| 84 | int8_t otp_hash; | ||
| 85 | int8_t otp_encoding; | ||
| 86 | int8_t skey_hash; | ||
| 87 | int8_t skey_encoding; | ||
| 88 | char * skey_pass; | ||
| 89 | char * otp_pass; | ||
| 90 | char * otp_seed; | ||
| 81 | char * util_desc; // description of secret | 91 | char * util_desc; // description of secret |
| 82 | otputil_bv_t * totp_k; | 92 | otputil_bv_t * totp_k; |
| 83 | otputil_bv_t * hotp_k; | 93 | otputil_bv_t * hotp_k; |
