Re: [PATCH][IPsec] IPsec gule of AES-XCBC-MAC

2006-01-27 Thread Kazunori Miyazawa
James Morris wrote: On Fri, 27 Jan 2006, James Morris wrote: Once again, these #ifdefs need to disappear from the core code. Sorry, I was looking at the wrong email. Please send patches inline. This would have helped :-) OK. I never mind. But I have already replied for your previous

Re: [PATCH][IPsec] IPsec gule of AES-XCBC-MAC

2006-01-27 Thread Kazunori Miyazawa
Sure, I'm considering your comment. And I did not resend any glue patch to the IPsec stack. Did I mistake to send it? I did not intend to reuse my old glue codes. I'm going to prepare it reflect your comment. I sent only XCBC core. James Morris wrote: On Fri, 13 Jan 2006, Kazunori Miyazawa wr

Re: [PATCH][IPsec] IPsec gule of AES-XCBC-MAC

2006-01-27 Thread James Morris
On Fri, 27 Jan 2006, James Morris wrote: > Once again, these #ifdefs need to disappear from the core code. Sorry, I was looking at the wrong email. > Please send patches inline. This would have helped :-) - James -- James Morris <[EMAIL PROTECTED]> - To unsubscribe from this list: send the

Re: [PATCH][IPsec] IPsec gule of AES-XCBC-MAC

2006-01-27 Thread James Morris
On Fri, 13 Jan 2006, Kazunori Miyazawa wrote: +#ifdef CONFIG_CRYPTO_XCBC + mode = aalg_desc->desc.sadb_alg_id == SADB_X_AALG_AES_XCBC_MAC ? + CRYPTO_TFM_MODE_CBC : 0; +#endif + ahp->key = x->aalg->alg_key; ahp->key_len = (x->aalg->alg_key_len+7)/8; - ahp->

Re: [PATCH][IPsec] IPsec gule of AES-XCBC-MAC

2006-01-13 Thread James Morris
On Fri, 13 Jan 2006, Kazunori Miyazawa wrote: +#ifdef CONFIG_CRYPTO_XCBC + mode = aalg_desc->desc.sadb_alg_id == SADB_X_AALG_AES_XCBC_MAC ? + CRYPTO_TFM_MODE_CBC : 0; +#endif + ahp->key = x->aalg->alg_key; ahp->key_len = (x->aalg->alg_key_len+7)/8; - ahp-

[PATCH][IPsec] IPsec gule of AES-XCBC-MAC

2006-01-13 Thread Kazunori Miyazawa
Hi, This patch is a glue for using AES-XCBC-MAC from IPsec. This depends on the previous patch. I have already checked the patch with TAHI test. I should have put sequence number on my patches, sorry. Signed-off-by: Kazunori MIYAZAWA <[EMAIL PROTECTED]> -- Kazunori Miyazawa diff --git a/in