/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/hkdf/ |
H A D | hkdf_test.c | 37 uint_t info_len; member in struct:hkdf_tv 62 .info_len = 10, 104 .info_len = 80, 126 .info_len = 0, 144 .info_len = 10, 161 .info_len = 0, 190 tv->salt_len, (uint8_t *)tv->info, tv->info_len, good, tv->okm_len);
|
/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | hkdf.h | 26 uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key,
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | hkdf.c | 41 hkdf_sha512_expand(uint8_t *extract_key, uint8_t *info, uint_t info_len, argument 63 crypto_mac_update(&ctx, info, info_len); 83 uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key, 94 ret = hkdf_sha512_expand(extract_key, info, info_len, output_key, 82 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key, uint_t out_len) argument
|
/freebsd-current/crypto/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 61 size_t info_len; member in struct:__anon4170 96 const unsigned char *info, size_t info_len, 107 if (z_len > SSKDF_MAX_INLEN || info_len > SSKDF_MAX_INLEN 135 && EVP_DigestUpdate(ctx, info, info_len))) 217 const unsigned char *info, size_t info_len, 228 if (z_len > SSKDF_MAX_INLEN || info_len > SSKDF_MAX_INLEN 257 && EVP_MAC_update(ctx, info, info_len))) 307 OPENSSL_clear_free(ctx->info, ctx->info_len); 406 ctx->info, ctx->info_len, key, keylen); 415 ctx->info, ctx->info_len, 94 SSKDF_hash_kdm(const EVP_MD *kdf_md, const unsigned char *z, size_t z_len, const unsigned char *info, size_t info_len, unsigned int append_ctr, unsigned char *derived_key, size_t derived_key_len) argument 212 SSKDF_mac_kdm(EVP_MAC_CTX *ctx_init, const unsigned char *kmac_custom, size_t kmac_custom_len, size_t kmac_out_len, const unsigned char *salt, size_t salt_len, const unsigned char *z, size_t z_len, const unsigned char *info, size_t info_len, unsigned char *derived_key, size_t derived_key_len) argument [all...] |
H A D | hkdf.c | 52 const unsigned char *info, size_t info_len, 60 const unsigned char *info, size_t info_len, 87 size_t info_len; member in struct:__anon4161 125 OPENSSL_clear_free(ctx->info, ctx->info_len); 177 ctx->key, ctx->key_len, ctx->info, ctx->info_len, key, keylen); 185 ctx->info_len, key, keylen); 304 OPENSSL_clear_free(ctx->info, ctx->info_len); 312 ctx->info_len = sz; 398 const unsigned char *info, size_t info_len, 416 ret = HKDF_Expand(evp_md, prk, prk_len, info, info_len, ok 395 HKDF(OSSL_LIB_CTX *libctx, const EVP_MD *evp_md, const unsigned char *salt, size_t salt_len, const unsigned char *ikm, size_t ikm_len, const unsigned char *info, size_t info_len, unsigned char *okm, size_t okm_len) argument 505 HKDF_Expand(const EVP_MD *evp_md, const unsigned char *prk, size_t prk_len, const unsigned char *info, size_t info_len, unsigned char *okm, size_t okm_len) argument [all...] |
/freebsd-current/contrib/bearssl/inc/ |
H A D | bearssl_kdf.h | 197 * \param info_len application specific information string length (in bytes). 203 const void *info, size_t info_len, void *out, size_t out_len);
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | hkdf.c | 63 hkdf_sha512_expand(uint8_t *extract_key, uint8_t *info, uint_t info_len, argument 101 info_cd.cd_length = info_len; 152 uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key, 163 ret = hkdf_sha512_expand(extract_key, info, info_len, output_key, 151 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key, uint_t out_len) argument
|
/freebsd-current/contrib/bearssl/src/kdf/ |
H A D | hkdf.c | 70 const void *info, size_t info_len, void *out, size_t out_len) 91 br_hmac_update(&hmac_ctx, info, info_len); 69 br_hkdf_produce(br_hkdf_context *hc, const void *info, size_t info_len, void *out, size_t out_len) argument
|
/freebsd-current/sys/dev/firewire/ |
H A D | iec13213.h | 137 uint32_t info_len:8, member in struct:csrhdr 143 info_len:8;
|
H A D | fwcrom.c | 75 if (hdr->info_len <= 1) { 80 p += 1 + hdr->info_len; 510 len = 1 + src->hdr.info_len; 565 src.hdr.info_len = 4;
|
H A D | firewire.h | 283 uint16_t info_len; member in struct:fw_devlstreq
|
H A D | firewire.c | 651 src->hdr.info_len = 4; 1531 if (hdr->info_len != 4) { 1535 __func__, node, hdr->info_len);
|
H A D | fwdev.c | 775 fwdevlst->info_len = len;
|
/freebsd-current/sys/ofed/drivers/infiniband/core/ |
H A D | ib_ucm.c | 102 int info_len; member in struct:ib_ucm_event 292 uvt->info_len = evt->param.rej_rcvd.ari_length; 304 uvt->info_len = evt->param.apr_rcvd.info_len; 318 uvt->info_len = evt->param.sidr_rep_rcvd.info_len; 334 if (uvt->info_len) { 335 uvt->info = kmemdup(info, uvt->info_len, GFP_KERNEL); 448 if (cmd.info_len < uevent->info_len) { 880 ib_ucm_send_info(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int (*func)(struct ib_cm_id *cm_id, int status, const void *info, u8 info_len, const void *data, u8 data_len)) argument [all...] |
/freebsd-current/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_cm.h | 182 __u8 info_len; member in struct:ib_ucm_info 222 __u8 info_len; member in struct:ib_ucm_sidr_rep 234 __u8 info_len; member in struct:ib_ucm_event_get
|
/freebsd-current/usr.sbin/fwcontrol/ |
H A D | fwcontrol.c | 152 for (i = 0; i < data->info_len; i++) { 160 if (i >= data->info_len) { 186 printf("%d devices (info_len=%d)\n", data->n, data->info_len); 188 for (i = 0; i < data->info_len; i++) { 345 for (i = 0; i < data->info_len; i++) { 402 for (i = 0; i < data->info_len; i++) { 406 if (i == data->info_len) 440 if (hdr->info_len == 1) { 446 printf("info_len [all...] |
/freebsd-current/contrib/ofed/libibcm/ |
H A D | cm.h | 209 uint8_t info_len; member in struct:ib_cm_apr_event_param 232 uint8_t info_len; member in struct:ib_cm_sidr_rep_event_param
|
H A D | cm.c | 594 cmd->info_len = info_length; 740 cmd->info_len = param->info_length; 836 cmd->info_len = (uint8_t)(~0U); 844 info = malloc(cmd->info_len);
|
/freebsd-current/contrib/wpa/src/p2p/ |
H A D | p2p_build.c | 404 size_t info_len = 0; local 407 info_len = os_strlen(info); 411 wpabuf_put_le16(buf, (u16) info_len); 414 wpabuf_put_data(buf, info, info_len); 483 size_t info_len; local 487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) + 490 if (info_len + *total_len > MAX_SVC_ADV_LEN) { 588 *total_len += info_len;
|
H A D | p2p_pd.c | 1507 size_t info_len = msg.session_info_len; local 1508 char *deferred_sess_resp = os_malloc(2 * info_len + 1); 1515 utf8_escape((char *) msg.session_info, info_len, 1516 deferred_sess_resp, 2 * info_len + 1);
|
/freebsd-current/sys/ofed/include/rdma/ |
H A D | ib_cm.h | 233 u8 info_len; member in struct:ib_cm_apr_event_param 266 u8 info_len; member in struct:ib_cm_sidr_rep_event_param
|
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 565 size_t info_len = 0; local 581 info_len = *info++; 585 if (svc_len + (info_len ? info_len + 2 : 1) > query_len) { 605 find_p2ps_substr(adv_data, info, info_len)) {
|
H A D | ctrl_iface.c | 5807 size_t info_len = 0; local 5816 info_len = os_strlen(pos); 5818 if (info_len) { 5819 info = os_malloc(info_len + 1); 5821 info_len = utf8_unescape(pos, info_len, 5822 info, info_len + 1); 5824 info_len = 0; 5828 p2ps_prov = os_zalloc(sizeof(struct p2ps_provision) + info_len + 1); 5835 os_memcpy(p2ps_prov->info, info, info_len); [all...] |
/freebsd-current/contrib/wpa/src/common/ |
H A D | dpp_crypto.c | 1597 size_t info_len; local 1612 info_len = 2 * ETH_ALEN; 1614 info_len = 2; 1615 info_len += Mx_len + Nx_len + os_strlen(code); 1616 info = os_malloc(info_len); 1637 res = hmac_sha256_kdf(prk, hash_len, NULL, info, info_len, 1640 res = hmac_sha384_kdf(prk, hash_len, NULL, info, info_len, 1643 res = hmac_sha512_kdf(prk, hash_len, NULL, info, info_len,
|
H A D | sae.c | 557 size_t info_len = os_strlen(info); local 561 (const u8 *) info, info_len, 566 (const u8 *) info, info_len, 572 (const u8 *) info, info_len,
|