Lines Matching defs:algos
1461 static int algos[] = {
1509 for (i = 0; algos[i]; i++)
1511 if (gcry_cipher_test_algo (algos[i]) && in_fips_mode)
1515 algos[i]);
1520 gcry_cipher_algo_name (algos[i]),
1521 gcry_cipher_map_name (gcry_cipher_algo_name (algos[i])));
1523 check_one_cipher (algos[i], GCRY_CIPHER_MODE_ECB, 0);
1524 check_one_cipher (algos[i], GCRY_CIPHER_MODE_CFB, 0);
1525 check_one_cipher (algos[i], GCRY_CIPHER_MODE_OFB, 0);
1526 check_one_cipher (algos[i], GCRY_CIPHER_MODE_CBC, 0);
1527 check_one_cipher (algos[i], GCRY_CIPHER_MODE_CBC, GCRY_CIPHER_CBC_CTS);
1528 check_one_cipher (algos[i], GCRY_CIPHER_MODE_CTR, 0);
1533 if (gcry_cipher_test_algo (algos[i]) && in_fips_mode)
1537 algos[i]);
1636 static struct algos
1641 } algos[] =
1866 for (i = 0; algos[i].md; i++)
1868 if ((gcry_md_test_algo (algos[i].md) || algos[i].md == GCRY_MD_MD5)
1873 algos[i].md);
1878 gcry_md_algo_name (algos[i].md),
1879 algos[i].md,
1880 !strcmp (algos[i].data, "!")?
1881 1000000 : strlen(algos[i].data));
1883 check_one_md (algos[i].md, algos[i].data, strlen (algos[i].data),
1884 algos[i].expect);
1950 static struct algos
1956 } algos[] =
2236 for (i = 0; algos[i].md; i++)
2238 if ((gcry_md_test_algo (algos[i].md) || algos[i].md == GCRY_MD_MD5)
2243 algos[i].md);
2249 gcry_md_algo_name (algos[i].md),
2250 algos[i].md,
2251 strlen(algos[i].key), strlen(algos[i].data));
2253 check_one_hmac (algos[i].md, algos[i].data, strlen (algos[i].data),
2254 algos[i].key, strlen(algos[i].key),
2255 algos[i].expect);