Hello,
ni...@lysator.liu.se (Niels Möller) writes:
> Dmitry Eremin-Solenikov writes:
>
>> There will be a nonce for GMAC.
>
> Ok. If we keep set_nonce, we have to clarify what it means. There are a
> couple of cases, where the first two are relatively easy.
>
> nonce_size == 0, set_nonce ==
вс, 15 сент. 2019 г. в 10:28, Niels Möller :
>
> Dmitry Eremin-Solenikov writes:
>
> > There will be a nonce for GMAC.
>
> Ok. If we keep set_nonce, we have to clarify what it means. There are a
> couple of cases, where the first two are relatively easy.
>
> nonce_size == 0, set_nonce == NULL:
>
GOST 28147-89 is the data encryption standard for Russia (old, but still
used). English translation is provided in RFC 5830. It defines a 64-bit
cipher, ECB, CFB and counter (CNT) modes on top of it and a special mode
of basic transformation that is used for MAC construction called
"Imitovstavka"
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
gost28147.c| 85 +++---
gost28147.h| 8 +++
testsuite/gost28147-test.c | 143 +
3 files changed, 228 insertions(+), 8 deletions(-)
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.in | 3 +-
gost28147-internal.h | 3 +
gost28147-meta.c | 49 +++
gost28147.c | 85 +
gost28147.h |
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
gost28147.c| 107 +++--
gost28147.h| 47
testsuite/gost28147-test.c | 102 +++
3 files changed, 253
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
gost28147.c | 1602 +++
gost28147.h | 13 +
2 files changed, 1615 insertions(+)
diff --git a/gost28147.c b/gost28147.c
index 6ccdcb6a353c..9fe31043a3ff 100644
---
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
gost28147.c| 86
gost28147.h| 24 ++
testsuite/gost28147-test.c | 161 +
3 files changed, 271 insertions(+)
diff --git