Home
last modified time | relevance | path

Searched refs:ANDROID_PUBKEY_ENCODED_SIZE (Results 1 – 9 of 9) sorted by relevance

/system/core/adb/daemon/
Dauth.cpp116 uint8_t keybuf[ANDROID_PUBKEY_ENCODED_SIZE + 1]; in adbd_tls_client_ca_list()
118 if (b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)) != ANDROID_PUBKEY_ENCODED_SIZE) { in adbd_tls_client_ca_list()
124 if (!android_pubkey_decode(keybuf, ANDROID_PUBKEY_ENCODED_SIZE, &key)) { in adbd_tls_client_ca_list()
163 uint8_t keybuf[ANDROID_PUBKEY_ENCODED_SIZE + 1]; in adbd_auth_verify()
165 if (b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)) != ANDROID_PUBKEY_ENCODED_SIZE) { in adbd_auth_verify()
171 if (!android_pubkey_decode(keybuf, ANDROID_PUBKEY_ENCODED_SIZE, &key)) { in adbd_auth_verify()
304 uint8_t keybuf[ANDROID_PUBKEY_ENCODED_SIZE + 1]; in adbd_tls_verify_cert()
306 if (b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)) != ANDROID_PUBKEY_ENCODED_SIZE) { in adbd_tls_verify_cert()
312 if (!android_pubkey_decode(keybuf, ANDROID_PUBKEY_ENCODED_SIZE, &key)) { in adbd_tls_verify_cert()
/system/core/adb/crypto/tests/
Dkey_test.cpp57 uint8_t keybuf[ANDROID_PUBKEY_ENCODED_SIZE + 1]; in TEST()
59 ASSERT_EQ(b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)), ANDROID_PUBKEY_ENCODED_SIZE); in TEST()
61 ASSERT_TRUE(android_pubkey_decode(keybuf, ANDROID_PUBKEY_ENCODED_SIZE, &key)); in TEST()
Drsa_2048_key_test.cpp60 uint8_t keybuf[ANDROID_PUBKEY_ENCODED_SIZE + 1]; in TEST()
62 ASSERT_EQ(b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)), ANDROID_PUBKEY_ENCODED_SIZE); in TEST()
64 ASSERT_TRUE(android_pubkey_decode(keybuf, ANDROID_PUBKEY_ENCODED_SIZE, &key)); in TEST()
/system/core/libcrypto_utils/tests/
Dandroid_pubkey_test.cpp36 const uint8_t kKey2048[ANDROID_PUBKEY_ENCODED_SIZE] = {
126 uint8_t key_data[ANDROID_PUBKEY_ENCODED_SIZE]; in TEST_F()
/system/extras/verity/
Dverity_verifier.cpp36 content.size() < ANDROID_PUBKEY_ENCODED_SIZE) { in load_key()
43 ANDROID_PUBKEY_ENCODED_SIZE, &key)) { in load_key()
Dgenerate_verity_key.c36 uint8_t key_data[ANDROID_PUBKEY_ENCODED_SIZE]; in write_public_keyfile()
/system/core/libcrypto_utils/include/crypto_utils/
Dandroid_pubkey.h34 #define ANDROID_PUBKEY_ENCODED_SIZE \ macro
/system/core/adb/crypto/
Drsa_2048_key.cpp50 uint8_t binary_key_data[ANDROID_PUBKEY_ENCODED_SIZE]; in CalculatePublicKey()
/system/core/fs_mgr/
Dfs_mgr_verity.cpp95 uint8_t key_data[ANDROID_PUBKEY_ENCODED_SIZE]; in load_key()