Home
last modified time | relevance | path

Searched refs:ct_buf (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/openssl/ssl/quic/
H A Dquic_port.c1111 unsigned char ct_buf[ENCRYPTED_TOKEN_MAX_LEN]; in port_send_retry() local
1145 || !encrypt_validation_token(port, buffer, token_buf_len, ct_buf, in port_send_retry()
1155 hdr.data = ct_buf; in port_send_retry()
1159 ct_buf + ct_len in port_send_retry()
1427 unsigned char *ct_buf; in generate_new_token() local
1435 ct_buf = OPENSSL_zalloc(ENCRYPTED_TOKEN_MAX_LEN); in generate_new_token()
1436 if (ct_buf == NULL) in generate_new_token()
1447 OPENSSL_free(ct_buf); in generate_new_token()
1458 || !encrypt_validation_token(ch->port, buffer, token_buf_len, ct_buf, in generate_new_token()
1461 OPENSSL_free(ct_buf); in generate_new_token()
[all …]
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c1252 uint8_t *ct_buf = NULL; in gcm_mode_encrypt_contiguous_blocks_avx() local
1286 ct_buf = vmem_alloc(chunk_size, KM_SLEEP); in gcm_mode_encrypt_contiguous_blocks_avx()
1287 if (ct_buf == NULL) { in gcm_mode_encrypt_contiguous_blocks_avx()
1315 datap, ct_buf, chunk_size, key, cb, htable, ghash); in gcm_mode_encrypt_contiguous_blocks_avx()
1323 rv = crypto_put_output_data(ct_buf, out, chunk_size); in gcm_mode_encrypt_contiguous_blocks_avx()
1338 done = encrypt_blocks(datap, ct_buf, bleft, key, cb, htable, in gcm_mode_encrypt_contiguous_blocks_avx()
1344 rv = crypto_put_output_data(ct_buf, out, done); in gcm_mode_encrypt_contiguous_blocks_avx()
1382 if (ct_buf != NULL) { in gcm_mode_encrypt_contiguous_blocks_avx()
1383 vmem_free(ct_buf, chunk_size); in gcm_mode_encrypt_contiguous_blocks_avx()
/freebsd/crypto/openssl/providers/fips/
H A Dself_test_kats.c101 unsigned char ct_buf[256] = { 0 }; in self_test_cipher() local
116 || !EVP_CipherUpdate(ctx, ct_buf, &len, t->base.pt, in self_test_cipher()
118 || !EVP_CipherFinal_ex(ctx, ct_buf + len, &ct_len)) in self_test_cipher()
121 OSSL_SELF_TEST_oncorrupt_byte(st, ct_buf); in self_test_cipher()
124 || memcmp(t->base.expected, ct_buf, ct_len) != 0) in self_test_cipher()