From a5ab1620f4fcd01306c82789f60975d646c1fad4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 7 Dec 2011 02:33:11 +0100 Subject: auth_core: add functions for parsing algorithm names --- include/osmocom/crypt/auth.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/osmocom/crypt/auth.h b/include/osmocom/crypt/auth.h index 12690f84..23e104c1 100644 --- a/include/osmocom/crypt/auth.h +++ b/include/osmocom/crypt/auth.h @@ -84,4 +84,7 @@ int osmo_auth_load(const char *path); int osmo_auth_supported(enum osmo_auth_algo algo); +const char *osmo_auth_alg_name(enum osmo_auth_algo alg); +enum osmo_auth_algo osmo_auth_alg_parse(const char *name); + #endif /* _OSMOCRYPTO_AUTH_H */ -- cgit v1.2.3