commit | a5ab1620f4fcd01306c82789f60975d646c1fad4 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Wed Dec 07 02:33:11 2011 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Dec 07 02:33:11 2011 +0100 |
tree | 0b489ba3d7821b041b00b4e11009387b56bbca12 | |
parent | 5c6032393bb997c9ca15378c13e0045a839cf53f [diff] |
auth_core: add functions for parsing algorithm names
diff --git a/include/osmocom/crypt/auth.h b/include/osmocom/crypt/auth.h index 12690f8..23e104c 100644 --- a/include/osmocom/crypt/auth.h +++ b/include/osmocom/crypt/auth.h
@@ -84,4 +84,7 @@ 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 */