Ai
8 Star 77 Fork 142

OpenHarmony/third_party_openssl
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
EVP_KEM-RSA.pod 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
code4lala 提交于 2023-10-16 10:12 +08:00 . openssl-3.0.9.tar.gz

NAME

EVP_KEM-RSA - EVP_KEM RSA keytype and algorithm support

DESCRIPTION

The RSA keytype and its parameters are described in EVP_PKEY-RSA(7). See EVP_PKEY_encapsulate(3) and EVP_PKEY_decapsulate(3) for more info.

RSA KEM parameters

"operation" (OSSL_KEM_PARAM_OPERATION) <UTF8 string>

The OpenSSL RSA Key Encapsulation Mechanism only currently supports the following operation

"RSASVE"

The encapsulate function simply generates a secret using random bytes and then encrypts the secret using the RSA public key (with no padding). The decapsulate function recovers the secret using the RSA private key.

This can be set using EVP_PKEY_CTX_set_kem_op().

CONFORMING TO

SP800-56Br2

Section 7.2.1.2 RSASVE Generate Operation (RSASVE.GENERATE). Section 7.2.1.3 RSASVE Recovery Operation (RSASVE.RECOVER).

SEE ALSO

EVP_PKEY_CTX_set_kem_op(3), EVP_PKEY_encapsulate(3), EVP_PKEY_decapsulate(3) EVP_KEYMGMT(3), EVP_PKEY(3), provider-keymgmt(7)

HISTORY

This functionality was added in OpenSSL 3.0.

COPYRIGHT

Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/third_party_openssl.git
git@gitee.com:openharmony/third_party_openssl.git
openharmony
third_party_openssl
third_party_openssl
master

搜索帮助