From 7ff899a2d3c8dd2a5dfc3fd47b8aaac926465c71 Mon Sep 17 00:00:00 2001 From: Tennessee Carmel-Veilleux Date: Thu, 19 May 2022 16:03:47 -0400 Subject: [PATCH] Update src/crypto/CHIPCryptoPAL.h Co-authored-by: Boris Zbarsky --- src/crypto/CHIPCryptoPAL.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/CHIPCryptoPAL.h b/src/crypto/CHIPCryptoPAL.h index f5fbb2bb3426a7..d89c42af6e9d52 100644 --- a/src/crypto/CHIPCryptoPAL.h +++ b/src/crypto/CHIPCryptoPAL.h @@ -630,7 +630,7 @@ CHIP_ERROR AES_CCM_decrypt(const uint8_t * ciphertext, size_t ciphertext_length, * be configured to ignore CSR requested subject. * * @param keypair The key pair for which a CSR should be generated. Must not be null. - * @param csr_span Span to hold the resulting CSR. Must be at least kMAX_CSR_Length other returns CHIP_ERROR_BUFFER_TOO_SMALL. + * @param csr_span Span to hold the resulting CSR. Must be at least kMAX_CSR_Length. Otherwise returns CHIP_ERROR_BUFFER_TOO_SMALL. * It will get resized to actual size needed on success. * @return Returns a CHIP_ERROR from P256Keypair or ASN.1 backend on error, CHIP_NO_ERROR otherwise