Skip to main content

Module selection

Module selection 

Source
Expand description

Side-channel-free decoding and selection for draft-irtf-cfrg-rsa-guidance-10 ยง7.2.

Functionsยง

eme_pkcs1v15_decode ๐Ÿ”’
Step 4: EME-PKCS1-v1_5 decoding, returning (check, L).
select_al ๐Ÿ”’
Step 3.3: select AL from the 128 big-endian candidate lengths CL.
select_message ๐Ÿ”’
Step 5: select the last AL octets of AM if check is set, otherwise the last L of EM.