diff --git a/crates/runner-opentitan/src/crypto/common.rs b/crates/runner-opentitan/src/crypto/common.rs index 24d136fee..80e0281b1 100644 --- a/crates/runner-opentitan/src/crypto/common.rs +++ b/crates/runner-opentitan/src/crypto/common.rs @@ -295,7 +295,7 @@ impl UnblindedKey { } pub fn checksum(&self) -> u32 { - unsafe { integrity_unblinded_checksum(self) } + unsafe { otcrypto_integrity_unblinded_checksum(self) } } fn layout(key_length: usize) -> Result { @@ -353,7 +353,7 @@ impl BlindedKey { #[cfg(feature = "test-vendor")] pub fn checksum(&self) -> u32 { - unsafe { integrity_blinded_checksum(self) } + unsafe { otcrypto_integrity_blinded_checksum(self) } } fn layout(keyblob_length: usize) -> Result { @@ -396,9 +396,9 @@ unsafe extern "C" { fn otcrypto_import_blinded_key( share0: *const ConstWord32Buf, share1: *const ConstWord32Buf, key: *mut BlindedKey, ) -> i32; - fn integrity_unblinded_checksum(key: *const UnblindedKey) -> u32; + fn otcrypto_integrity_unblinded_checksum(key: *const UnblindedKey) -> u32; #[cfg(feature = "test-vendor")] - fn integrity_blinded_checksum(key: *const BlindedKey) -> u32; + fn otcrypto_integrity_blinded_checksum(key: *const BlindedKey) -> u32; fn otcrypto_make_byte_buf(data: *mut u8, len: usize) -> ByteBuf; fn otcrypto_make_const_byte_buf(data: *const u8, len: usize) -> ConstByteBuf; fn otcrypto_make_word32_buf(data: *mut u32, len: usize) -> Word32Buf; diff --git a/third_party/lowRISC/opentitan b/third_party/lowRISC/opentitan index c1e83890e..0135da5e1 160000 --- a/third_party/lowRISC/opentitan +++ b/third_party/lowRISC/opentitan @@ -1 +1 @@ -Subproject commit c1e83890e5c2338fea4b4e61e6609005a6263b06 +Subproject commit 0135da5e167491a7709d972789278acd2f4cec4e