()
| 55 | |
| 56 | |
| 57 | def _init_nacl(): |
| 58 | global _nacl_bindings |
| 59 | try: |
| 60 | from nacl import bindings |
| 61 | |
| 62 | _nacl_bindings = bindings |
| 63 | except ImportError: |
| 64 | raise RuntimeError( |
| 65 | "'pynacl' package is required for ed25519_password auth method" |
| 66 | ) |
| 67 | |
| 68 | |
| 69 | def _scalar_clamp(s32): |