apache-mynewt-bot commented on issue #2184: crypto/mbedtls: Enable AES and 
SECP256R1
URL: https://github.com/apache/mynewt-core/pull/2184#issuecomment-590597959
 
 
   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is 
[here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### hw/drivers/trng/trng_da1469x/src/trng_da1469x.c
   <details>
   
   ```diff
   @@ -109,14 +109,15 @@
    
    #ifdef MBEDTLS_ENTROPY_HARDWARE_ALT
    int
   -mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, size_t 
*olen) {
   +mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, size_t 
*olen)
   +{
        struct trng_dev *trng;
        int ret;
    
        trng = (struct trng_dev *)os_dev_lookup("trng");
        da1469x_trng_init((struct os_dev *)trng, NULL);
        ret = da1469x_trng_read(trng, output, len);
   -    if ( ret == len ) {
   +    if (ret == len) {
            *olen = len;
        } else {
            *olen = 0;
   ```
   
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to