Searched refs:new_key (Results 1 – 3 of 3) sorted by relevance
68 RSA* new_key = RSA_new(); in android_pubkey_decode() local69 if (!new_key) { in android_pubkey_decode()84 new_key->n = BN_bin2bn(modulus_buffer, sizeof(modulus_buffer), NULL); in android_pubkey_decode()85 if (!new_key->n) { in android_pubkey_decode()90 new_key->e = BN_new(); in android_pubkey_decode()91 if (!new_key->e || !BN_set_word(new_key->e, key_struct->exponent)) { in android_pubkey_decode()103 *key = new_key; in android_pubkey_decode()107 if (!ret && new_key) { in android_pubkey_decode()108 RSA_free(new_key); in android_pubkey_decode()
111 RSA* new_key = nullptr; in SetUp() local112 ASSERT_TRUE(android_pubkey_decode(kKey2048, sizeof(kKey2048), &new_key)); in SetUp()113 key_.reset(new_key); in SetUp()
361 DEFINE_string(new_key, "", in Main()