Debian Codegraph @

mlspp/lib/hpke/src/aead_cipher.h

raw symbols SCIP
1 #cxx . . $ `<file>/mlspp/lib/hpke/src/aead_cipher.h`/pragma once
2
3 #include <hpke/hpke.h>cxx . . $ `<file>/mlspp/lib/hpke/include/hpke/hpke.h`/
4
5 namespace mlsppcxx . . $ mlspp/::hpkecxx . . $ mlspp/hpke/ {
6
7 struct ExportOnlyCiphercxx . . $ mlspp/hpke/ExportOnlyCipher# : public AEADcxx . . $ mlspp/hpke/AEAD#
8 {
9 ExportOnlyCiphercxx . . $ mlspp/hpke/ExportOnlyCipher#ExportOnlyCipher(49f6e7a06ebc5aa8).();
10 ~cxx . . $ mlspp/hpke/ExportOnlyCipher#`~ExportOnlyCipher`(ced63f7c635d850d).ExportOnlyCiphercxx . . $ mlspp/hpke/ExportOnlyCipher#() override = default;
11
12 bytescxx . . $ mlspp/bytes_ns/bytes# sealcxx . . $ mlspp/hpke/ExportOnlyCipher#seal(a2160eb270d8417e).(const bytescxx . . $ mlspp/bytes_ns/bytes#& key,
13 const bytescxx . . $ mlspp/bytes_ns/bytes#& nonce,
14 const bytescxx . . $ mlspp/bytes_ns/bytes#& aad,
15 const bytescxx . . $ mlspp/bytes_ns/bytes#& pt) const override;
16 stdcxx . . $ std/::optionalcxx . . $ std/optional#<bytescxx . . $ mlspp/bytes_ns/bytes#> opencxx . . $ mlspp/hpke/ExportOnlyCipher#open(f7542dab5ac51900).(const bytescxx . . $ mlspp/bytes_ns/bytes#& key,
17 const bytescxx . . $ mlspp/bytes_ns/bytes#& nonce,
18 const bytescxx . . $ mlspp/bytes_ns/bytes#& aad,
19 const bytescxx . . $ mlspp/bytes_ns/bytes#& ct) const override;
20 };
21
22 struct AEADCiphercxx . . $ mlspp/hpke/AEADCipher# : public AEADcxx . . $ mlspp/hpke/AEAD#
23 {
24 template<AEADcxx . . $ mlspp/hpke/AEAD#::IDcxx . . $ mlspp/hpke/AEAD#ID# id>
25 static const AEADCiphercxx . . $ mlspp/hpke/AEADCipher#& getcxx . . $ mlspp/hpke/AEADCipher#get(857c9916fe512820).();
26
27 ~cxx . . $ mlspp/hpke/AEADCipher#`~AEADCipher`(ced63f7c635d850d).AEADCiphercxx . . $ mlspp/hpke/AEADCipher#() override = default;
28
29 bytescxx . . $ mlspp/bytes_ns/bytes# sealcxx . . $ mlspp/hpke/AEADCipher#seal(a2160eb270d8417e).(const bytescxx . . $ mlspp/bytes_ns/bytes#& key,
30 const bytescxx . . $ mlspp/bytes_ns/bytes#& nonce,
31 const bytescxx . . $ mlspp/bytes_ns/bytes#& aad,
32 const bytescxx . . $ mlspp/bytes_ns/bytes#& pt) const override;
33 stdcxx . . $ std/::optionalcxx . . $ std/optional#<bytescxx . . $ mlspp/bytes_ns/bytes#> opencxx . . $ mlspp/hpke/AEADCipher#open(f7542dab5ac51900).(const bytescxx . . $ mlspp/bytes_ns/bytes#& key,
34 const bytescxx . . $ mlspp/bytes_ns/bytes#& nonce,
35 const bytescxx . . $ mlspp/bytes_ns/bytes#& aad,
36 const bytescxx . . $ mlspp/bytes_ns/bytes#& ct) const override;
37
38 private:
39 const size_t tag_sizecxx . . $ mlspp/hpke/AEADCipher#tag_size.;
40
41 AEADCiphercxx . . $ mlspp/hpke/AEADCipher#AEADCipher(68316fa464f72640).(AEADcxx . . $ mlspp/hpke/AEAD#::IDcxx . . $ mlspp/hpke/AEAD#ID# id_in);
42 friend AEADCiphercxx . . $ mlspp/hpke/AEADCipher# make_aeadcxx . . $ mlspp/hpke/make_aead(127a9c1e385b6779).(AEADcxx . . $ mlspp/hpke/AEAD#::IDcxx . . $ mlspp/hpke/AEAD#ID# cipher_in);
43 };
44
45 } // namespace mlspp::hpke