Data is split on 128 KiB chunks, each of which is encrypted the following way:
H = Streebog-512
- CK0 = CEK
+ CK{-1} = CEK
CKi = HKDF-Expand(H,
prk=HKDF-Extract(H, salt="", ikm=CK{i-1}),
info="cm/encrypted/kuznechik-ctr-hmac-kr/kr")
Data is split on 128 KiB chunks, each of which is encrypted the following way:
H = BLAKE2b
- CK0, prMACx0 = CEK || prMACx
+ CK{-1} || prMACx{-1} = CEK
CKi = HKDF-Expand(H,
prk=HKDF-Extract(H, salt="", ikm=CK{i-1}),
info="cm/encrypted/xchacha-krmr/kr")
Data is split on 128 KiB chunks, each of which is encrypted the following way:
H = BLAKE2b
- CK0 = CEK
+ CK{-1} = CEK
CKi = HKDF-Expand(H,
prk=HKDF-Extract(H, salt="", ikm=CK{i-1}),
info="cm/encrypted/xchapoly-krkc/kr")