Bring contents of lib up to date with current FD-:master RPiPlay

the plist library is removed (the Linux distributions version will be used)
(libplist 2.0)

the library llhttp v 6.0.2 is added to replace http_parser

The curve25519 and ed25519 libraries are removed, and replaced with their
OpenSSL 1.1.1 implementations

crypto is updated
This commit is contained in:
fduncanh
2021-07-31 19:29:58 -04:00
parent 6a473d6026
commit 623b638357
67 changed files with 16498 additions and 15862 deletions

View File

@@ -23,6 +23,7 @@
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <inttypes.h>
//#define DUMP_KEI_IV
struct mirror_buffer_s {
@@ -52,8 +53,8 @@ mirror_buffer_init_aes(mirror_buffer_t *mirror_buffer, uint64_t streamConnection
char* siv = "AirPlayStreamIV";
unsigned char skeyall[255];
unsigned char sivall[255];
sprintf((char*) skeyall, "%s%llu", skey, streamConnectionID);
sprintf((char*) sivall, "%s%llu", siv, streamConnectionID);
sprintf((char*) skeyall, "%s%" PRIu64, skey, streamConnectionID);
sprintf((char*) sivall, "%s%" PRIu64, siv, streamConnectionID);
sha_reset(ctx);
sha_update(ctx, skeyall, strlen((char*) skeyall));
sha_update(ctx, eaeskey, 16);