[openssl-dev] [HMAC] reusing the session objects

2016-06-16 Thread Catalin Vasile
4, ...), HMAC_Final(..., digest4, ...) ... $(N-1). HMAC_Init_ex(..., NULL, ..., NULL, ...), HMAC_Update(..., data5, ...), HMAC_Final(..., digest5, ...) $N. Release_state_objects(); Catalin Vasile [1] https://en.wikipedia.org/wiki/Hash-based_message_authentication_code#Implementation -- open

Re: [openssl-dev] arch (ARM) capabilities

2016-06-27 Thread Catalin Vasile
com> Sent: Monday, June 27, 2016 5:11 PM To: openssl-dev@openssl.org Cc: Catalin Vasile Subject: Re: [openssl-dev] arch (ARM) capabilities   On Monday 27 June 2016 12:37:39 Catalin Vasile wrote: > Hi, > > Is there an option when making an app that uses OpenSSL > to verify t

Re: [openssl-dev] arch (ARM) capabilities

2016-06-27 Thread Catalin Vasile
: Hubert Kario <hka...@redhat.com> Sent: Monday, June 27, 2016 5:11:57 PM To: openssl-dev@openssl.org Cc: Catalin Vasile Subject: Re: [openssl-dev] arch (ARM) capabilities On Monday 27 June 2016 12:37:39 Catalin Vasile wrote: > Hi, > > Is there an option when making an app th

[openssl-dev] version script

2016-02-08 Thread Catalin Vasile
I'm trying to compile a custom OpenSSL library to work with nginx. nginx requires that the SSL library have version data included in the .so files, so I'm using this patch[1] for this. The problem is that if I set the library versiont to 1.0.1 into that script, when I start nginx or trigger ldd

[openssl-dev] [crypto engine]: API users try to find separate external library for new engine

2016-02-03 Thread Catalin Vasile
I'm trying to make a new crypto engine. Any application that tries to use my custom OpenSSL library that includes my engine gives me an error trying to find an external library for my new engine (it tries to locate /usr/lib/libhwrng.so, where hwrng is my engine), although if I run a "grep

[openssl-dev] [crypto engine]: API users try to find separate external library for new engine

2016-02-03 Thread Catalin Vasile
I'm trying to make a new crypto engine. Any application that tries to use my custom OpenSSL library that includes my engine gives me an error trying to find an external library for my new engine (it tries to locate /usr/lib/libhwrng.so, where hwrng is my engine), although if I run a "grep -R

[openssl-dev] [eng_rdrand] alloc and free

2016-01-21 Thread Catalin Vasile
ENGINE_load_rdrand() creates a new engine, it adds it/registers it and then frees it. Looking further into these functions, the registration does NOT create a new object and then copy the data into it, so the registration is based on an object that it's later released. Based on this[1]

Re: [openssl-dev] [eng_rdrand] alloc and free

2016-01-24 Thread Catalin Vasile
In message <db5pr04mb1302bb3b91a8955dc8bb1dcfee...@db5pr04mb1302.eurprd04.prod.outlook.com> on Thu, 21 Jan 2016 10:57:19 +0000, Catalin Vasile <cata.vas...@nxp.com> said: cata.vasile> ENGINE_load_rdrand() creates a new engine, it adds cata.vasile> it/registers it and then frees it. Lo

[openssl-dev] Cross-compiling, --install_prefix deprecated

2016-07-25 Thread Catalin Vasile
Hi, I keep building/testing features for OpenSSL for an embedded system and I need to be able to send my work on the board. The build scenario is something like this: 1. make/build 2. install in temporary NFS shared folder 3. on the board I run a bash script that just does a copy in the regular

[openssl-dev] [TLS1 PRF]: unknown algorithm

2016-07-27 Thread Catalin Vasile
Hi, I'm trying to use the EVP_PKEY_TLS1_PRF interface. The first thing I do inside my code is: pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_TLS1_PRF, NULL); But pctx is NULL after that call. I've watched test/evp_test.c and it does not seem it does anything special, but it successful in running the

Re: [openssl-dev] [TLS1 PRF]: unknown algorithm

2016-07-28 Thread Catalin Vasile
LS1 PRF]: unknown algorithm >  >On Wed, Jul 27, 2016, Catalin Vasile wrote: > >> Hi, >> >> I'm trying to use the EVP_PKEY_TLS1_PRF interface. >> >> The first thing I do inside my code is: >> pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_TLS1_PRF, NULL); >> But

[openssl-dev] [ARM] sha1_block_armv8 caller

2016-07-11 Thread Catalin Vasile
Hi, I see that there is function named sha1_block_armv8 defined in crypto/sha/asm/sha1-armv8.pl, but I cannot find any function that calls it. Cata -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

[openssl-dev] arch (ARM) capabilities

2016-06-27 Thread Catalin Vasile
Hi, Is there an option when making an app that uses OpenSSL to verify that is uses Crypto Extensions (like checking a flag or something like that) ? Cata -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

[openssl-dev] [ARM] sha1_block_armv8 caller

2016-07-11 Thread Catalin Vasile
Hi, I see that there is function named sha1_block_armv8 defined in crypto/sha/asm/sha1-armv8.pl, but I cannot find any function that calls it. Which function calls sha1_block_armv8? Cata -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Re: [openssl-dev] aarch64 64bit build with linaro tools

2016-06-30 Thread Catalin Vasile
Sorry, it was my bad. I used some old scripts I made, where I only modified some env variables. From what I remembered the scripts also did the "make install", but I was wrong. The library and linaro tools worked perfectly. Catalin Vasile From: openssl-dev <openssl-dev-boun..

[openssl-dev] aarch64 64bit build with linaro tools

2016-06-30 Thread Catalin Vasile
DES_UNROLL used DES_INT used RC4 uses uchar RC4_CHUNK is unsigned long BF_PTR used Regards, Catalin Vasile [1] http://releases.linaro.org/14.11/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu.tar.xz -- openssl-dev mailing list To unsubscribe: https

[openssl-dev] global OpenSSL symbols in user apps

2016-06-28 Thread Catalin Vasile
Hi, Is there a way to use global non-API functions or variables in user apps? For example: Is there a way to use OpenSSL_armcap_P in your user apps? I tried declaring it as "extern" variable, but at linking the linker says it cannot find the symbol. Cata -- openssl-dev mailing list To