Lines Matching refs:vector

82 static std::vector<uint8_t> coseBuildToBeSigned(  in coseBuildToBeSigned()
84 const std::vector<uint8_t>& data) { in coseBuildToBeSigned()
98 static std::optional<std::vector<uint8_t>> getRandom(size_t numBytes) { in getRandom()
99 std::vector<uint8_t> output; in getRandom()
110 const std::vector<std::tuple<const void*, size_t>>& data_list) { in sha()
126 const std::vector<std::tuple<const void*, size_t>>& data_list) { in sha()
142 static SHADigest sha(const std::vector<uint8_t>& data) { in sha()
146 static std::optional<std::vector<uint8_t>> signEcDsaDigest( in signEcDsaDigest()
147 const std::vector<uint8_t>& key, in signEcDsaDigest()
176 std::vector<uint8_t> signature; in signEcDsaDigest()
183 static std::optional<std::vector<uint8_t>> signEcDsa( in signEcDsa()
184 const std::vector<uint8_t>& key, in signEcDsa()
185 const std::vector<uint8_t>& data) { in signEcDsa()
190 const std::vector<uint8_t>& ecdsaDerSignature, in ecdsaSignatureDerToCose()
191 std::vector<uint8_t>& ecdsaCoseSignature) { in ecdsaSignatureDerToCose()
240 std::optional<std::vector<uint8_t>> coseSignEcDsa( in coseSignEcDsa()
241 const std::vector<uint8_t>& key, in coseSignEcDsa()
243 const std::vector<uint8_t>& data, in coseSignEcDsa()
261 std::vector<uint8_t> toBeSigned = in coseSignEcDsa()
264 std::optional<std::vector<uint8_t>> derSignature = in coseSignEcDsa()
270 std::vector<uint8_t> coseSignature; in coseSignEcDsa()
380 bool coseCheckEcDsaSignature(const std::vector<uint8_t>& signatureCoseSign1, in coseCheckEcDsaSignature()
381 const std::vector<uint8_t>& detachedContent, in coseCheckEcDsaSignature()
382 const std::vector<uint8_t>& publicKey) { in coseCheckEcDsaSignature()
438 std::vector<uint8_t> data(dataPtr, dataPtr + dataSize); in coseCheckEcDsaSignature()
464 std::vector<uint8_t> toBeSigned = in coseCheckEcDsaSignature()
691 static std::optional<std::vector<uint8_t>> encryptAesGcm( in encryptAesGcm()
692 const std::vector<uint8_t>& key, in encryptAesGcm()
693 const std::vector<uint8_t>& nonce, in encryptAesGcm()
708 std::vector<uint8_t> encryptedData; in encryptAesGcm()
811 static std::optional<std::vector<uint8_t>> coseEncryptAesGcm( in coseEncryptAesGcm()
813 const std::vector<uint8_t>& key, in coseEncryptAesGcm()
815 const std::vector<uint8_t>& externalAad, in coseEncryptAesGcm()
816 const std::vector<uint8_t>& encodedProtectedHeaders, in coseEncryptAesGcm()
818 std::optional<std::vector<uint8_t>> recipients) { in coseEncryptAesGcm()
819 std::optional<std::vector<uint8_t>> iv = getRandom(kAesGcmIvSize); in coseEncryptAesGcm()
845 std::optional<std::vector<uint8_t>> ciphertext = in coseEncryptAesGcm()
865 std::optional<std::vector<uint8_t>> coseEncryptAesGcmKeyWrap( in coseEncryptAesGcmKeyWrap()
866 const std::vector<uint8_t>& key, in coseEncryptAesGcmKeyWrap()
869 const std::vector<uint8_t>& externalAad, in coseEncryptAesGcmKeyWrap()
870 const std::vector<uint8_t>& encodedProtectedHeaders, in coseEncryptAesGcmKeyWrap()
874 std::optional<std::vector<uint8_t>> contentEncryptionKey = in coseEncryptAesGcmKeyWrap()
1064 const std::vector<uint8_t>& externalAad, in coseDecryptAesGcmInPlace()
1209 const std::vector<uint8_t>& externalAad, in coseDecryptAesGcmKeyWrapInPlace()