Function initEccLib

  • Initializes the ECC library with the provided instance. If eccLib is undefined, the library will be cleared. If eccLib is a new instance, it will be verified before setting it as the active library.

    Parameters

    • eccLib: undefined | TinySecp256k1Interface

      The instance of the ECC library to initialize.

    • Optionalopts: {
          DANGER_DO_NOT_VERIFY_ECCLIB: boolean;
      }

      Extra initialization options. Use {DANGER_DO_NOT_VERIFY_ECCLIB:true} if ecc verification should not be executed. Not recommended!

      • DANGER_DO_NOT_VERIFY_ECCLIB: boolean

    Returns void