Home
last modified time | relevance | path

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

/freebsd/sys/dev/random/fenestrasX/
H A Dfx_rng.c66 size_t chunklen; in fxrng_rng_keystream_internal() local
69 chunklen = MIN(nbytes, in fxrng_rng_keystream_internal()
72 chacha_encrypt_bytes(prf, NULL, buf, chunklen); in fxrng_rng_keystream_internal()
73 buf = (uint8_t *)buf + chunklen; in fxrng_rng_keystream_internal()
74 nbytes -= chunklen; in fxrng_rng_keystream_internal()
/freebsd/contrib/libfido2/src/
H A Dlargeblob.c585 size_t chunklen, maxchunklen, totalsize; in largeblob_set_array() local
623 for (size_t offset = 0; offset < cbor.len; offset += chunklen) { in largeblob_set_array()
624 if ((chunklen = cbor.len - offset) > maxchunklen) in largeblob_set_array()
625 chunklen = maxchunklen; in largeblob_set_array()
627 chunklen, offset, totalsize, ms)) != FIDO_OK || in largeblob_set_array()
/freebsd/sys/dev/usb/wlan/
H A Dif_uath.c2484 uint16_t chunklen; in uath_data_rxeof() local
2497 chunklen = be16toh(chunk->length); in uath_data_rxeof()
2498 if (chunk->seqnum == 0 && chunk->flags == 0 && chunklen == 0) { in uath_data_rxeof()
2505 if (chunklen > actlen) { in uath_data_rxeof()
2508 __func__, chunklen, actlen); in uath_data_rxeof()
2532 if (chunklen < sizeof(struct uath_rx_desc)) { in uath_data_rxeof()
2535 __func__, chunklen); in uath_data_rxeof()
2542 chunklen -= sizeof(struct uath_rx_desc); in uath_data_rxeof()
2545 if (chunklen > 0 && in uath_data_rxeof()
2551 chunklen) > UATH_MAX_INTRX_SIZE) { in uath_data_rxeof()
[all …]
/freebsd/crypto/openssl/test/
H A Devp_test.c696 int ok = 0, tmplen, chunklen, tmpflen, i; in cipher_test_enc() local
879 if (!EVP_CipherUpdate(ctx, NULL, &chunklen, expected->aad[i], in cipher_test_enc()
889 if (!EVP_CipherUpdate(ctx, NULL, &chunklen, expected->aad[i], 1)) in cipher_test_enc()
894 if (!EVP_CipherUpdate(ctx, NULL, &chunklen, in cipher_test_enc()
901 && !EVP_CipherUpdate(ctx, NULL, &chunklen, in cipher_test_enc()
945 if (!EVP_CipherUpdate(ctx, tmp + out_misalign, &chunklen, in, 1)) in cipher_test_enc()
947 tmplen += chunklen; in cipher_test_enc()
952 if (!EVP_CipherUpdate(ctx, tmp + out_misalign + tmplen, &chunklen, in cipher_test_enc()
955 tmplen += chunklen; in cipher_test_enc()
960 if (!EVP_CipherUpdate(ctx, tmp + out_misalign + tmplen, &chunklen, in cipher_test_enc()
[all...]
/freebsd/sys/netinet/
H A Dsctp_auth.c1590 uint16_t chunklen; in sctp_handle_auth() local
1599 chunklen = ntohs(auth->ch.chunk_length); in sctp_handle_auth()
1600 if (chunklen < sizeof(*auth)) { in sctp_handle_auth()
1675 if (chunklen < (sizeof(*auth) + digestlen)) { in sctp_handle_auth()