Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Devp_test.c493 CIPHER_DATA *cdat; in cipher_test_init() local
504 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() local
525 OPENSSL_free(cdat->key); in cipher_test_cleanup()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Devp_test.c552 CIPHER_DATA *cdat; in cipher_test_init() local
576 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() local
599 OPENSSL_free(cdat->key); in cipher_test_cleanup()
[all …]