aboutsummaryrefslogtreecommitdiff
path: root/service_provider.h
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-06-20 13:37:47 -0400
committerFranklin Wei <me@fwei.tk>2018-06-20 13:37:47 -0400
commita9315b1f9e01097e4fedff446912db8d5fd5e422 (patch)
tree2b91e217031d985debf842b6fcc077139ba6f030 /service_provider.h
parentd9ad082de324eb5fb0b4f03454c630dfe18dc8a3 (diff)
downloadcsaa-a9315b1f9e01097e4fedff446912db8d5fd5e422.zip
csaa-a9315b1f9e01097e4fedff446912db8d5fd5e422.tar.gz
csaa-a9315b1f9e01097e4fedff446912db8d5fd5e422.tar.bz2
csaa-a9315b1f9e01097e4fedff446912db8d5fd5e422.tar.xz
Adapt service provider for tracking container build and compose files
Diffstat (limited to 'service_provider.h')
-rw-r--r--service_provider.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/service_provider.h b/service_provider.h
index 90a9d7a..3399cb4 100644
--- a/service_provider.h
+++ b/service_provider.h
@@ -19,8 +19,9 @@ struct tm_cert sp_request(struct service_provider *sp,
struct tm_cert *vr_out, hash_t *vr_hmac_out,
hash_t *ack_hmac_out,
hash_t encrypted_secret, hash_t kf,
+ const struct iomt *buildcode, const struct iomt *composefile,
const void *encrypted_contents, size_t contents_len,
- struct iomt *new_acl);
+ const struct iomt *new_acl);
/* Reserve a new file index with user_id added to the ACL. Returns
* cert on failure. Authenticated with ack_hmac, which is the returned
@@ -39,6 +40,7 @@ struct user_request sp_modifyfile(struct service_provider *sp,
uint64_t user_id, const void *key, size_t keylen,
uint64_t file_idx,
hash_t encrypted_secret, hash_t kf,
+ const struct iomt *buildcode, const struct iomt *composefile,
const void *encrypted_file, size_t filelen,
hash_t *ack_hmac);