Searched refs:bytevec (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/security/keymint/support/include/remote_prov/ |
D | remote_prov_utils.h | 28 using bytevec = std::vector<uint8_t>; variable 31 extern bytevec kTestMacKey; 89 bytevec randomBytes(size_t numBytes); 92 bytevec chain; 93 bytevec last_pubkey; 94 bytevec last_privkey; 101 ErrMsgOr<EekChain> generateEekChain(int32_t supportedEekCurve, size_t length, const bytevec& eekId); 106 bytevec getProdEekChain(int32_t supportedEekCurve); 109 bytevec pubKey;
|
/hardware/interfaces/security/keymint/support/ |
D | remote_prov_utils.cpp | 56 ErrMsgOr<bytevec> ecKeyGetPrivateKey(const EC_KEY* ecKey) { in ecKeyGetPrivateKey() 63 bytevec privKey(32, 0); in ecKeyGetPrivateKey() 68 ErrMsgOr<bytevec> ecKeyGetPublicKey(const EC_KEY* ecKey) { in ecKeyGetPublicKey() 83 bytevec publicKey; in ecKeyGetPublicKey() 90 ErrMsgOr<std::tuple<bytevec, bytevec>> getAffineCoordinates(const bytevec& pubKey) { in getAffineCoordinates() 108 bytevec pubX(kP256AffinePointSize); in getAffineCoordinates() 109 bytevec pubY(kP256AffinePointSize); in getAffineCoordinates() 119 ErrMsgOr<bytevec> getRawPublicKey(const EVP_PKEY_Ptr& pubKey) { in getRawPublicKey() 133 bytevec rawPubKey; in getRawPublicKey() 149 ErrMsgOr<std::tuple<bytevec, bytevec>> generateEc256KeyPair() { in generateEc256KeyPair() [all …]
|
D | remote_prov_utils_test.cpp | 74 static ErrMsgOr<CoseKey> parseEcdh256(const bytevec& coseKey) { in parseEcdh256() 149 bytevec kTestEekId = {'t', 'e', 's', 't', 'I', 'd', 0}; in TEST() 214 bytevec kTestEekId = {'t', 'e', 's', 't', 'I', 'd', 0}; in TEST() 226 bytevec eekPub; in TEST()
|
/hardware/interfaces/security/rkp/aidl/vts/functional/ |
D | VtsRemotelyProvisionedComponentTests.cpp | 73 using bytevec = std::vector<uint8_t>; typedef 78 bytevec string_to_bytevec(const char* s) { in string_to_bytevec() 80 return bytevec(p, p + strlen(s)); in string_to_bytevec() 130 ErrMsgOr<bytevec> corrupt_sig_chain(const bytevec& encodedEekChain, int which) { in corrupt_sig_chain() 264 bytevec challenge = randomBytes(64); in TEST() 265 bytevec csr; in TEST() 334 bytevec privateKeyBlob; in TEST_P() 357 bytevec privateKeyBlob; in TEST_P() 413 bytevec privateKeyBlob; in TEST_P() 444 bytevec privateKeyBlob; in generateKeys() [all …]
|
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintAidlTestBase.cpp | 2204 auto macFunction = [](const cppcose::bytevec& input) { in check_maced_pubkey()
|