Home
last modified time | relevance | path

Searched refs:hpke (Results 1 – 21 of 21) sorted by relevance

/external/boringssl/src/crypto/hpke/
Dhpke.c154 static int hpke_key_schedule(EVP_HPKE_CTX *hpke, uint8_t mode, in hpke_key_schedule() argument
177 const EVP_AEAD *aead = EVP_HPKE_get_aead(hpke->aead_id); in hpke_key_schedule()
183 if (!hpke_build_suite_id(suite_id, hpke->kdf_id, hpke->aead_id)) { in hpke_key_schedule()
191 if (!hpke_labeled_extract(hpke->hkdf_md, psk_id_hash, &psk_id_hash_len, NULL, in hpke_key_schedule()
201 if (!hpke_labeled_extract(hpke->hkdf_md, info_hash, &info_hash_len, NULL, 0, in hpke_key_schedule()
223 if (!hpke_labeled_extract(hpke->hkdf_md, secret, &secret_len, shared_secret, in hpke_key_schedule()
233 if (!hpke_labeled_expand(hpke->hkdf_md, key, kKeyLen, secret, secret_len, in hpke_key_schedule()
240 if (!EVP_AEAD_CTX_init(&hpke->aead_ctx, aead, key, kKeyLen, 0, NULL)) { in hpke_key_schedule()
246 if (!hpke_labeled_expand(hpke->hkdf_md, hpke->base_nonce, in hpke_key_schedule()
255 if (!hpke_labeled_expand(hpke->hkdf_md, hpke->exporter_secret, in hpke_key_schedule()
[all …]
Dinternal.h91 EVP_HPKE_CTX *hpke, uint8_t out_enc[X25519_PUBLIC_VALUE_LEN],
100 EVP_HPKE_CTX *hpke, uint16_t kdf_id, uint16_t aead_id,
111 EVP_HPKE_CTX *hpke, uint16_t kdf_id, uint16_t aead_id,
129 EVP_HPKE_CTX *hpke, uint8_t out_enc[X25519_PUBLIC_VALUE_LEN],
139 EVP_HPKE_CTX *hpke, uint16_t kdf_id, uint16_t aead_id,
156 EVP_HPKE_CTX *hpke, uint16_t kdf_id, uint16_t aead_id,
179 OPENSSL_EXPORT int EVP_HPKE_CTX_open(EVP_HPKE_CTX *hpke, uint8_t *out,
199 OPENSSL_EXPORT int EVP_HPKE_CTX_seal(EVP_HPKE_CTX *hpke, uint8_t *out,
209 OPENSSL_EXPORT int EVP_HPKE_CTX_export(const EVP_HPKE_CTX *hpke, uint8_t *out,
217 OPENSSL_EXPORT size_t EVP_HPKE_CTX_max_overhead(const EVP_HPKE_CTX *hpke);
/external/boringssl/src/ssl/test/runner/hpke/
Dkem.go15 package hpke package
Dhpke_test.go15 package hpke package
Dhpke.go18 package hpke package
/external/boringssl/src/crypto/
DCMakeLists.txt308 hpke/hpke.c
531 hpke/hpke_test.cc
/external/boringssl/
DBUILD.generated_tests.bzl38 "src/crypto/hpke/internal.h",
118 "src/crypto/hpke/hpke_test.cc",
207 "src/crypto/hpke/hpke_test_vectors.txt",
Dsources.bp128 "src/crypto/hpke/hpke.c",
470 "src/crypto/hpke/hpke_test.cc",
Dsources.mk127 src/crypto/hpke/hpke.c\
Deureka.mk127 src/crypto/hpke/hpke.c\
Dandroid-sources.cmake129 ${BORINGSSL_ROOT}src/crypto/hpke/hpke.c
356 ${BORINGSSL_ROOT}src/crypto/hpke/hpke_test.cc
DBUILD.generated.bzl240 "src/crypto/hpke/internal.h",
371 "src/crypto/hpke/hpke.c",
/external/openscreen/third_party/boringssl/
DBUILD.generated_tests.gni69 "src/crypto/hpke/hpke_test.cc",
150 "src/crypto/hpke/hpke_test_vectors.txt",
DBUILD.generated.gni151 "src/crypto/hpke/hpke.c",
152 "src/crypto/hpke/internal.h",
/external/boringssl/src/
Dsources.cmake61 crypto/hpke/hpke_test_vectors.txt
/external/boringssl/src/ssl/test/runner/
Dhandshake_client.go229 hpkeKDF: hpke.HKDFSHA256,
230 hpkeAEAD: hpke.AES128GCM,
Drunner.go16449 KEM: hpke.X25519WithHKDFSHA256,
16452 KDF: hpke.HKDFSHA256,
16453 AEAD: hpke.AES256GCM,
/external/rust/crates/grpcio-sys/grpc/
Dconfig.m4808 third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c \
1190 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/hpke)
Dconfig.w32775 "third_party\\boringssl-with-bazel\\src\\crypto\\hpke\\hpke.c " +
1276 FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\hpke");
Dgrpc.gyp1740 'third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c',
Dgrpc.gemspec1647 s.files += %w( third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c )
1648 s.files += %w( third_party/boringssl-with-bazel/src/crypto/hpke/internal.h )