This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, gregory.p.smith
Date 2022-03-23.19:54:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648065260.92.0.461872971305.issue47102@roundup.psfhosted.org>
In-reply-to
Content
test_socket has examples for HMAC, AES-CBC, and AES-GCM.

with self.create_alg('hash', 'hmac(sha1)') as algo:
    algo.setsockopt(socket.SOL_ALG, socket.ALG_SET_KEY, b"Jefe")
    op, _ = algo.accept()
    with op:
        op.sendall(b"what do ya want for nothing?")
        self.assertEqual(op.recv(512), expected)
History
Date User Action Args
2022-03-23 19:54:20christian.heimessetrecipients: + christian.heimes, gregory.p.smith
2022-03-23 19:54:20christian.heimessetmessageid: <1648065260.92.0.461872971305.issue47102@roundup.psfhosted.org>
2022-03-23 19:54:20christian.heimeslinkissue47102 messages
2022-03-23 19:54:20christian.heimescreate