Loading crypto/algapi.c +6 −0 Original line number Diff line number Diff line Loading @@ -964,6 +964,12 @@ void crypto_xor(u8 *dst, const u8 *src, unsigned int size) } EXPORT_SYMBOL_GPL(crypto_xor); unsigned int crypto_alg_extsize(struct crypto_alg *alg) { return alg->cra_ctxsize; } EXPORT_SYMBOL_GPL(crypto_alg_extsize); static int __init crypto_algapi_init(void) { crypto_init_proc(); Loading crypto/internal.h +2 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,8 @@ int crypto_register_notifier(struct notifier_block *nb); int crypto_unregister_notifier(struct notifier_block *nb); int crypto_probing_notify(unsigned long val, void *v); unsigned int crypto_alg_extsize(struct crypto_alg *alg); static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) { atomic_inc(&alg->cra_refcnt); Loading Loading
crypto/algapi.c +6 −0 Original line number Diff line number Diff line Loading @@ -964,6 +964,12 @@ void crypto_xor(u8 *dst, const u8 *src, unsigned int size) } EXPORT_SYMBOL_GPL(crypto_xor); unsigned int crypto_alg_extsize(struct crypto_alg *alg) { return alg->cra_ctxsize; } EXPORT_SYMBOL_GPL(crypto_alg_extsize); static int __init crypto_algapi_init(void) { crypto_init_proc(); Loading
crypto/internal.h +2 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,8 @@ int crypto_register_notifier(struct notifier_block *nb); int crypto_unregister_notifier(struct notifier_block *nb); int crypto_probing_notify(unsigned long val, void *v); unsigned int crypto_alg_extsize(struct crypto_alg *alg); static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) { atomic_inc(&alg->cra_refcnt); Loading