Home
last modified time | relevance | path

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

/src/crypto/openssl/ssl/quic/
H A Dquic_port.c1116 unsigned char ct_buf[ENCRYPTED_TOKEN_MAX_LEN]; in port_send_retry() local
1150 || !encrypt_validation_token(port, buffer, token_buf_len, ct_buf, in port_send_retry()
1160 hdr.data = ct_buf; in port_send_retry()
1164 ct_buf + ct_len in port_send_retry()
1433 unsigned char *ct_buf; in generate_new_token() local
1441 ct_buf = OPENSSL_zalloc(ENCRYPTED_TOKEN_MAX_LEN); in generate_new_token()
1442 if (ct_buf == NULL) in generate_new_token()
1453 OPENSSL_free(ct_buf); in generate_new_token()
1464 || !encrypt_validation_token(ch->port, buffer, token_buf_len, ct_buf, in generate_new_token()
1467 OPENSSL_free(ct_buf); in generate_new_token()
[all …]
/src/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c1253 uint8_t *ct_buf = NULL; in gcm_mode_encrypt_contiguous_blocks_avx() local
1287 ct_buf = vmem_alloc(chunk_size, KM_SLEEP); in gcm_mode_encrypt_contiguous_blocks_avx()
1288 if (ct_buf == NULL) { in gcm_mode_encrypt_contiguous_blocks_avx()
1316 datap, ct_buf, chunk_size, key, cb, htable, ghash); in gcm_mode_encrypt_contiguous_blocks_avx()
1324 rv = crypto_put_output_data(ct_buf, out, chunk_size); in gcm_mode_encrypt_contiguous_blocks_avx()
1339 done = encrypt_blocks(datap, ct_buf, bleft, key, cb, htable, in gcm_mode_encrypt_contiguous_blocks_avx()
1345 rv = crypto_put_output_data(ct_buf, out, done); in gcm_mode_encrypt_contiguous_blocks_avx()
1383 if (ct_buf != NULL) { in gcm_mode_encrypt_contiguous_blocks_avx()
1384 vmem_free(ct_buf, chunk_size); in gcm_mode_encrypt_contiguous_blocks_avx()
/src/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()