Searched hist:"63 cc49d0aa431848e91a9322b52f4484312dce43" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/drivers/auth/mbedtls/ |
| H A D | mbedtls_x509_parser.c | 63cc49d0aa431848e91a9322b52f4484312dce43 Thu Dec 08 20:24:23 UTC 2022 Demi Marie Obenour <demiobenour@gmail.com> refactor(auth): avoid parsing signature algorithm twice
Since the two instances of the signature algorithm in a certificate must be bitwise identical, it is not necessary to parse both of them. Instead, it suffices to parse one of them, and then check that the other fits in the remaining buffer space and is equal to the first.
Change-Id: Id0a0663165f147879ac83b6a540378fd4873b0dd Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
|