19.11.2013 12:16, Peter Stuge пишет:
Since this is a public API I don't know if the old function can be removed.
I thought public api is in auth_comp128* e. g. osmo_auth_gen_vec() - see
tests/comp128_test.c for usage examples. And functions like comp128v*() are internal
implementation details.
+int
comp128v3(const uint8_t *ki, const uint8_t *rand, uint8_t *sres, uint8_t *kc);
+int comp128v3(const uint8_t *ki, const uint8_t *rand, uint8_t *sres, uint8_t *kc);
Copypaste error here. I think it's nice to add two new functions, but
probably the old one needs to stay there.
Fixed, thank you.
--
best regards,
Max,
http://fairwaves.ru