2 #include "nettle-meta.h"
4 const char* ciphers
[] = {
29 int count
= sizeof(ciphers
)/sizeof(*ciphers
);
30 for (i
= 0; i
< count
; i
++) {
31 for (j
= 0; NULL
!= nettle_ciphers
[j
]; j
++) {
32 if (0 == strcmp(ciphers
[i
], nettle_ciphers
[j
]->name
))
35 ASSERT(NULL
!= nettle_ciphers
[j
]); /* make sure we found a matching cipher */
38 while (NULL
!= nettle_ciphers
[j
])
40 ASSERT(j
== count
); /* we are not missing testing any ciphers */