merge develop, no working yet

This commit is contained in:
Laurent THOMAS
2021-11-04 12:53:01 +01:00
83 changed files with 3508 additions and 759 deletions
+2
View File
@@ -121,6 +121,8 @@ int nr_derive_key(algorithm_type_dist_t alg_type, uint8_t alg_id,
string[6] = 0x01;
kdf(string, 7, key, 32, out, 32);
// in NR, we use the last 16 bytes, ignoring the first 16 ones
memcpy(*out, *out+16, 16);
return 0;
}