diff options
Diffstat (limited to 'sk-api.h')
-rw-r--r-- | sk-api.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sk-api.h,v 1.9 2020/04/28 04:02:29 djm Exp $ */ | 1 | /* $OpenBSD: sk-api.h,v 1.11 2020/09/09 03:08:01 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019 Google LLC | 3 | * Copyright (c) 2019 Google LLC |
4 | * | 4 | * |
@@ -47,6 +47,8 @@ struct sk_enroll_response { | |||
47 | size_t signature_len; | 47 | size_t signature_len; |
48 | uint8_t *attestation_cert; | 48 | uint8_t *attestation_cert; |
49 | size_t attestation_cert_len; | 49 | size_t attestation_cert_len; |
50 | uint8_t *authdata; | ||
51 | size_t authdata_len; | ||
50 | }; | 52 | }; |
51 | 53 | ||
52 | struct sk_sign_response { | 54 | struct sk_sign_response { |
@@ -63,6 +65,7 @@ struct sk_resident_key { | |||
63 | size_t slot; | 65 | size_t slot; |
64 | char *application; | 66 | char *application; |
65 | struct sk_enroll_response key; | 67 | struct sk_enroll_response key; |
68 | uint8_t flags; | ||
66 | }; | 69 | }; |
67 | 70 | ||
68 | struct sk_option { | 71 | struct sk_option { |
@@ -71,7 +74,7 @@ struct sk_option { | |||
71 | uint8_t required; | 74 | uint8_t required; |
72 | }; | 75 | }; |
73 | 76 | ||
74 | #define SSH_SK_VERSION_MAJOR 0x00050000 /* current API version */ | 77 | #define SSH_SK_VERSION_MAJOR 0x00070000 /* current API version */ |
75 | #define SSH_SK_VERSION_MAJOR_MASK 0xffff0000 | 78 | #define SSH_SK_VERSION_MAJOR_MASK 0xffff0000 |
76 | 79 | ||
77 | /* Return the version of the middleware API */ | 80 | /* Return the version of the middleware API */ |