Skip to content
Snippets Groups Projects

Use eapversion instead of gre version to differentiate SRP

Merged Gijs Peskens requested to merge development into master
25 files
+ 873
657
Compare changes
  • Side-by-side
  • Inline
Files
25
+ 2
2
@@ -218,10 +218,10 @@ int linux_crypto_set_key(const uint8_t *key, int keylen, struct linux_crypto *ct
return 0;
}
int linux_crypto_decrypt(uint8_t inbuf[], uint8_t outbuf[], int buflen, uint8_t iv[], struct linux_crypto *ctx) {
int linux_crypto_decrypt(const uint8_t inbuf[], uint8_t outbuf[], int buflen, uint8_t iv[], struct linux_crypto *ctx) {
return _linux_crypto_process(ctx, inbuf, buflen, outbuf, buflen, 0, iv, 0);
}
int linux_crypto_encrypt(uint8_t inbuf[], uint8_t outbuf[], int buflen, uint8_t iv[], struct linux_crypto *ctx) {
int linux_crypto_encrypt(const uint8_t inbuf[], uint8_t outbuf[], int buflen, uint8_t iv[], struct linux_crypto *ctx) {
return _linux_crypto_process(ctx, inbuf, buflen, outbuf, buflen, 1, iv, 0);
}
Loading