Skip to content
  • Gaëtan Cassiers's avatar
    8ce57cc6
    Remove the 'p' parameter from the API surface · 8ce57cc6
    Gaëtan Cassiers authored
    This matches NIST API and reference implementation.
    The 'p' public key is now part of the key:
    * if the key 'k' is 16 bytes, the su mode is selected
    * if the key 'k' is 32 bytes, the mu mode is selected and
    p is extracted from 'k'.
    
    This a a BREAKING CHANGE.
    8ce57cc6
    Remove the 'p' parameter from the API surface
    Gaëtan Cassiers authored
    This matches NIST API and reference implementation.
    The 'p' public key is now part of the key:
    * if the key 'k' is 16 bytes, the su mode is selected
    * if the key 'k' is 32 bytes, the mu mode is selected and
    p is extracted from 'k'.
    
    This a a BREAKING CHANGE.
This project is licensed under the MIT License. Learn more
Loading