Searched refs:cdat (Results 1 – 2 of 2) sorted by relevance
493 CIPHER_DATA *cdat; in cipher_test_init() local504 cdat = OPENSSL_zalloc(sizeof(*cdat)); in cipher_test_init()505 cdat->cipher = cipher; in cipher_test_init()506 cdat->enc = -1; in cipher_test_init()511 cdat->aead = m; in cipher_test_init()513 cdat->aead = -1; in cipher_test_init()515 cdat->aead = 0; in cipher_test_init()517 t->data = cdat; in cipher_test_init()523 CIPHER_DATA *cdat = t->data; in cipher_test_cleanup() local525 OPENSSL_free(cdat->key); in cipher_test_cleanup()[all …]
552 CIPHER_DATA *cdat; in cipher_test_init() local576 if (!TEST_ptr(cdat = OPENSSL_zalloc(sizeof(*cdat)))) in cipher_test_init()579 cdat->cipher = cipher; in cipher_test_init()580 cdat->fetched_cipher = fetched_cipher; in cipher_test_init()581 cdat->enc = -1; in cipher_test_init()584 cdat->aead = m != 0 ? m : -1; in cipher_test_init()586 cdat->aead = 0; in cipher_test_init()588 t->data = cdat; in cipher_test_init()597 CIPHER_DATA *cdat = t->data; in cipher_test_cleanup() local599 OPENSSL_free(cdat->key); in cipher_test_cleanup()[all …]