<s> from wheel import signatures <EOL> from wheel . signatures import djbec , ed25519py <EOL> from wheel . util import binary <EOL> def test_getlib ( ) : <EOL> signatures . get_ed25519ll ( ) <EOL> def test_djbec ( ) : <EOL> djbec . dsa_test ( ) <EOL> djbec . dh_test ( ) <EOL> def test_ed25519py ( ) : <EOL> kp0 = ed25519py . crypto_sign_keypair ( binary ( '<STR_LIT:U+0020>' * <NUM_LIT:32> ) ) <EOL> kp = ed25519py . crypto_sign_keypair ( ) <EOL> signed = ed25519py . crypto_sign ( binary ( '<STR_LIT:test>' ) , kp . sk ) <EOL> ed25519py . crypto_sign_open ( signed , kp . vk ) <EOL> try : <EOL> ed25519py . crypto_sign_open ( signed , kp0 . vk ) <EOL> except ValueError : <EOL> pass <EOL> else : <EOL> raise Exception ( "<STR_LIT>" ) <EOL> try : <EOL> ed25519py . crypto_sign_keypair ( binary ( '<STR_LIT:U+0020>' * <NUM_LIT> ) ) <EOL> except ValueError : <EOL> pass <EOL> else : <EOL> raise Exception ( "<STR_LIT>" ) <EOL> try : <EOL> ed25519py . crypto_sign ( binary ( '<STR_LIT>' ) , binary ( '<STR_LIT:U+0020>' ) * <NUM_LIT> ) <EOL> except ValueError : <EOL> pass <EOL> else : <EOL> raise Exception ( "<STR_LIT>" ) <EOL> try : <EOL> ed25519py . crypto_sign_open ( binary ( '<STR_LIT>' ) , binary ( '<STR_LIT:U+0020>' ) * <NUM_LIT> ) <EOL> except ValueError : <EOL> pass <EOL> else : <EOL> raise Exception ( "<STR_LIT>" ) </s>
