[jitsi-dev] lcrypto Build-Scripts


#1

Hey

Does someone have a build-script for the BouncyCastle LCrypto library lying around? Werner?

Regards,
Ingo


#2

Hi Ingo,

if you ask for the modified version (light weight) that we use for Jitsi then
please have a look at:

http://github.com/wernerd/Skein3Fish/tree/master/java

This repository contains all standard BC modules tha Jitsi uses plus the Skein
and Threefish functions that Jitsi/ZRTP4J use. Please be aware that the real
key agreement stuff (DH, ECDH) are not part of this lib but are part of the
ZRTP4J lib. This because these modules use a crypto aware big integer implementation
(also in ZRTP4J).

Best regards,
Werner

···

Am 27.07.2011 16:56, schrieb Bauersachs Ingo:

Hey

Does someone have a build-script for the BouncyCastle LCrypto library lying around? Werner?

Regards,
Ingo


#3

Hey

if you ask for the modified version (light weight) that we use for Jitsi
then please have a look at:

http://github.com/wernerd/Skein3Fish/tree/master/java

This repository contains all standard BC modules that Jitsi uses plus the
Skein and Threefish functions that Jitsi/ZRTP4J use.

Thanks! I wasn't aware that the lcrypto lib used in Jitsi is actually "custom". I always thought you just left out unnecessary classes from the jar.

I'm working on the TLS code of Jitsi and need a lot of classes from the BouncyCastle asn1 package to get the data out of the AuthorityInformationAccess-field of X.509 certificates. I cloned your repo at https://github.com/ibauersachs/Skein3Fish and added everything necessary. But I guess you're not comfortable with adding all that stuff back to your own, are you? Do you have another idea besides committing an lcrypto.jar built from my repo?

Regards,
Ingo


#4

Ingo,

we made this custom build lcrypto to reduce to overall size of the jar
files required for Jitsi. Just go on to use your enhanced lcrypto
but at the same time we shall take care to use _one_ lcrypto jar only
that contains all required crypto/hash/asn.1 function for Jitsi. Thus
just make sure all necessary funtions are exporte, etc. Also keep in mind
that the Skein and Threefish functions are _not_ part of the normal
BC libraries.

Best regards,
Werner

···

Am 03.08.2011 18:21, schrieb Bauersachs Ingo:

Hey

if you ask for the modified version (light weight) that we use for Jitsi
then please have a look at:

http://github.com/wernerd/Skein3Fish/tree/master/java

This repository contains all standard BC modules that Jitsi uses plus the
Skein and Threefish functions that Jitsi/ZRTP4J use.

Thanks! I wasn't aware that the lcrypto lib used in Jitsi is actually "custom". I always thought you just left out unnecessary classes from the jar.

I'm working on the TLS code of Jitsi and need a lot of classes from the BouncyCastle asn1 package to get the data out of the AuthorityInformationAccess-field of X.509 certificates. I cloned your repo at https://github.com/ibauersachs/Skein3Fish and added everything necessary. But I guess you're not comfortable with adding all that stuff back to your own, are you? Do you have another idea besides committing an lcrypto.jar built from my repo?

Regards,
Ingo


#5

we made this custom build lcrypto to reduce to overall size of the jar
files required for Jitsi.

Its currently 246KB vs. 161KB, so compared to the 1.8MB of the full provider, so I guess that's still OK :slight_smile:

Just go on to use your enhanced lcrypto
but at the same time we shall take care to use _one_ lcrypto jar only
that contains all required crypto/hash/asn.1 function for Jitsi. Thus
just make sure all necessary funtions are exporte, etc. Also keep in mind
that the Skein and Threefish functions are _not_ part of the normal
BC libraries.

OK, as I completely cloned your repo and just added the required classes, this shouldn't be a problem. On the other hand, you'd need to take care of my additions once you make updates to Skein/ThreeFish that should go into Jitsi.

Regards,
Ingo


#6

we made this custom build lcrypto to reduce to overall size of the jar
files required for Jitsi.

Its currently 246KB vs. 161KB, so compared to the 1.8MB of the full provider, so I guess that's still OK :slight_smile:

Just go on to use your enhanced lcrypto
but at the same time we shall take care to use _one_ lcrypto jar only
that contains all required crypto/hash/asn.1 function for Jitsi. Thus
just make sure all necessary funtions are exporte, etc. Also keep in mind
that the Skein and Threefish functions are _not_ part of the normal
BC libraries.

OK, as I completely cloned your repo and just added the required classes, this shouldn't be a problem. On the other hand, you'd need to take care of my additions once you make updates to Skein/ThreeFish that should go into Jitsi.

Sure. Currently this is pretty stable and we just wait what NIST says
(Skein/Threefish combo is one of the 5 selected candidates for the SHA3 competition)

Best regards,
Werner

···

Am 03.08.2011 19:41, schrieb Bauersachs Ingo:

Regards,
Ingo


#7

Sure. Currently this is pretty stable and we just wait what NIST says
(Skein/Threefish combo is one of the 5 selected candidates for the SHA3
competition)

Well, I hope for BLAKE (not for technical reasons, but I know Willi Meier, one of the authors)
:slight_smile:

Cu,
Ingo