HomeSort by: relevance | last modified time | path
    Searched refs:dst_len (Results 1 - 21 of 21) sorted by relevancy

  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
argon2-encoding.h 7 * encode an Argon2 hash string into the provided buffer. 'dst_len'
8 * contains the size, in characters, of the 'dst' buffer; if 'dst_len'
20 int encode_string(char *dst, size_t dst_len, argon2_context *ctx,
argon2-encoding.c 229 * Encode an argon2i hash string into the provided buffer. 'dst_len'
230 * contains the size, in characters, of the 'dst' buffer; if 'dst_len'
241 encode_string(char *dst, size_t dst_len, argon2_context *ctx, argon2_type type)
246 if (pp_len >= dst_len) { \
251 dst_len -= pp_len; \
264 if (sodium_bin2base64(dst, dst_len, (buf), (len), \
270 dst_len -= sb_len; \
  /src/tests/crypto/opencrypto/
h_comp.c 65 co1.dst_len = sizeof(buf1);
69 fprintf(stderr, "len %d/%d\n", co1.len, co1.dst_len);
71 buf1[co1.dst_len - 8]++; /* modify CRC */
73 write(1, buf1, co1.dst_len);
77 co2.len = co1.dst_len;
80 co2.dst_len = sizeof(buf2);
86 fprintf(stderr, "len %d/%d\n", co2.len, co2.dst_len);
87 if (memcmp(text, buf2, co2.dst_len))
h_aesctr2.c 77 co.dst_len = sizeof(obuf);
88 co.dst_len = sizeof(ibuf);
h_cbc3des.c 77 co.dst_len = sizeof(buf);
93 co2.dst_len = sizeof(buf2);
h_comp_zlib.c 65 co1.dst_len = sizeof(buf1);
73 z.avail_in = co1.dst_len;
h_comp_zlib_rnd.c 70 co1.dst_len = sizeof(buf1);
77 z.avail_in = co1.dst_len;
h_arc4.c 71 co.dst_len = sizeof(buf);
h_cbcdes.c 72 co.dst_len = sizeof(buf);
h_null.c 67 co.dst_len = sizeof(buf);
h_camellia.c 77 co.dst_len = sizeof(buf);
h_ioctl.c 211 cno->dst_len = AES_CIPHER_LEN;
309 cno.dst_len = AES_CIPHER_LEN;
h_aescbc.c 147 co.dst_len = sizeof(buf);
h_aesctr1.c 233 co.dst_len = sizeof(buf);
  /src/sys/net/
dl_print.c 42 lla_snprintf1(char *dst, size_t dst_len, const void *src, size_t src_len)
51 if (dst_len-- == 0)
54 if (dst_len-- == 0)
57 if (dst_len-- == 0)
68 lla_snprintf(char *dst, size_t dst_len, const void *src, size_t src_len)
70 (void)lla_snprintf1(dst, dst_len, src, src_len);
  /src/sys/fs/hfs/
unicode.c 40 utf8_to_utf16(uint16_t *dst, size_t dst_len,
114 if (dst && dpos < dst_len)
120 if (dst && dpos < dst_len)
133 utf16_to_utf8(char *dst, size_t dst_len,
140 #define CHECK_LENGTH(l) (dpos > dst_len-(l) ? dst=NULL : NULL)
  /src/lib/librefuse/refuse/
buf.c 285 size_t dst_len; local in function:fuse_buf_copy
295 dst_len = dst->size - dstv->off;
296 len = MIN(src_len, dst_len);
  /src/lib/libcrypt/
crypt-argon2.c 102 from_base64(void *dst, size_t *dst_len, const char *src)
124 if ((len++) >= *dst_len) {
140 *dst_len = len;
  /src/sys/opencrypto/
ocryptodev.c 209 cop.dst_len = 0;
237 cnop.dst_len = 0;
cryptodev.h 203 u_int dst_len; /* dst len if not 0 */ member in struct:crypt_op
242 u_int dst_len; /* dst len if not 0 */ member in struct:crypt_n_op
cryptodev.c 461 int dst_len; /* copyout size */ local in function:cryptodev_op
479 if ((cse->tcomp) && cop->dst_len) {
480 if (iov_len < cop->dst_len) {
482 iov_len = cop->dst_len;
673 dst_len = crp->crp_ilen;
676 if (crp->crp_olen > (cop->dst_len ? cop->dst_len : cop->len)) {
680 dst_len = cop->dst_len = crp->crp_olen;
684 DPRINTF("copyout %d bytes to %p\n", dst_len, cop->dst)
    [all...]

Completed in 42 milliseconds