| ||||
| ||||
Добрый день! Как из буфера подписи сообщения получить параметры r и s, которые в соответствии с ГОСТом вычисляются из подписи? Это первые и вторые блока по 32 байта или как-то еще? | ||||
Ответы: | ||||
| ||||
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’>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’>. | ||||