lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 21 Jan 2010 22:10:59 +1300
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	Li Yewang <lyw@...fujitsu.com>
Cc:	David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH][XFRM] Use the simple name when adding SAD with ip xfrm
	state

On Thu, Jan 21, 2010 at 01:22:17PM +0800, Li Yewang wrote:
> Sorry, I am new to crypto.
> 
> I searched the soucre code in the directory of /crypto,
> and found that, all cryptos use shortname, for example:
> 
> crypto/xcbc.c
> static struct crypto_template crypto_xcbc_tmpl = {
>         .name = "xcbc",
>         .create = xcbc_create,
>         .free = shash_free_instance,
>         .module = THIS_MODULE,
> };

No this is a template name, not an algorithm name.  IOW if you
try to allocate it won't exist.  You need to use it together
with parameters, e.g., xcbc(aes).

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ