1. 07 8月, 2020 1 次提交
  2. 01 8月, 2020 1 次提交
  3. 24 7月, 2020 2 次提交
  4. 14 5月, 2020 1 次提交
  5. 15 4月, 2020 1 次提交
  6. 04 3月, 2020 1 次提交
    • S
      Add Serializers for EC · f552d900
      Shane Lontis 提交于
      Provide EC serializers for text, pem and der.
      
      EC parameters use ANS1 'CHOICE' - which means they are more embedded than other parameters used by
      other KEY types (which normally have a SEQUENCE at the top level).
      For this reason the ANS1_STRING type that was being passed around has been changed to a void so that the
      code can still be shared with EC.
      
      The EC serializer only supports named curves currently.
      
      NOTE the serializer code assumes PKCS8 format - if the older encode methods are needed they will need to be
      added in another PR. (Probably when deserialization is considered).
      
      EVP_PKEY_key_fromdata_init was changed from using a keypair selection to all bits of a key. A side effect of this was
      that the very restrictive checks in the ecx code needed to be relaxed as it was assuming all selection flags were non
      optional. As this is not the case for any other key the code has been modified.
      
      Fixed a bug in legacy_ctrl_str_to_params() - "ecdh_cofactor_mode" was being incorrectly converted to the wrong keyname.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/11107)
      f552d900
  7. 28 2月, 2020 1 次提交
  8. 23 12月, 2019 2 次提交
  9. 30 11月, 2019 4 次提交
  10. 10 10月, 2019 1 次提交