Searched refs:ct_buf (Results 1 – 2 of 2) sorted by relevance
| /freebsd-14.2/sys/contrib/openzfs/module/icp/algs/modes/ |
| H A D | gcm.c | 1151 uint8_t *ct_buf = NULL; in gcm_mode_encrypt_contiguous_blocks_avx() local 1185 ct_buf = vmem_alloc(chunk_size, KM_SLEEP); in gcm_mode_encrypt_contiguous_blocks_avx() 1186 if (ct_buf == NULL) { in gcm_mode_encrypt_contiguous_blocks_avx() 1214 datap, ct_buf, chunk_size, key, cb, ghash); in gcm_mode_encrypt_contiguous_blocks_avx() 1222 rv = crypto_put_output_data(ct_buf, out, chunk_size); in gcm_mode_encrypt_contiguous_blocks_avx() 1237 done = aesni_gcm_encrypt(datap, ct_buf, bleft, key, cb, ghash); in gcm_mode_encrypt_contiguous_blocks_avx() 1242 rv = crypto_put_output_data(ct_buf, out, done); in gcm_mode_encrypt_contiguous_blocks_avx() 1280 if (ct_buf != NULL) { in gcm_mode_encrypt_contiguous_blocks_avx() 1281 vmem_free(ct_buf, chunk_size); in gcm_mode_encrypt_contiguous_blocks_avx()
|
| /freebsd-14.2/crypto/openssl/providers/fips/ |
| H A D | self_test_kats.c | 91 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()
|