Lines Matching refs:to
52 * on failure. This means we need to tell our scoped pointers when we've transferred ownership,
92 * Makes sure the ex_data for the keyhandle is initially set to NULL.
111 int keyhandle_dup(CRYPTO_EX_DATA* to, CRYPTO_EX_DATA*, void *ptrRef, int idx, long, void *) {
112 // This appears to be a bug in OpenSSL.
120 (void) CRYPTO_set_ex_data(to, idx, keyhandle_copy);
125 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa,
127 ALOGV("keystore_rsa_sign(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding);
177 memcpy(to, reply.get(), replyLen);
179 ALOGV("rsa=%p keystore_rsa_sign => returning %p len %llu", rsa, to,
248 * ENGINE_finish(), so we need to call ENGINE_init() here.
269 * Called to initialize RSA's ex_data for the key_id handle. This should