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.c1124 unsigned char ct_buf[ENCRYPTED_TOKEN_MAX_LEN]; in port_send_retry() local
1158 || !encrypt_validation_token(port, buffer, token_buf_len, ct_buf, in port_send_retry()
1168 hdr.data = ct_buf; in port_send_retry()
1172 ct_buf + ct_len in port_send_retry()
1438 unsigned char *ct_buf; in generate_new_token() local
1446 ct_buf = OPENSSL_zalloc(ENCRYPTED_TOKEN_MAX_LEN); in generate_new_token()
1447 if (ct_buf == NULL) in generate_new_token()
1458 OPENSSL_free(ct_buf); in generate_new_token()
1469 || !encrypt_validation_token(ch->port, buffer, token_buf_len, ct_buf, in generate_new_token()
1472 OPENSSL_free(ct_buf); in generate_new_token()
[all …]
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c1243 uint8_t *ct_buf = NULL; in gcm_mode_encrypt_contiguous_blocks_avx() local
1277 ct_buf = vmem_alloc(chunk_size, KM_SLEEP); in gcm_mode_encrypt_contiguous_blocks_avx()
1278 if (ct_buf == NULL) { in gcm_mode_encrypt_contiguous_blocks_avx()
1306 datap, ct_buf, chunk_size, key, cb, htable, ghash); in gcm_mode_encrypt_contiguous_blocks_avx()
1314 rv = crypto_put_output_data(ct_buf, out, chunk_size); in gcm_mode_encrypt_contiguous_blocks_avx()
1329 done = encrypt_blocks(datap, ct_buf, bleft, key, cb, htable, in gcm_mode_encrypt_contiguous_blocks_avx()
1335 rv = crypto_put_output_data(ct_buf, out, done); in gcm_mode_encrypt_contiguous_blocks_avx()
1373 if (ct_buf != NULL) { in gcm_mode_encrypt_contiguous_blocks_avx()
1374 vmem_free(ct_buf, chunk_size); in gcm_mode_encrypt_contiguous_blocks_avx()
/freebsd/crypto/openssl/providers/fips/
H A Dself_test_kats.c102 unsigned char ct_buf[256] = { 0 }; in self_test_cipher() local
117 || !EVP_CipherUpdate(ctx, ct_buf, &len, t->base.pt, in self_test_cipher()
119 || !EVP_CipherFinal_ex(ctx, ct_buf + len, &ct_len)) in self_test_cipher()
122 OSSL_SELF_TEST_oncorrupt_byte(st, ct_buf); in self_test_cipher()
125 || memcmp(t->base.expected, ct_buf, ct_len) != 0) in self_test_cipher()