Searched refs:rsa_in (Results 1 – 1 of 1) sorted by relevance
/openssl/apps/ |
H A D | rsautl.c | 82 unsigned char *rsa_in = NULL, *rsa_out = NULL, pad = RSA_PKCS1_PADDING; in rsautl_main() local 218 rsa_in = app_malloc(keysize * 2, "hold rsa key"); in rsautl_main() 223 rv = BIO_read(in, rsa_in, keysize * 2); in rsautl_main() 234 ctmp = rsa_in[i]; in rsautl_main() 235 rsa_in[i] = rsa_in[rsa_inlen - 1 - i]; in rsautl_main() 236 rsa_in[rsa_inlen - 1 - i] = ctmp; in rsautl_main() 248 rsa_in, rsa_inlen) > 0; in rsautl_main() 253 && EVP_PKEY_sign(ctx, rsa_out, &rsa_outlen, rsa_in, rsa_inlen) > 0; in rsautl_main() 258 && EVP_PKEY_encrypt(ctx, rsa_out, &rsa_outlen, rsa_in, rsa_inlen) > 0; in rsautl_main() 263 && EVP_PKEY_decrypt(ctx, rsa_out, &rsa_outlen, rsa_in, rsa_inlen) > 0; in rsautl_main() [all …]
|
Completed in 6 milliseconds