Skip to content

Commit 17c6034

Browse files
committed
TS: Update service name in the provider
The newer version of trusted services repo also includes the encoding scheme in the service name to locate the service. Signed-off-by: Gowtham Suresh Kumar <[email protected]>
1 parent 2b549b8 commit 17c6034

File tree

1 file changed

+1
-1
lines changed
  • src/providers/trusted_service/context

1 file changed

+1
-1
lines changed

src/providers/trusted_service/context/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl Context {
7676

7777
info!("Obtaining a crypto Trusted Service context.");
7878
let mut status = 0;
79-
let service_name = CString::new("sn:trustedfirmware.org:crypto:0").unwrap();
79+
let service_name = CString::new("sn:trustedfirmware.org:crypto-protobuf:0").unwrap();
8080
let service_context = unsafe { service_locator_query(service_name.as_ptr(), &mut status) };
8181
if service_context.is_null() {
8282
error!("Locating crypto Trusted Service failed, status: {}", status);

0 commit comments

Comments
 (0)