* aesbs-core.S_shipped?
@ 2014-09-30 15:50 Christoph Hellwig
2014-09-30 16:26 ` aesbs-core.S_shipped? Ard Biesheuvel
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2014-09-30 15:50 UTC (permalink / raw)
To: Ard Biesheuvel, Nicolas Pitre; +Cc: linux-kernel, Nicholas Mc Guire
Hi Ard,
can you explain me why arch/arm/crypto/aesbs-core.S_shipped
is a _shipped file? I can't find any reason why it should be,
it's a normal .S file in every way as far as I can tell.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: aesbs-core.S_shipped?
2014-09-30 15:50 aesbs-core.S_shipped? Christoph Hellwig
@ 2014-09-30 16:26 ` Ard Biesheuvel
2014-10-01 12:48 ` aesbs-core.S_shipped? Christoph Hellwig
0 siblings, 1 reply; 4+ messages in thread
From: Ard Biesheuvel @ 2014-09-30 16:26 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Nicolas Pitre, linux-kernel, Nicholas Mc Guire
On 30 September 2014 17:50, Christoph Hellwig <hch@infradead.org> wrote:
> Hi Ard,
>
> can you explain me why arch/arm/crypto/aesbs-core.S_shipped
> is a _shipped file? I can't find any reason why it should be,
> it's a normal .S file in every way as far as I can tell.
It is generated by aesbs-core.pl, and Russell preferred including it
as a _shipped file rather than generating it from the perl script on
each build. (Note that the Perl script is kept in sync with OpenSSL,
i.e., the goal is to be able to generate the kernel .S and the OpenSSL
userland .S from the same script)
--
Ard.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: aesbs-core.S_shipped?
2014-09-30 16:26 ` aesbs-core.S_shipped? Ard Biesheuvel
@ 2014-10-01 12:48 ` Christoph Hellwig
2014-10-06 9:33 ` aesbs-core.S_shipped? Ard Biesheuvel
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2014-10-01 12:48 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: Nicolas Pitre, linux-kernel, Nicholas Mc Guire
On Tue, Sep 30, 2014 at 06:26:19PM +0200, Ard Biesheuvel wrote:
> > can you explain me why arch/arm/crypto/aesbs-core.S_shipped
> > is a _shipped file? I can't find any reason why it should be,
> > it's a normal .S file in every way as far as I can tell.
>
> It is generated by aesbs-core.pl, and Russell preferred including it
> as a _shipped file rather than generating it from the perl script on
> each build. (Note that the Perl script is kept in sync with OpenSSL,
> i.e., the goal is to be able to generate the kernel .S and the OpenSSL
> userland .S from the same script)
Thanks for the explanation. Can you update the script so that it
inserts a comment explaining how the file was generated into it?
Also to satisfy the GPL you need to include a copy of aesbs-core.pl in
the kernel tree. I only did a quick find -name aesbs-core.pl that
didn't find any results, so if it's named slightly differently feel
free to discard this second comment.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: aesbs-core.S_shipped?
2014-10-01 12:48 ` aesbs-core.S_shipped? Christoph Hellwig
@ 2014-10-06 9:33 ` Ard Biesheuvel
0 siblings, 0 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2014-10-06 9:33 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Nicolas Pitre, linux-kernel, Nicholas Mc Guire
On 1 October 2014 14:48, Christoph Hellwig <hch@infradead.org> wrote:
> On Tue, Sep 30, 2014 at 06:26:19PM +0200, Ard Biesheuvel wrote:
>> > can you explain me why arch/arm/crypto/aesbs-core.S_shipped
>> > is a _shipped file? I can't find any reason why it should be,
>> > it's a normal .S file in every way as far as I can tell.
>>
>> It is generated by aesbs-core.pl, and Russell preferred including it
>> as a _shipped file rather than generating it from the perl script on
>> each build. (Note that the Perl script is kept in sync with OpenSSL,
>> i.e., the goal is to be able to generate the kernel .S and the OpenSSL
>> userland .S from the same script)
>
> Thanks for the explanation. Can you update the script so that it
> inserts a comment explaining how the file was generated into it?
>
> Also to satisfy the GPL you need to include a copy of aesbs-core.pl in
> the kernel tree. I only did a quick find -name aesbs-core.pl that
> didn't find any results, so if it's named slightly differently feel
> free to discard this second comment.
Apologies. It is called bsaes-armv7.pl, which is the name it goes by
in the OpenSSL tree. (In the OpenSSL build, the .S is generated during
build time)
--
Ard.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-10-06 9:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-30 15:50 aesbs-core.S_shipped? Christoph Hellwig
2014-09-30 16:26 ` aesbs-core.S_shipped? Ard Biesheuvel
2014-10-01 12:48 ` aesbs-core.S_shipped? Christoph Hellwig
2014-10-06 9:33 ` aesbs-core.S_shipped? Ard Biesheuvel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®