Merge tag 'selinux-pr-20210629' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / include / crypto / algapi.h
index 86f0748009af3d0bbdc2d1de172f6d743484c61b..5f6841c73e5a753d58bc17ff33a437ae2b12b486 100644 (file)
@@ -96,6 +96,15 @@ struct scatter_walk {
        unsigned int offset;
 };
 
+struct crypto_attr_alg {
+       char name[CRYPTO_MAX_ALG_NAME];
+};
+
+struct crypto_attr_type {
+       u32 type;
+       u32 mask;
+};
+
 void crypto_mod_put(struct crypto_alg *alg);
 
 int crypto_register_template(struct crypto_template *tmpl);
@@ -118,7 +127,6 @@ void *crypto_spawn_tfm2(struct crypto_spawn *spawn);
 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb);
 int crypto_check_attr_type(struct rtattr **tb, u32 type, u32 *mask_ret);
 const char *crypto_attr_alg_name(struct rtattr *rta);
-int crypto_attr_u32(struct rtattr *rta, u32 *num);
 int crypto_inst_setname(struct crypto_instance *inst, const char *name,
                        struct crypto_alg *alg);