Lines Matching refs:get
131 if (padded.get() == NULL) {
138 if (!RSA_padding_add_PKCS1_type_1(padded.get(), num, from, flen)) {
143 if (!RSA_padding_add_X931(padded.get(), num, from, flen)) {
148 if (!RSA_padding_add_none(padded.get(), num, from, flen)) {
165 key_id, static_cast<size_t>(num), reinterpret_cast<const uint8_t*>(padded.get()))
177 memcpy(to, reply.get(), replyLen);
224 ALOGV("Cannot get public key for %s", key_id);
228 const unsigned char* tmp = reinterpret_cast<const unsigned char*>(reply.get());
230 if (pkey.get() == NULL) {
237 Unique_RSA rsa(EVP_PKEY_get1_RSA(pkey.get()));
238 if (!RSA_set_ex_data(rsa.get(), rsa_key_handle, reinterpret_cast<void*>(strdup(key_id)))) {
243 RSA_set_method(rsa.get(), &keystore_rsa_meth);
244 RSA_blinding_off(rsa.get());
310 if (engine.get() == NULL) {
314 if (!keystore_engine_setup(engine.get())) {