Lines Matching refs:get
86 if (pkcs8.get() == nullptr) return TranslateLastOpenSslError(true /* log_message */); in convert_pkcs8_blob_to_evp()
88 pkey->reset(EVP_PKCS82PKEY(pkcs8.get())); in convert_pkcs8_blob_to_evp()
89 if (!pkey->get()) return TranslateLastOpenSslError(true /* log_message */); in convert_pkcs8_blob_to_evp()
133 if (!cert.get()) return TranslateLastOpenSslError(); in GetEcdsa256KeyFromCert()
134 EVP_PKEY_Ptr pubKey(X509_get_pubkey(cert.get())); in GetEcdsa256KeyFromCert()
135 if (!pubKey.get()) return TranslateLastOpenSslError(); in GetEcdsa256KeyFromCert()
136 EC_KEY* ecKey = EVP_PKEY_get0_EC_KEY(pubKey.get()); in GetEcdsa256KeyFromCert()
143 if (!ctx.get()) return TranslateLastOpenSslError(); in GetEcdsa256KeyFromCert()
144 if (!EC_POINT_get_affine_coordinates_GFp(EC_KEY_get0_group(ecKey), jacobian_coords, x.get(), in GetEcdsa256KeyFromCert()
145 y.get(), ctx.get())) { in GetEcdsa256KeyFromCert()
149 if (BN_bn2binpad(x.get(), tmp_x, kAffinePointLength) != kAffinePointLength) { in GetEcdsa256KeyFromCert()
153 if (BN_bn2binpad(y.get(), tmp_y, kAffinePointLength) != kAffinePointLength) { in GetEcdsa256KeyFromCert()
163 if (!EC_GROUP_get_order(group, order.get(), bn_ctx.get())) { in ec_group_size_bits()
167 return BN_num_bits(order.get()); in ec_group_size_bits()