Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c1098 uint8_t *ct_buf = NULL; in gcm_mode_encrypt_contiguous_blocks_avx() local
1132 ct_buf = vmem_alloc(chunk_size, KM_SLEEP); in gcm_mode_encrypt_contiguous_blocks_avx()
1133 if (ct_buf == NULL) { in gcm_mode_encrypt_contiguous_blocks_avx()
1161 datap, ct_buf, chunk_size, key, cb, ghash); in gcm_mode_encrypt_contiguous_blocks_avx()
1169 rv = crypto_put_output_data(ct_buf, out, chunk_size); in gcm_mode_encrypt_contiguous_blocks_avx()
1184 done = aesni_gcm_encrypt(datap, ct_buf, bleft, key, cb, ghash); in gcm_mode_encrypt_contiguous_blocks_avx()
1189 rv = crypto_put_output_data(ct_buf, out, done); in gcm_mode_encrypt_contiguous_blocks_avx()
1227 if (ct_buf != NULL) { in gcm_mode_encrypt_contiguous_blocks_avx()
1228 vmem_free(ct_buf, chunk_size); in gcm_mode_encrypt_contiguous_blocks_avx()
/freebsd/crypto/openssl/providers/fips/
H A Dself_test_kats.c91 unsigned char ct_buf[256] = { 0 }; in self_test_cipher() local
106 || !EVP_CipherUpdate(ctx, ct_buf, &len, t->base.pt, in self_test_cipher()
108 || !EVP_CipherFinal_ex(ctx, ct_buf + len, &ct_len)) in self_test_cipher()
111 OSSL_SELF_TEST_oncorrupt_byte(st, ct_buf); in self_test_cipher()
114 || memcmp(t->base.expected, ct_buf, ct_len) != 0) in self_test_cipher()