Re: adding a new custom ciphersuite to NSS (to be used by Thunderbird for TLS establishment)

f masood via dev-security <[email protected]> Fri, 24 Nov 2017 19:17:24 -0800 (PST)
Newsgroups gmane.comp.mozilla.security
Message-ID <[email protected]>
Update:

The above provided patch is helpful thanks. But I have a small query:

1.   I have compiled TB before doing changes and created a binary (.exe).

2.   Then, I applied the ChaCha/Poly patch to the NSS directory.

3.   Now, how can I recompile/build so that only NSS folder changes are executed that is new ChaCha and POLY obj files are created.

4.   I dont want to re-compile the whole TB folder from scratch (after running clobber command) because it takes an HOUR to compile.

5.   When I run ./mozilla mach build or ./mozilla mach build binaries command I get the error: not open comipler generated file: \obj-i686-mingw32\security]nss\lib\freebl\poly1305\poly1305.obj" No such file or directory



On Friday, November 24, 2017 at 2:47:23 PM UTC+5, f masood wrote:
> Thank you very much for the reply.
> I didn't follow the patch myself, because ChaCha20 is a stream cipher and the cipher I want to add is similar to AES like a block cipher so shouldn't there be issue ?