Searched refs:vprsactx (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/openssl/providers/implementations/kem/ |
H A D | rsa_kem.c | 95 static void rsakem_freectx(void *vprsactx) in rsakem_freectx() argument 97 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsakem_freectx() 103 static void *rsakem_dupctx(void *vprsactx) in rsakem_dupctx() argument 105 PROV_RSA_CTX *srcctx = (PROV_RSA_CTX *)vprsactx; in rsakem_dupctx() 120 static int rsakem_init(void *vprsactx, void *vrsa, in rsakem_init() argument 123 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsakem_init() 139 static int rsakem_encapsulate_init(void *vprsactx, void *vrsa, in rsakem_encapsulate_init() argument 142 return rsakem_init(vprsactx, vrsa, params, EVP_PKEY_OP_ENCAPSULATE); in rsakem_encapsulate_init() 145 static int rsakem_decapsulate_init(void *vprsactx, void *vrsa, in rsakem_decapsulate_init() argument 148 return rsakem_init(vprsactx, vrsa, params, EVP_PKEY_OP_DECAPSULATE); in rsakem_decapsulate_init() [all …]
|
/freebsd/crypto/openssl/providers/implementations/signature/ |
H A D | rsa_sig.c | 386 static int rsa_signverify_init(void *vprsactx, void *vrsa, in rsa_signverify_init() argument 389 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_signverify_init() 507 static int rsa_sign_init(void *vprsactx, void *vrsa, const OSSL_PARAM params[]) in rsa_sign_init() argument 511 return rsa_signverify_init(vprsactx, vrsa, params, EVP_PKEY_OP_SIGN); in rsa_sign_init() 514 static int rsa_sign(void *vprsactx, unsigned char *sig, size_t *siglen, in rsa_sign() argument 517 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_sign() 660 static int rsa_verify_recover_init(void *vprsactx, void *vrsa, in rsa_verify_recover_init() argument 665 return rsa_signverify_init(vprsactx, vrsa, params, in rsa_verify_recover_init() 669 static int rsa_verify_recover(void *vprsactx, in rsa_verify_recover() argument 676 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_verify_recover() [all …]
|
/freebsd/crypto/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 94 static int rsa_init(void *vprsactx, void *vrsa, const OSSL_PARAM params[], in rsa_init() argument 97 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_init() 123 static int rsa_encrypt_init(void *vprsactx, void *vrsa, in rsa_encrypt_init() argument 126 return rsa_init(vprsactx, vrsa, params, EVP_PKEY_OP_ENCRYPT); in rsa_encrypt_init() 129 static int rsa_decrypt_init(void *vprsactx, void *vrsa, in rsa_decrypt_init() argument 132 return rsa_init(vprsactx, vrsa, params, EVP_PKEY_OP_DECRYPT); in rsa_decrypt_init() 135 static int rsa_encrypt(void *vprsactx, unsigned char *out, size_t *outlen, in rsa_encrypt() argument 138 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_encrypt() 197 static int rsa_decrypt(void *vprsactx, unsigned char *out, size_t *outlen, in rsa_decrypt() argument 200 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_decrypt() [all …]
|