OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

pkcs11 message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [pkcs11] structure packing on Linux


Hi Bob,

 

Firefox definitely has an ARM64 native package for Windows on ARM64:

https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

The âpreferred installerâ drop-down includes Windows ARM64/AArch64 and itâs what was automatically chosen for me when I installed Firefox on a Windows 11 ARM64 system.

 

Sincerely,

Jonathan

 

 

From: pkcs11@lists.oasis-open.org <pkcs11@lists.oasis-open.org> On Behalf Of Robert Relyea
Sent: Tuesday, January 4, 2022 4:45 PM
To: pkcs11@lists.oasis-open.org
Subject: Re: [pkcs11] structure packing on Linux

 

On 1/4/22 6:40 AM, Daniel Minder wrote:

Jonathan, all,

 

happy new year!

 

As written in the proposal: âIt limits the 1-byte alignment to Windows x86/x64 platforms to achieve backwards compatibility and allows efficient code on other platforms (e.g. ARM).â

So, this was on purpose, inspired by e.g. https://devblogs.microsoft.com/oldnewthing/20200103-00/?p=103290 and by Timâs input. But Iâm not insisting on this.

 

We donât have a PKCS#11 provider for Windows on non x86/x64 platforms. What about the other TC members â do you have a provider or do you have Windows software using one on other platforms? And how is packing handled there?

 

So I hadn't worried about packing because I thought we had macros which did the right thing. It turns out NSS has pkcs11p.h and pkcs11u.h which the standard doesn't include (I thought the header files would have the right packing primitives, but it looks like it's now compiler specific looking at ours). Our macros are only invoked on Windows, but it doesn't specify the windows platform, so it would compile packed on ARM. That being said, I don't know if anyone is building NSS for the Windows ARM platform. We build for Linux (but linux is unpacked already). Mozilla builds for Windows x86 (64/32), so I think that there isn't a large install base of NSS/Windows for ARM that would require is to maintain packing.

It also means we aren't shipping headers that specify the packing programmatically, so we can't point to the headers as 'normative' in this case (sigh).

bob

 

Thanks,

Daniel

 

From: Jonathan Schulze-Hewett <schulze-hewett@infoseccorp.com>
Sent: Mittwoch, 22. Dezember 2021 14:41
To: Daniel Minder <Daniel.Minder@utimaco.com>; Tim Hudson <tjh@cryptsoft.com>; pkcs11@lists.oasis-open.org
Subject: RE: [pkcs11] structure packing on Linux

 

Daniel,

 

The proposal is for Windows on x86 and x86_64 to use structure packing. What about Windows on ARM (or other) processors?

 

Thanks,

Jonathan

 

 

From: pkcs11@lists.oasis-open.org <pkcs11@lists.oasis-open.org> On Behalf Of Daniel Minder
Sent: Monday, December 20, 2021 10:57 AM
To: Tim Hudson <tjh@cryptsoft.com>; pkcs11@lists.oasis-open.org
Subject: RE: [pkcs11] structure packing on Linux

 

Tim, all,

 

based on the discussion with Tim Iâve just uploaded a proposal how to clarify the structure packing text in both the standard and the header files.

Bob, please put this on next meetingâs agenda. Thanks!

 

Merry Christmas and enjoy your holidays!

Daniel

 

 



Utimaco IS GmbH
Germanusstr. 4, D.52080 Aachen, Germany, Tel: +49-241-1696-0, www.utimaco.com
Seat: Aachen â Registergericht Aachen HRB 18922
VAT ID No.: DE 815 496 496
Managementboard: Stefan Auerbach (Chairman) CEO, Malte Pollmann CSO, Martin Stamm CFO

This communication is confidential. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. Please inform us immediately and destroy the email.

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]