diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-12-07 02:33:11 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-12-07 02:33:11 +0100 |
commit | a5ab1620f4fcd01306c82789f60975d646c1fad4 (patch) | |
tree | 0b489ba3d7821b041b00b4e11009387b56bbca12 /include | |
parent | 5c6032393bb997c9ca15378c13e0045a839cf53f (diff) |
auth_core: add functions for parsing algorithm names
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/crypt/auth.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |