Searched refs:drbg_algs (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/crypto/
H A Ddrbg.c1885 static struct crypto_alg drbg_algs[22]; variable in typeref:struct:crypto_alg
1888 * Fill the array drbg_algs used to register the different DRBGs
1933 unsigned int i = 0; /* pointer to drbg_algs */ drbg_init()
1941 if (ARRAY_SIZE(drbg_cores) * 2 > ARRAY_SIZE(drbg_algs)) { drbg_init()
1944 ARRAY_SIZE(drbg_cores) * 2, ARRAY_SIZE(drbg_algs)); drbg_init()
1952 * As the order of placing them into the drbg_algs array matters drbg_init()
1958 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 1); drbg_init()
1960 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 0); drbg_init()
1961 return crypto_register_algs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); drbg_init()
1966 crypto_unregister_algs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); drbg_exit()

Completed in 37 milliseconds