All of lore.kernel.org
 help / color / mirror / Atom feed
* ASN.1
@ 2024-05-21  6:36 Jarkko Sakkinen
  2024-05-21 14:52 ` ASN.1 Miguel Ojeda
  0 siblings, 1 reply; 11+ messages in thread
From: Jarkko Sakkinen @ 2024-05-21  6:36 UTC (permalink / raw)
  To: rust-for-linux

Hi,

There's one application where it would make a lot of sense to have the
core implementation in Rust, and make it callable from C. It is encoding
and decoding of ASN.1 (DER).

It is essentially hierarchical binary parsing, i.e. exactly kind of
stuff where it is too easy to shoot yourself into foot with C.

So question is how to approach this? How the holding data structure for
holding the deserialized data should represented so that is is also
directly accessible from C?

Maybe not the sexiest application ever, but it is an actual applications
where Rust might weight a lot, also for the C code base ;-)

I'm interested to help with this too as I consume a lot of DER type of
input data... so I know what it should look like to work at all for the
C code. Or do not know at this poinnt, but can verify the sensibility
at minimum :-)

BR, Jarkko

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-05-23 15:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21  6:36 ASN.1 Jarkko Sakkinen
2024-05-21 14:52 ` ASN.1 Miguel Ojeda
2024-05-21 15:20   ` ASN.1 Jarkko Sakkinen
2024-05-21 18:01     ` ASN.1 Jarkko Sakkinen
2024-05-21 18:55       ` ASN.1 Jarkko Sakkinen
2024-05-22 12:04         ` ASN.1 Alex Gaynor
2024-05-22 12:56           ` ASN.1 Jarkko Sakkinen
2024-05-22 13:49             ` ASN.1 Jarkko Sakkinen
2024-05-23  7:00               ` ASN.1 Jarkko Sakkinen
2024-05-23  7:03                 ` ASN.1 Jarkko Sakkinen
2024-05-23 15:44                 ` ASN.1 Jarkko Sakkinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.