mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Łukasz Stelmach" <l.stelmach@samsung.com>
To: Ismail Kizir <ikizir@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: A new, fast and "unbreakable" encryption algorithm
Date: Thu, 19 Nov 2015 13:12:27 +0100	[thread overview]
Message-ID: <87twoi2no4.fsf%l.stelmach@samsung.com> (raw)
In-Reply-To: <CAFJyfaPr4bmZ5gbHJrhAXgW-35Ayn8LMrSmkX8tbwaCCV5jJAg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

It was <2015-11-18 śro 06:25>, when Ismail Kizir wrote:
> Hello,
>
> I've developed a new encryption algorithm, which dynamically changes
> the key according to plaintext and practically impossible to break.
[...]
> I will be glad to see my algorithm included in Linux distributions.
> Please feel free to ask if you have any questions.

How resistant to side-channel attacts is or can be an implementation of
your algorithm? Not being an expert I am a bit worried about this
particular line 

    XORVal ^= *(Salt + (LastVal&(SALT_SIZE-1)));

which if I understand it correctly makes a memory access depending on
secret data. Because memory accesses are note constant time operations
due to cache one might try (and succeed?) learning about secrets by
measuring time required to encrypt or decrypt data.

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

  parent reply	other threads:[~2015-11-19 12:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18  5:25 Ismail Kizir
2015-11-18 16:33 ` Harald Arnesen
2015-11-18 20:11   ` Ismail Kizir
2015-11-19  9:05     ` Clemens Ladisch
2015-11-21  6:31       ` Ismail Kizir
2015-12-03 22:35         ` Pavel Machek
2015-12-03 22:38           ` Ismail Kizir
2015-12-04  7:34             ` Clemens Ladisch
2015-12-04  9:42               ` Ismail Kizir
2015-12-04 15:28                 ` Austin S Hemmelgarn
2015-11-19  2:35   ` Ismail Kizir
2015-11-19 12:12 ` Łukasz Stelmach [this message]
2015-11-19 12:31   ` Ismail Kizir
2015-11-19 14:04     ` Łukasz Stelmach
2015-11-19 14:05     ` Ismail Kizir

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87twoi2no4.fsf%l.stelmach@samsung.com \
    --to=l.stelmach@samsung.com \
    --cc=ikizir@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome