Searched refs:rsa_in (Results 1 – 1 of 1) sorted by relevance
/third_party/openssl/apps/ |
D | rsautl.c | 82 unsigned char *rsa_in = NULL, *rsa_out = NULL, pad = RSA_PKCS1_PADDING; in rsautl_main() local 219 rsa_in = app_malloc(keysize * 2, "hold rsa key"); in rsautl_main() 224 rv = BIO_read(in, rsa_in, keysize * 2); in rsautl_main() 235 ctmp = rsa_in[i]; in rsautl_main() 236 rsa_in[i] = rsa_in[rsa_inlen - 1 - i]; in rsautl_main() 237 rsa_in[rsa_inlen - 1 - i] = ctmp; in rsautl_main() 249 rsa_in, rsa_inlen); in rsautl_main() 254 && EVP_PKEY_sign(ctx, rsa_out, &rsa_outlen, rsa_in, rsa_inlen); in rsautl_main() 259 && EVP_PKEY_encrypt(ctx, rsa_out, &rsa_outlen, rsa_in, rsa_inlen); in rsautl_main() 264 && EVP_PKEY_decrypt(ctx, rsa_out, &rsa_outlen, rsa_in, rsa_inlen); in rsautl_main() [all …]
|