Re: Counter Size in CTR mode for AES Driver

2015-04-10 Thread sri sowj
e nonce or counter from IV size ? BR, Srisowj On Sat, Apr 11, 2015 at 2:21 AM, Stephan Mueller wrote: > Am Samstag, 11. April 2015, 00:30:30 schrieb sri sowj: > > Hi sri, > >> Hi All, >> >> I have seen multiple open source drivers for AES(CTR) mode for >> diffe

AES Crypto driver in CTS mode

2015-04-01 Thread sri sowj
Hi All, I tried to get the reference drivers for AES in CTS mode in open source(driver/crypto) ,but looks like there is no reference driver implementation is available for any of the Crypto Hardware.But it seems support for software implementation for CTS mode is available.Please can some one hel

How to handle an error while processing crypto request (backlogged)

2015-03-17 Thread sri sowj
Hi All, I am not really clear how to handle an error when processing backlogged messages.I did not get any document or references in this regard,It would be a great help if any suggestions are provided. As per my understanding "Back Logged messages" Processing will be as below: Step #1: Let's

Re: tcrypt.ko module usage

2015-03-08 Thread sri sowj
3:54 PM, Stephan Mueller wrote: > Am Sonntag, 8. März 2015, 14:32:53 schrieb sri sowj: > > Hi sri, > >> HI All, >> >> >> As I understand tcrypt.ko module purpose is to test different crypto >> algorithm from the kenrel space. Please can some one help me

tcrypt.ko module usage

2015-03-08 Thread sri sowj
HI All, As I understand tcrypt.ko module purpose is to test different crypto algorithm from the kenrel space. Please can some one help me with below queries to understand tcrypt use cases. #1:If one need to test crypto algorithms with under laying crypto Hardware engine using tcrypto module ,is

How to deal with backlog messages in crypto driver

2015-02-26 Thread sri sowj
Hi All , As per my understanding backlogs are used when crypto hardware processing a request ,then multiple incoming requests comes to serve . A queue/backlog is created to enqueue the request .Please let me know if my understanding is incorrect. EX: M4,M3,M2,M1 > H(M0) Here H(M0) under pro

multiple simultaneous crypto sessions from a crypto driver

2015-02-24 Thread sri sowj
Hi , I am working on understanding crypt drivers in implemented in asynchronous mode.I am little ambiguous regarding following scenario,Please can some help me with this. #1: If two or more applications will send their requests (may be different seesions) to crypto Hardware (may be scheduler l

How to test Export and Imports methods in a crypto driver

2015-02-23 Thread sri sowj
Hi All, I am trying to analyze linux kernel crypto drivers . I have noticed methods like export/import to save and retrieve intermediate Hash data. Please can some one point me to a use case in Real-Time,so that I can test these interfaces functionality ? BR, & Srisowj -- To unsubscribe from th

Re: communicating from the user space

2015-02-23 Thread sri sowj
gt; On Mon, Feb 23, 2015 at 5:06 AM, sri sowj wrote: >> Hi Nikos, >> >> Please can you let me know my understanding regarding openssl and >> crypto are correct? >> I have mentioned my understanding in my earlier posts,but let me >> mention it here again. >

Re: communicating from the user space

2015-02-22 Thread sri sowj
like any dependent libraries or installing cryptodev-linux on host/target machine before compiling openssl etc? BR, Srisowj On Mon, Feb 23, 2015 at 2:56 AM, Nikos Mavrogiannopoulos wrote: > On Sun, 2015-02-22 at 16:04 +0100, Stephan Mueller wrote: >> Am Sonntag, 22. Februar 2015, 18:32:34

Re: communicating from the user space

2015-02-22 Thread sri sowj
se can you also help me to explore like "libkcapi" or the other method(#1 to #5 for libaf_alg.so ) is more active in open source community BR, Srisowj On Sun, Feb 22, 2015 at 8:34 PM, Stephan Mueller wrote: > Am Sonntag, 22. Februar 2015, 18:32:34 schrieb sri sowj: > > Hi sri, &g

Re: communicating from the user space

2015-02-22 Thread sri sowj
Am Samstag, 21. Februar 2015, 08:39:05 schrieb sri sowj: > > Hi sri, > >> Hi Stephen, >> >> Thank you very much for the information provided. >> >> I will try to explore more on AF_ALG , in between please can you also >> provide information regarding below

Re: communicating from the user space

2015-02-20 Thread sri sowj
start with. but if you can provide some info regarding cryptodev-linux from the openssl prospect it will be more helpful. BR, Srisowj On Sat, Feb 21, 2015 at 2:28 AM, Stephan Mueller wrote: > Am Samstag, 21. Februar 2015, 01:27:04 schrieb sri sowj: > > Hi sri, > >> Hi

Re: Intermediate Hash states

2015-02-20 Thread sri sowj
(export/import) in open source , but not really sure when its being used in real time. BR, Srisowj On Sat, Feb 21, 2015 at 1:07 AM, Stephan Mueller wrote: > Am Donnerstag, 19. Februar 2015, 21:48:30 schrieb sri sowj: > > Hi sri, > >> Hi , >> >> I am trying to

communicating from the user space

2015-02-20 Thread sri sowj
Hi , I want to interact with Crypto Hardware from user space using openssl like libraries based applications through cryptodev-linux interface. it looks like openssl comes with cryptodev-linux support(through eng_cryptodev.c) . When I downloaded openssl,eng_cryptodev.c file is available by defaul

Re: Intermediate Hash states

2015-02-20 Thread sri sowj
xts. So no need to worry. It will use a different area to store > intermediate values. > > Markus > > Am 19.02.2015 17:18 schrieb sri sowj : > > Hi , > > I am trying to understand Hashing Algorithms implementation in linux kernel > . > > I am really not sure on h

Intermediate Hash states

2015-02-19 Thread sri sowj
Hi , I am trying to understand Hashing Algorithms implementation in linux kernel . I am really not sure on how to deal with following scenario. assume when App1 is in middle of execution(crypto_ahash_init/update/update...) ,App2 sends a request may be from another cpu in multi-core system to und

fallback mechanism in HASH drivers implimentetion

2015-02-13 Thread sri sowj
Hi , I am trying to understand the SHA1 (asynchronous) driver , I am not really sure regarding below mentioned scenarios,please can some help me with this? #1: When driver needs to use fallback mechanism and how does it work? #2: when do driver needs to use methods like import/export ? BR, Sris

Understanding HASH(SHA) Driver implementation

2015-02-13 Thread sri sowj
Hi , I am trying to analyze Linux Kernel Crypto Interface with respective to hashing(ahash for SHA1 in particular) . I am looking at omap-sham.c/atmel-sha.c as reference,which is in open source linux/driver/crypto.I need some inputs in understanding following . #1: If It need to handle a scenario