| /src/crypto/external/apache2/openssl/dist/crypto/ec/ |
| ec_deprecated.c | 26 size_t buf_len = 0; local 29 buf_len = EC_POINT_point2buf(group, point, form, &buf, ctx); 31 if (buf_len == 0) 34 ret = BN_bin2bn(buf, buf_len, ret); 44 size_t buf_len = 0; local 48 if ((buf_len = BN_num_bytes(bn)) == 0) 49 buf_len = 1; 50 if ((buf = OPENSSL_malloc(buf_len)) == NULL) 53 if (BN_bn2binpad(bn, buf, buf_len) < 0) { 66 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ctx)) [all...] |
| ec_print.c | 21 size_t buf_len, i; local 24 buf_len = EC_POINT_point2buf(group, point, form, &buf, ctx); 26 if (buf_len == 0) 29 ret = OPENSSL_malloc(buf_len * 2 + 2); 34 for (i = 0; i < buf_len; ++i)
|
| /src/crypto/external/bsd/openssl/dist/crypto/ec/ |
| ec_deprecated.c | 26 size_t buf_len = 0; local 29 buf_len = EC_POINT_point2buf(group, point, form, &buf, ctx); 31 if (buf_len == 0) 34 ret = BN_bin2bn(buf, buf_len, ret); 44 size_t buf_len = 0; local 48 if ((buf_len = BN_num_bytes(bn)) == 0) 49 buf_len = 1; 50 if ((buf = OPENSSL_malloc(buf_len)) == NULL) { 55 if (BN_bn2binpad(bn, buf, buf_len) < 0) { 68 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ctx)) [all...] |
| ec_print.c | 22 size_t buf_len = 0, i; local 25 buf_len = EC_POINT_point2buf(group, point, form, &buf, ctx); 27 if (buf_len == 0) 30 ret = OPENSSL_malloc(buf_len * 2 + 2); 37 for (i = buf_len; i > 0; i--) {
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| parse_reply-test.c | 54 size_t buf_len; member in struct:testcase 119 buf = p2 - t->buf_len; 120 memcpy (buf, t->buf, t->buf_len); 121 parse_reply (buf, t->buf_len);
|
| /src/external/bsd/wpa/dist/src/crypto/ |
| aes-eax.c | 33 size_t buf_len; local 39 buf_len = nonce_len; 41 buf_len = data_len; 42 if (hdr_len > buf_len) 43 buf_len = hdr_len; 44 buf_len += 16; 46 buf = os_malloc(buf_len); 74 bin_clear_free(buf, buf_len); 97 size_t buf_len; local 103 buf_len = nonce_len [all...] |
| sha256-prf.c | 24 * @buf_len: Number of bytes of key to generate 31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len) 34 buf_len * 8); 46 * @buf_len: Number of bits of key to generate 50 * given key. If the requested buf_len is not divisible by eight, the least 64 size_t buf_len = (buf_len_bits + 7) / 8; local 77 while (pos < buf_len) { 78 plen = buf_len - pos;
|
| sha384-prf.c | 24 * @buf_len: Number of bytes of key to generate 31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len) 34 buf_len * 8); 46 * @buf_len: Number of bits of key to generate 50 * given key. If the requested buf_len is not divisible by eight, the least 64 size_t buf_len = (buf_len_bits + 7) / 8; local 77 while (pos < buf_len) { 78 plen = buf_len - pos;
|
| sha512-prf.c | 24 * @buf_len: Number of bytes of key to generate 31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len) 34 buf_len * 8); 46 * @buf_len: Number of bits of key to generate 50 * given key. If the requested buf_len is not divisible by eight, the least 64 size_t buf_len = (buf_len_bits + 7) / 8; local 77 while (pos < buf_len) { 78 plen = buf_len - pos;
|
| /src/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
| hgsmi_ch_setup.h | 18 u32 buf_len; member in struct:hgsmi_buffer_location
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/ec/ |
| ec_print.c | 19 size_t buf_len = 0; local 22 buf_len = EC_POINT_point2buf(group, point, form, &buf, ctx); 24 if (buf_len == 0) 27 ret = BN_bin2bn(buf, buf_len, ret); 37 size_t buf_len = 0; local 41 if ((buf_len = BN_num_bytes(bn)) == 0) 42 buf_len = 1; 43 if ((buf = OPENSSL_malloc(buf_len)) == NULL) { 48 if (!BN_bn2binpad(bn, buf, buf_len)) { 61 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ctx)) 80 size_t buf_len = 0, i; local [all...] |
| /src/usr.bin/rump_dhcpclient/ |
| bpf.c | 58 int buf_len = 0; local 95 if (rump_sys_ioctl(fd, BIOCGBLEN, &buf_len) == -1) 97 if (iface->buffer_size != (size_t)buf_len) { 99 iface->buffer_size = buf_len; 100 iface->buffer = xmalloc(buf_len);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| quic_qlog_test.c | 84 size_t buf_len = 0; local 141 buf_len = BIO_get_mem_data(bio, &buf); 142 if (!TEST_size_t_gt(buf_len, 0)) 145 if (!TEST_mem_eq(buf, buf_len, expected, sizeof(expected)))
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
| a_sign.c | 147 int signid, paramtype, buf_len = 0; local 207 buf_len = ASN1_item_i2d(asn, &buf_in, it); 208 if (buf_len <= 0) { 213 inl = buf_len;
|
| /src/external/bsd/wpa/dist/src/pae/ |
| ieee802_1x_key.c | 41 int lab_len, ctx_len, ret_len, buf_len; local 50 buf_len = lab_len + ctx_len + 4; 58 buf = os_zalloc(buf_len); 64 WPA_PUT_BE16(&buf[buf_len - 2], ret_bits); 71 res = omac1_aes_128(kdk, buf, buf_len, ret); 73 res = omac1_aes_256(kdk, buf, buf_len, ret);
|
| /src/external/gpl2/dtc/dist/ |
| fdtoverlay.c | 47 static void *apply_one(char *base, const char *overlay, size_t *buf_len, 61 tmp = xrealloc(tmp, *buf_len); 62 ret = fdt_open_into(base, tmp, *buf_len); 74 *buf_len += BUF_INCREMENT; 101 size_t buf_len; local 104 blob = utilfdt_read(input_filename, &buf_len); 109 if (fdt_totalsize(blob) > buf_len) { 112 (unsigned long)buf_len, fdt_totalsize(blob)); 138 buf_len = fdt_totalsize(blob); 142 blob = apply_one(blob, ovblob[i], &buf_len, argv[i]) [all...] |
| /src/sys/sys/ |
| efiio.h | 55 size_t buf_len; member in struct:efi_get_table_ioc
|
| /src/crypto/external/apache2/openssl/dist/crypto/asn1/ |
| a_sign.c | 154 int signid, paramtype, buf_len = 0; local 253 buf_len = ASN1_item_i2d(data, &buf_in, it); 254 if (buf_len <= 0) { 259 inl = buf_len;
|
| /src/crypto/external/apache2/openssl/dist/demos/encrypt/ |
| rsa_encrypt.c | 100 size_t buf_len = 0; local 125 if (EVP_PKEY_encrypt(ctx, NULL, &buf_len, in, in_len) <= 0) { 129 buf = OPENSSL_zalloc(buf_len); 134 if (EVP_PKEY_encrypt(ctx, buf, &buf_len, in, in_len) <= 0) { 138 *out_len = buf_len; 141 BIO_dump_indent_fp(stdout, buf, buf_len, 2); 157 size_t buf_len = 0; local 184 if (EVP_PKEY_decrypt(ctx, NULL, &buf_len, in, in_len) <= 0) { 188 buf = OPENSSL_zalloc(buf_len); 193 if (EVP_PKEY_decrypt(ctx, buf, &buf_len, in, in_len) <= 0) [all...] |
| /src/crypto/external/apache2/openssl/dist/include/internal/ |
| quic_record_tx.h | 28 size_t buf_len; member in struct:ossl_qtx_iovec_st
|
| /src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| a_sign.c | 159 int signid, paramtype, buf_len = 0; local 262 buf_len = ASN1_item_i2d(data, &buf_in, it); 263 if (buf_len <= 0) { 268 inl = buf_len;
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
| evp_local.h | 29 int buf_len; /* number we have left */ member in struct:evp_cipher_ctx_st
|
| /src/external/bsd/byacc/dist/ |
| mstring.c | 24 static size_t buf_len; variable 38 if (buf_len == 0) 40 buf_ptr = malloc(buf_len = 4096); 51 len = (size_t)vsnprintf(buf_ptr, buf_len, fmt, args); 53 if ((changed = (len > buf_len)) != 0) 55 char *new_ptr = realloc(buf_ptr, (buf_len * 3) / 2); 70 if (len >= buf_len) 222 buf_len = 0;
|
| /src/external/gpl3/gdb/dist/gdb/ |
| disasm-selftests.c | 261 size_t buf_len; local 262 const gdb_byte *insn = get_test_insn (gdbarch, &buf_len); 276 int calculated_len = gdb_buffered_insn_length (gdbarch, insn, buf_len, 279 SELF_CHECK (calculated_len == buf_len);
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| disasm-selftests.c | 262 size_t buf_len; local 263 const gdb_byte *insn = get_test_insn (gdbarch, &buf_len); 277 int calculated_len = gdb_buffered_insn_length (gdbarch, insn, buf_len, 280 SELF_CHECK (calculated_len == buf_len);
|