Searched refs:cap_size (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/openssl/apps/ |
H A D | engine.c | 281 int *cap_size; member 292 if (!append_buf(ctx->cap_buf, ctx->cap_size, buf)) in util_store_cap() 397 int cap_size = 256; in engine_main() local 406 && !append_buf(&cap_buf, &cap_size, "RSA")) in engine_main() 409 && !append_buf(&cap_buf, &cap_size, "DSA")) in engine_main() 412 && !append_buf(&cap_buf, &cap_size, "DH")) in engine_main() 415 && !append_buf(&cap_buf, &cap_size, "RAND")) in engine_main() 423 if (!append_buf(&cap_buf, &cap_size, OBJ_nid2sn(nids[k]))) in engine_main() 432 if (!append_buf(&cap_buf, &cap_size, OBJ_nid2sn(nids[k]))) in engine_main() 441 if (!append_buf(&cap_buf, &cap_size, OBJ_nid2sn(nids[k]))) in engine_main() [all …]
|
/freebsd/sys/dev/mlx5/mlx5_fpga/ |
H A D | mlx5fpga_cmd.c | 95 unsigned int cap_size = MLX5_CAP_FPGA(dev, sandbox_extended_caps_len); in mlx5_fpga_sbu_caps() local 100 if (cap_size > size) { in mlx5_fpga_sbu_caps() 102 size, cap_size); in mlx5_fpga_sbu_caps() 106 while (cap_size > 0) { in mlx5_fpga_sbu_caps() 107 read = min_t(unsigned int, cap_size, in mlx5_fpga_sbu_caps() 117 cap_size -= read; in mlx5_fpga_sbu_caps()
|