Searched refs:ANDROID_PUBKEY_ENCODED_SIZE (Results 1 – 9 of 9) sorted by relevance
/system/core/adb/daemon/ |
D | auth.cpp | 116 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/ |
D | key_test.cpp | 57 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()
|
D | rsa_2048_key_test.cpp | 60 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/ |
D | android_pubkey_test.cpp | 36 const uint8_t kKey2048[ANDROID_PUBKEY_ENCODED_SIZE] = { 126 uint8_t key_data[ANDROID_PUBKEY_ENCODED_SIZE]; in TEST_F()
|
/system/extras/verity/ |
D | verity_verifier.cpp | 36 content.size() < ANDROID_PUBKEY_ENCODED_SIZE) { in load_key() 43 ANDROID_PUBKEY_ENCODED_SIZE, &key)) { in load_key()
|
D | generate_verity_key.c | 36 uint8_t key_data[ANDROID_PUBKEY_ENCODED_SIZE]; in write_public_keyfile()
|
/system/core/libcrypto_utils/include/crypto_utils/ |
D | android_pubkey.h | 34 #define ANDROID_PUBKEY_ENCODED_SIZE \ macro
|
/system/core/adb/crypto/ |
D | rsa_2048_key.cpp | 50 uint8_t binary_key_data[ANDROID_PUBKEY_ENCODED_SIZE]; in CalculatePublicKey()
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 95 uint8_t key_data[ANDROID_PUBKEY_ENCODED_SIZE]; in load_key()
|