Repository navigation
Commit 177f87d
crypto: algapi - require cra_name and cra_driver_name
Now that all algorithms explicitly set cra_driver_name, make it required
for algorithm registration and remove the code that generated a default
cra_driver_name.
Also add an explicit check that cra_name is set too, since that's
obviously required too, yet it didn't seem to be checked anywhere.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>1 parent d6ebf52 commit 177f87d
1 file changed
Lines changed: 4 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 29 | | |
47 | 30 | | |
48 | 31 | | |
| |||
54 | 37 | | |
55 | 38 | | |
56 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
57 | 43 | | |
58 | 44 | | |
59 | 45 | | |
| |||
79 | 65 | | |
80 | 66 | | |
81 | 67 | | |
82 | | - | |
| 68 | + | |
83 | 69 | | |
84 | 70 | | |
85 | 71 | | |
| |||
0 commit comments