21.06.2005 12:49:16Параметры r и s подписи Ответов: 1
Олег
Добрый день! Как из буфера подписи сообщения получить параметры r и s, которые в соответствии с ГОСТом вычисляются из подписи? Это первые и вторые блока по 32 байта или как-то еще?
 
Ответы:
22.06.2005 8:55:39kure
ftp://ftp.cryptopro.ru/pub/drafts/draft-ietf-pkix-gost-cppk-02.txt

Signature algorithm GOST R 34.10-2001 generates digital signature in
the form of a binary 512-bit vector (<r&rsquo;>256||<s>256). That is, the
least-significant (1-st) bit of signatureValue BIT STRING contains
the least-significant (1-st) bit of <s>, and the most-significant
(512th) bit of signatureValue contains the most-significant (256th)
bit of <r&rsquo;>.