Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c4731 static size_t hpke_suite_id(struct hpke_context *ctx, bool kem, u8 *suite_id) in hpke_suite_id() argument
4736 os_memcpy(suite_id, "KEM", 3); in hpke_suite_id()
4737 WPA_PUT_BE16(&suite_id[3], ctx->kem_id); in hpke_suite_id()
4740 os_memcpy(suite_id, "HPKE", 4); in hpke_suite_id()
4741 WPA_PUT_BE16(&suite_id[4], ctx->kem_id); in hpke_suite_id()
4742 WPA_PUT_BE16(&suite_id[6], ctx->kdf_id); in hpke_suite_id()
4743 WPA_PUT_BE16(&suite_id[8], ctx->aead_id); in hpke_suite_id()
4756 u8 suite_id[10]; in hpke_labeled_extract() local
4776 suite_id_len = hpke_suite_id(ctx, kem, suite_id); in hpke_labeled_extract()
4800 EVP_MAC_update(hctx, suite_id, suite_id_len) != 1 || in hpke_labeled_extract()
[all …]