summary refs log tree commit diff stats
path: root/crypto/rsakey-builtin.c.inc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* crypto/rsakey-builtin.c.inc: Clean up two error pathsMarkus Armbruster2023-11-071-6/+2
| | | | | | | | | | | When qcrypto_builtin_rsa_public_key_parse() is about to fail, but no error has been set, it makes one up. Actually, there's just one way to fail without setting an error. Set it there instead. Same for qcrypto_builtin_rsa_private_key_parse(). Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* crypto: Implement RSA algorithm by hogweedLei He2022-05-261-0/+200
Implement RSA algorithm by hogweed from nettle. Thus QEMU supports a 'real' RSA backend to handle request from guest side. It's important to test RSA offload case without OS & hardware requirement. Signed-off-by: lei he <helei.sig11@bytedance.com> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>