projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rsa: add ossl_ prefix to internal rsa_ calls.
[openssl.git]
/
providers
/
implementations
/
kem
/
rsa_kem.c
diff --git
a/providers/implementations/kem/rsa_kem.c
b/providers/implementations/kem/rsa_kem.c
index 39ee9f4bacc3be73d0d1f3ed45520b37474b852d..cb02854100665c939ddbc83511f6cca1cdfe0271 100644
(file)
--- a/
providers/implementations/kem/rsa_kem.c
+++ b/
providers/implementations/kem/rsa_kem.c
@@
-126,7
+126,7
@@
static int rsakem_init(void *vprsactx, void *vrsa, int operation)
RSA_free(prsactx->rsa);
prsactx->rsa = vrsa;
RSA_free(prsactx->rsa);
prsactx->rsa = vrsa;
- if (!rsa_check_key(vrsa, operation == EVP_PKEY_OP_ENCAPSULATE)) {
+ if (!
ossl_
rsa_check_key(vrsa, operation == EVP_PKEY_OP_ENCAPSULATE)) {
ERR_raise(ERR_LIB_PROV, PROV_R_INVALID_KEY_LENGTH);
return 0;
}
ERR_raise(ERR_LIB_PROV, PROV_R_INVALID_KEY_LENGTH);
return 0;
}
@@
-205,7
+205,7
@@
static int rsasve_gen_rand_bytes(RSA *rsa_pub,
BN_CTX *bnctx;
BIGNUM *z, *nminus3;
BN_CTX *bnctx;
BIGNUM *z, *nminus3;
- bnctx = BN_CTX_secure_new_ex(rsa_get0_libctx(rsa_pub));
+ bnctx = BN_CTX_secure_new_ex(
ossl_
rsa_get0_libctx(rsa_pub));
if (bnctx == NULL)
return 0;
if (bnctx == NULL)
return 0;