[Swan-commit] Changes to ref refs/heads/main

Andrew Cagney cagney at vault.libreswan.fi
Fri Feb 11 01:15:13 EET 2022

New commits:
commit ef19307d277ea71fb7de1f3dee3270881fe287ab
Author: Andrew Cagney <cagney at gnu.org>
Date:   Thu Feb 10 09:21:35 2022 -0500

    crypto: add struct pubkey_signer, use in ikev2_auth
    - move struct pubkey_type.sign_hash() to struct pubkey_signer
    - move authsig_using_{ECDSA,RSA}_pubkey() to struct pubkey_signer .authenticate_signature()
    - pass pubkey_signer into v2_auth_signature()
    - add v2_auth_digsig_pubkey_signer(authby) to figure out what is needed
    - eliminate ikev2_try_asn1_hash_blob()
    - eliminate v2_authsig_and_log_using_{RSA,ECDSA}_pubkey()

commit 06b470749f867a4352e252f9c5bc8431e16693e1
Author: Andrew Cagney <cagney at gnu.org>
Date:   Wed Feb 9 18:44:39 2022 -0500

    crypto: update digital signature macros in ietf_constants.h
    - add enum digital_signature_blob to identify blob families
    - name things ASN1_<FAMILY>_<HASH>_{BLOB,SIZE}
    - order things the same as the RFC
    - wrap blobs at 8 octets (anoyingly RFC does it at 16)
    - add more Algorithm Identifier blobs
    - add hash_desc .digital_signature_blob[]

More information about the Swan-commit mailing list